🎉 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 Challenge - Update #2

posted in kseh's blog for project One Day
Published November 03, 2018
Advertisement

This week, I've been able to get together a splash animation that you see when the frog jumps into water. I've also tried using it but modulated red for when a frog hits a car but it's difficult to notice. It's fine for a placeholder for the time being though and the animations do the job of taking place when the frog hits a hazard.

I also have a basic car sprite to use (the scale of things in this game just isn't a concern, is it?) and I've gotten them traveling across the screen in their intended respective directions on the roads. In the course of debugging I had a couple cars go wildly off track. I think it'd be interesting if a car occasionally went careening off the road, possibly crashing into a tree or water somewhere. It'd be an interesting hazard to watch out for.

What I'm particularly happy with this week is a bit of traffic control logic that so far seems to be making for an effective stop light. (Sorry no video). There is the potential at the moment for cars to get stuck on each other when one stops just a bit too far into the intersection. With the test I've been running it clears itself up but I don't think I can count on that so I'll be clearing that up next chance I get.

image.png.92ec9b389b4a1e75c50813cd880d0cdc.png

So far, the cars have just been starting from a default point that I set on level load. What I really need to sort out soon is something that will spawn the cars. I am wondering also about frequency of the cars and how closely they follow each other and how this relates to when they're stopped. As cool as I think my traffic control stuff is and also having this free range approach to the level, I see the potential to end up with something where it's either way too easy to cross the street or it's completely impossible.

3 likes 0 comments

Comments

supermikhail

I guess your bent on the challenge is more AI-oriented. Could be really interesting.

November 04, 2018 07:50 AM
Awoken

I'm looking forward to playing :D 

November 05, 2018 03:59 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement