Commit graph

5 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
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
41f7e7b1a0 the walls can now scale to the resolution
but the paddles and score text stay where they are. i plan on adding the paddles and score text moving later.
2023-05-21 19:41:48 -07:00
02c5b90415 make a basic prototype for a scene.
right now theres just a moving ball, inside a box, with a working paddle. i had to make the ball kinematic and tell the ball to bounce when it hits the other direction.
2023-05-16 23:15:31 -07:00