Commit graph

8 commits

Author SHA1 Message Date
f0d60c6882 Update to newer Godot and switch to using floats instead of doubles. 2024-05-04 13:20:03 -07:00
65ef70f583 the enemy can now see when the screen is adjusted.
the scaling manager now controls when the various objects are active so stuff won't be null because of stuff running too fast or slow.
2023-06-02 17:15:44 -07:00
8072cf4961 the enemy can now scale to the resolution.
i made a BasePaddle class so i can put commonly used fields in a base class. this means i made a new plugin called CustomTypes which contains both Base classes.
2023-05-23 21:48:30 -07:00
3e61187065 add an .editorconfig.
and i also added some events for when i want the ball and enemy paddle to move.
2023-05-23 10:38:40 -07:00
604d79e654 the paddle can now scale to the resolution
i added a GameArea class which makes it easier to operate on in coordinates bounds with the GameCoordinate struct wrapper which does calculations for me. the GameArea class also has a normalization system which is how the ScalingManager can teleport items in bounds to relatively the same place when resized.

it took quite a while to get the paddle to teleport. looks like im supposed to modify the position inside IntegrateForces instead of PhysicsProcess which is my mistake.
2023-05-23 00:21:54 -07:00
7bae1587d2 add a scene wide scaling manager.
this is so i can scale all the objects to the proper positions and scales when the resolution changes.
2023-05-22 10:41:56 -07:00
8ab2f09e62 optimize memory allocations
i made the allocations of objects go down a lot. which is cool :3!
2023-05-21 18:19:05 -07:00
425bf2ad27 make a settings menu and general refactoring
i added more to the main menu, as it has a settings menu now, that stores its files with json. i also changed the font to atkinson hyperlegible and made a BaseMenu class that takes care of the screen scaling for menus.

i also refactored the project folder structure to make it more organized.
2023-05-20 21:42:38 -07:00
Renamed from Scripts/Nodes/Paddle.cs (Browse further)