25 Commits

Author SHA1 Message Date
22b6023849 Code cleanup 2022-11-16 23:13:33 +01:00
d8c60fbf41 Add water in a slightly hacky way 2021-06-28 20:00:10 +02:00
24ccf0ddbe Minor code cleanup 2021-06-28 12:39:56 +02:00
7a96f549ff Make ShootyEnemy cycle between targets by velocity 2021-06-28 12:00:46 +02:00
3bb4ed31e6 Add switch to velocity-based movement 2021-06-24 13:48:28 +02:00
15b8a20493 Add joystick input 2021-06-24 13:34:25 +02:00
0f90dd61f2 Fix moving platform behavior
It seems like when you pass an up_vector to move_and_slide, that handles moving platforms for you! Although not 100% correctly...

The manual implementation was added again without an up_vector and that seems to work perfectly now.
2021-06-19 01:11:16 +02:00
62956d8d7d Make MovingPlatform also use planet-only gravity
also made it a bit larger
2021-06-16 20:58:12 +02:00
78db1629b5 Lerp between planet-only and total gravity 2021-06-16 20:53:33 +02:00
596f4ddbc5 Some cleanup in Player 2021-06-16 20:41:26 +02:00
725c717446 Fix sliding while on planet by getting closest gravity 2021-06-16 20:33:24 +02:00
1d0935e688 Change player mesh so you can tell which direction they're facing 2021-06-07 23:29:35 +02:00
c4e71b27c3 Make camera follow player by lerping towards their transform 2021-06-07 23:16:02 +02:00
a9d2afa576 Minor graphics tweaks 2021-06-07 20:15:54 +02:00
b04868f8f4 Improve planet textures; add flowmaps
Flowmaps inspired by this tutorial: https://www.youtube.com/watch?v=KfphtLRoUB0
2021-06-07 20:04:03 +02:00
79c935a62f Enemy bullets deflect off of surfaces 2021-06-07 19:20:38 +02:00
825bc032da Attempt at making grounded movement work well 2021-06-07 19:02:24 +02:00
5f17289426 Add galilean relativity to shooty enemy 2021-06-07 19:02:13 +02:00
219c8731f5 Add shooting enemy which shoots at future player pos
Works fairly well, although it doesn't account for changing acceleration which happens due to the changing gravity. I guess this is good enough, since it does hit if the player isn't careful
2021-06-07 16:41:56 +02:00
9401fc9c97 Implement standing on moving platform
This worked immediately, wtf
2021-05-05 23:55:31 +02:00
36ba889eeb Add a moving platform
No player velocity handling etc yet, just a moving platform
2021-05-05 19:59:58 +02:00
6d0da014df Add support for multiple planets 2021-04-22 23:40:01 +02:00
9eb34b431a Make gravity variable, add procedural planet texture 2021-03-31 17:05:08 +02:00
926684ca7a Movement around planet works 2021-03-25 21:47:37 +01:00
987955704b First exercise done 2021-03-18 12:05:41 +01:00