Took me all day to make it drive. Without the trailer. 6 wheels working. Will tackle the trailer solution tomorrow.
Game logic should go quick once i get to grips with the vehicle stuff. Have to fake 2 wheels. Trailer is gonna be interesting
Progress has been very slow. For hours i troubleshooted some issue with the friction not working correctly. Its an on/off affair. Due to not wanting to spend more than 5 days with this excluding the days it took me to learn how to make vehicles i decided to move on.
Took me some time to get the basics done.
Truck is controlling itself, always aiming fwd depending which lane it is in. For example in the left lane it moves fwd in the left lane, if in the right lane it moves fwd in the right lane.
Touch the screen and it changes lanes.
Road segments are deleted behind you as to not waste resources, and then new segments are spawned in the front.
When a road segment is spawned it randomizes the locations of objects like rocks and plants. Basic scenery only.
The next step is to create other cars on the road that you need to avoid.
Then implement what happens if you crash into them and also those cars AI. Based on which direction they are going. And they also need to avoid other cars.
Once that is done the rest should be a walk in the park.
Will upload a video once i reached the next milestone.
Didnt get to finish today. Completely forgot to make sound for the game. Hate making sound.
Modified the overall look of the game. Explosions were replaced with cartoony stuff. Modified textures to create a cleaner cartoonier feel.
Faked the shadows via using static meshes with spring arms, creating the illusion of shadows. But in fact there are no shadows. Just tranclucent materials. Cheaper to render than dynamic shadows. And i cant bake shadows on procedural generated levels.
So yes that was meant to be a 5 day exercise but clearly i underestimated a lot of things. And i took it pretty easy over the weekend having lacked some sleep.
Now to the game.
I wanted to create a out of control feeling vehicle. So after some fine tuning i managed to create a feel where you really do feel out of control.
As a added bonus at times the vehicle will actually go off the screen, taunting you… then come back to drive on.
Coins will at a later stage become ingame currency to upgrade your bumper. But for now due to deadlines i need to get this out on the appstore and google play.
I am pretty happy with how things turned out.
Here is a gameplay vid. At the end you can see the new camera for the shark action.
There are some things oustanding.
Leaderboards, saving and well… a few HUD elements and menu elements. Nothing major. Should wrap this up tomorrow.
Currently on iphone 5 i get way above 60fps. Think my optimizations, fake shadows and no shadow maps really helped.