Activity

Ehab

Devlog #3

I fixed collisions and added a whole lot of elements onto the map. It was a tiring process and took much longer than I thought. If anyone here can give some advice on how to efficiently add so many nodes on the game scene please let me know. For the ones I had to use many times, I created a scene and then connected it to the main scene, while the ones I had to use 1-2 times: I simply added it onto the game scene. But…
after ALL that work I made a mistake (kind of). I added the StaticBody2Ds as a child of the Sprite2Ds, it was supposed to be the opposite. So far, it works fine but won’t repeat that mistake again.

(I will add a handful more elements and fix some of their locations later. I’ve already spent way too much time 😭)

Attachment
0
Ehab

I missed a development day but this is Dev Log #2
I added cars, a rather important feature in a game about dodging cars. Simply put, you need to make the car go left, and add Markers in the edges of the map which is where they will spawn. With some GDScript magic, cars will go left if they spawn right and right if they spawn left. I’ve also noted that print() statements are highly efficient in checking whether gameplay mechanics work (Does a collision register if I go inside this car? Wish I’d have some more examples but the best cases are for collisions so far!)

Masks and layers are also really important. Simple but will take some time to get used to. Everything collides like a charm and before signing off I added delta to the player movement for potato PCS to handle the insane FPS.

1

Comments

chefpenguino
chefpenguino 28 days ago

i love the sprites, they look v nice :)

Ehab

I uploaded this project a bit late. But here’s the plan: A frogger-type game with some extra mechanics. So far I have added the map (and map borders), collisions, a working camera to follow the player and scripted player movement and animations. There were some bugs with the hackatime which took quite some time to fix (so it shows 37 minutes but really this took an hour). Progress is good and I’m learning alot 😁

Minor bug: There’s a bit of the v̵̘͈̭̉̏͆̆ȏ̴͇̯͉̃̆ȉ̴̦̝͖͝d̵̢̓̄͐̋̀̚͠ which can be seen in the bottom of the map which I’m working on fixing. I basically have to limit the camera at that point.

0