Godot-GameTemplate icon indicating copy to clipboard operation
Godot-GameTemplate copied to clipboard

Update for Godot 4.3

Open markim opened this issue 1 year ago • 0 comments

Hello,

I spent a little time converting the old project from godot 3 to godot 4. As far as I know, all the items are mostly working the way the original project did. I was using Godot 4.3 Beta 3 at the time of upgrading.

There may be some small unfound bugs or hangups, but this is my new starting point that I'm using for my future projects. Feel free to clone my changes and have this be the new foundation for a v4 branch or something.

This was mostly fixing new GDscript syntaxes, like update tween syntax, using new await properly, fixing the signal connections, gdscript typing syntax changes, updated method names, and also stuff like the new video changes for godot, since it can handle multiple windows.

Other small things I fixed:

  • Updated the resolution to be 1080p, starts with base resolution of 480p and does the scaling there (1-4x available)
  • Hide scaling options on web
  • Changed translation page to use a grid instead of hbox
  • made sure resource loader works for single/multi threaded (web uses single threaded to start now for 4.3 for fixing audio bugs IIRC https://godotengine.org/article/progress-report-web-export-in-4-3/)
  • edit the font sizes to match the pixellocale font (9px or 18px in components)
  • Added gitlab .gitlab-ci.yml for a CI/CD to build/deploy from gitlab pipelins (we should add one for github too)

Things that need to be fixed:

  • Gather better input button / joy axis names on rebind screen
  • Add which window you're using on video settings page

No worries if you don't end up using it! Just thought I would share.

Let me know if you need help with anything! Thanks again for making such a great starter template for gamedev using Godot :)

markim avatar Jul 19 '24 16:07 markim