Hello everybody,
This is my first tutorial so don't be to harsh.
In this tutorial we are going to create a fuel system for your driving game.
The system is really easy to integrate. Just add the FuelSystem script to your car and call the ReduceFuel method when you are pressing your throttle.
Have fun creating this and if you make a game using this system leave a link in the comments, I'd love to see it.
Download scripts:
https://triplerstudios.weebly.com/dow...
Assets used:
Car - https://www.assetstore.unity3d.com/en...
Jerrycan - https://www.assetstore.unity3d.com/en...
Pump - https://www.assetstore.unity3d.com/en...
My itch.io:
https://triplergames.itch.io/
Sounds:
Dreams by Joakim Karud / joakimkarud
Rock Angel by Joakim Karud / joakimkarud
Creative Commons — Attribution-ShareAlike 3.0 Unported— CC BY-SA 3.0 http://creativecommons.org/licenses/b... Music promoted by Audio Library • Video