Cube Jungle game on Unity 3D using C#
Cube Jungle 3D game
This game is very simple and user-friendly. There is no any sound as you can insert it according to your wish. This game has got cubes as the player and also cubes as the obstacles. Likewise, the mouse cursor play or swiping is not inserted. You have to insert a code for this one.
I have added GetKey for using the button for the player’s movement. And for the movement, I have added a force to the player controller which will allow you to take a player on left to right and right to left. This feature will also allow you to go up front and clear the obstacle. I have used ‘W’, ‘A’, and ‘D’ as the key button for the player movement.
The obstacle that I created are different as when the player collides with it, due to the addition of OnCollision on an obstacle, the player dies. And when the player dies, the game restarts again on the 2-3 sec. Besides that, a player has to complete the obstacle to go to the next level.
The obstacle and the difficulties increase slowly when the number of level increases.
From the above slides, you can see how the game is made.
Things you need to install to run this game:
- You need to install Unity 3D.
- You can get the installation for windows and Mac on an official Unity3d website that is www.unity3d.com or you can install from https://infocode.org/how-to-install-unity3d-on-ubuntu-linux/ for Linux based OS.
- And you have to install Mono development as IDE.
Click on below button to download this game: