Posted December 01, 2024 by Ximo
Yesterday I spent quite some time trying to setup the viewport and scaling. The base resolution in 125x100 which is too small so I wanted to keep it but scale the window 4x. Also the viewport is needed because for the GUI elements.
I couldn’t make it work so today I worked on the physics, collisions, etc. In the original game I was using movement based on tiles but in Godot I can leverage the collision layer in tileset. I also used collision detection to figure out when the character can interact with objects.
I’ve added a small subset of the objects to the game so the first 2 levels are now playable. Adding objects requires importing the frames in to Godot and creating a new animation so I’m adding them bit a bit.