🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Frogger - birds

Published October 27, 2018
Advertisement

Been a bit slow on the progress front past few days, maybe because I was making more assets which is slow - lily pad, snake and bird. These are now in the game although I haven't put in sound effects yet. I need to re-export the snake because it has lost the motion of the root node which is why the slithering looks super silly lol.

 

Today I've been starting to put in some basic functionality for creatures that are not on rails, first one being the bird. The AI is pretty simple at the moment but it looks passable, they just try to get at you and peck, although the peck does nothing yet. I was thinking about maybe having the peck reduce health rather than be an insta kill, or do something like freeze you or move you off path so you are more likely to get hit by something else. There is collision detection between the birds but not with the traffic etc, as I can see it getting expensive in gdscript, I might have the free moving creatures on specific maps on their own.

I also have done some clever jiggery pokery with the fixed timestep. The frog and input are now working at 60 ticks per second, and everything else at 10 ticks per second. I was previously running everything at 30tps, however this is a waste once you start having AI creatures, 10 is fine for them, and 60tps gives nice responsive keyboard input for the player.

5 likes 0 comments

Comments

Rutin

Good work. I like the flying birds. :)

Nice job splitting up your tick rates. ;)

October 27, 2018 04:43 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement