Showing posts with label racing game. Show all posts
Showing posts with label racing game. Show all posts

Thursday, 21 August 2014

New physics test!

Physics are getting better and better, but it's still very far from my expectations. I still think my tests were successful, however I'll probably rewrite the code that controls traction. As you can see in the video, the traction is low at low speeds and the car slips easily, but I need more slip. Actually it's pretty stable even when I push the pedal to the metal. A real world car like this would spin immediately in this situation from standing position.

Friday, 1 August 2014

Working on the background...

I don't usually share only one picture, but when I do, it shows some improvement in graphics.

 Unity Android Racing Game
Hand-drawn background just made overall look better.


Tuesday, 11 March 2014

Racing game? It'll be done!

I started a racing game back then, but I didn't make any progress in the last months. It doesn't mean, I forgot about it or I gave it up! I was working on that Flappy Bird clone. Also I had problems with the car physics.

James Hunt McLaren M23
A pretty old screenshot...
Good news, I found a pretty good way to make the cars work with the wheel collider component of Unity. It will be a little bit arcade style, but also it'll be fun. And it will be pretty stable at high speeds too. Nothing to worry about!

James Hunt McLaren M23
...and a newer one.


Also I'll make the tracks low poly, but detailed. It'll work on PC and Android too. What I learnt from my Flappy Bird project is handling MySQL databases through Unity. I think it'll be a useful thing for online lap time comparison.

Friday, 31 January 2014

First video of the project

Hello there! Here is my first video of my game. It's a very early progress, I am currently working on the physics. As you can see, it's far from perfect. I didn't program the engine, and gears, also the traction needs more programming. I'll be back with more videos soon! Enjoy!


Tuesday, 14 January 2014

Friday, 10 January 2014

Let the coding horror begin!

Hello people of internet!

This is my post about my game development progress. Well, I am trying to make a racing game for Android. My main development tool is Unity (the free version). I am still new to mobile game development. It's a little bit different than making games for PC or other high performance consoles. Mobile devices are still not as fast as desktop computers. Both GPU and CPU are weaker, some devices has low amount of RAM and storage. So it is limited and developers have to be very clever at optimizing games.

Profiling is not very easy without Unity Pro's profiler, but I found a great solution called Adreno Profiler which doesn't work on all the mobiles, but it runs with my Nexus 7 2nd Generation. So finally, I have a profiler, I can see, what costs more or less in rendering, so I can tweak my game and test again and again. It's a great tool, and easy to use. Well, this program quickly gave me ideas, how to make graphical performance higher. However, I didn't find out, how to check CPU usage in it. I have a simple CPU usage monitor on my Android device, but I can't figure out, what are the most expensive calculations.

Adreno Profiler
A great method to figure out, where is your graphics bottle-necking.

Actually, I have a serious problem. My game is greatly bottleneck at physics I think. I'm not sure, but the more the cars the less the performance. I mean seriously, I put 4-6 more cars, and FPS decreases. It's not good, especially talking about a Nexus 7 which has a decent hardware. I tried out making the car meshes more simple (I just used a simple box), same problem, so the problem is not graphical, but more like the calculations are too much for Qualcomm's Snapdragon S4 Pro CPU. Very disappointing, I need to find an other was for physics, I guess. Actually, I was very happy with the current physics.

Adreno Profiler Graphs

Don't know, what to do now... Well, I need to figure out, what is the exact reason for the bad performance. I need to simplify the physics as much as possible without making it very unrealistic and bad. More experiments tomorrow. For today, I am out!

Sunday, 1 December 2013

Little progress... Tree and track design

I am getting on the right track with racing game development in Unity. I have a decent (but far from great) car physics for mobile, and now track design is getting better too. Also, I figured out, how should I make tree sprites quickly in high quality.

Unity 2D tree test
Crossed tree sprite in the background... well I won't leave it there it's too dangerous!