Help on designing endless driving game

Moved to a different topic because I think it was in the wrong one

Going about wanting to make a game similar to Car Hazard. Car Hazard sits you in a 2D dashboard of a car while driving to a place you care about while hitchhiking up people along the way.

My envision of my idea would be a "vibe [insert something edgy here] type of game, however, it’d be an endless loop of roads, terrain and nothing but open, barren, wastelands. If you take a look at the gameplay of it, again, it has you sitting in the drivers seat with the steering wheel in sight in an FPS style.

My main concern is getting the camera to be looking forward & making the “car.” (and maybe being able to look around the cabin) The best comparison you could give it, is CarHazard.

Any suggestions for designing this car-cabin would be greatly appreciated. Hope this post is clear enough for my intentions!

EDIT: I should’ve added that I’d want the player to be able to spawn inside this 2D car-dashboard and steering wheel via a play button (already know how to code this play button, however the spawning in of the 2D view would be difficult)
Here’s a picture of Car Hazard as reference:

1 Like

This is quite advanced, especially if it’s exactly how you want it. What I recommend doing is that you continue learning or hire someone to do it. Also, keep in mind that you are not allowed to ask for whole scripts, which is technically what you did.
Have a nice day,
Theyoloman1920

Ah ok, my apologies. All I’m really looking for is just terrain moving endlessly but I understand the constructive criticism
Best regards
Catalinadog

1 Like

Oh, I didn’t understand that this is what you wanted, sorry.

This is the way I would approach this:

I wouldn’t make the car move, but the environment would move.

I would create a road block, and I would duplicate it and delete it, depending on the player’s view (if a road part is behind the player I would delete it, but if it was infront I would duplicate it)

I would also lock the camera on a part, you can do this easily. Just watch this tutorial:

Here comes the tricky part, moving the terrain. How would you do this? I don’t really know… There are a lot of settings I found about terrain in the Dev Hub, but there was nothing mentioning moving terrain… Maybe you need to make a new post asking for help on this one.

Hope that helped,
Theyoloman1920

1 Like

Thank u so much and it’s ok, people tend to misunderstand me a lot

But yes, I am trying to mainly figure out how to move the environment. I figured it was something with cameras and such, but I’ll definitely give it more research

Thanks again!
Catalinadog

1 Like