|Artificial Intelligence Tutorial|
|Machine Learning Projects Tutorial||Python Video tutorial|
|Computer Graphics Video Tutorial||C++ Video Tutorial|
|Big Data Analytics Video Tutorial||Soft Computing Video Tutorial|
|Placement Video Tutorial||Java Video Tutorial|
Cross Road Game Computer Graphics Mini Project in OpenGL – 18CSL67
Download the source code of Cross Road Game Computer Graphics mini Project in OpenGL for computer graphics and Visualization laboratory with mini-project – 18CSL67.
Crossy road game Simulation Computer Graphics Mini Project is to illustrate the concepts and usage of pre-built functions in OpenGL. The Objective of the Crossy Road game is to move across each lane to reach the other side of the road by avoiding the moving obstacles.
The player plays as a character where he accomplishes the game objective. With the use of arrow keys, the character moves in the appropriate direction such as Forward, Left, and Right to reach the opposite side of the Road, which is the main goal of the game.
The game consists of levels, where the speed of obstacles in a set path, such as cars increases as the level progresses.
The player must time movements correctly in order to pass these obstacles without touching the obstacle. We have used an input device keyboard to interact with the program.
The objective of Crossy Road is to cross lanes or series of roads and avoid obstacles as far as possible without dying. The player plays as a chosen character and must tap the up arrow key to go forward to move the character horizontally. The game consists of an endless series of obstacles(cars) in a set path. The player must time movements correctly in order to pass these obstacles without dying. If the player takes too much time crossing an obstacle or goes idle, the obstacle would hit the player, resulting in the game’s end.
Instructions to play cross road game:
The legend for user interaction is as follows:
- Q/q - To quit.
- L/l – To go to the next level.
- Up arrow - To move forward.
- Down arrow - To move backward.
- Right arrow - To move right
- Left arrow - To move left
- Spacebar - To continue to the next screen.
- Easy to understand and should be simple.
- The built-in functions should be utilized to the maximum extent.
- OpenGL library facilities should be used.
- Intel Pentium CPU 2.6 GHz or AMD Athlon 64 (K8) 2.6 GHz or higher
- 1 GB RAM or more
- Keyboard 108 standard
- Monitor resolution 800×600
- Programming Language: C / C++ Using OpenGL
- Operating System: Windows / Linux
- Compiler: C / C++ Compiler (GCC)
- IDE: Code Blocks
- Functional Requirements: GLUT
Edward Angel: Interactive Computer Graphics A Top-Down Approach with OpenGL, 5th Edition, Pearson Education, 2008.
Computer graphics with OpenGL Book by Donald Hearn and M. Pauline Baker.