Cross Road Game Computer Graphics Project in OpenGL

Download Computer Graphics Mini Project Source Code


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.

Problem Statement:

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.

See also  Fighter Jet Computer Graphics Project in OpenGL Source Code – 18CSL67

Video Demonstration

Objective

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.

User Requirements

  • Easy to understand and should be simple.
  • The built-in functions should be utilized to the maximum extent.
  • OpenGL library facilities should be used.
See also  Flying Ball Computer Graphics Project in OpenGL Source Code – 18CSL67

Hardware Requirements

  • Intel Pentium CPU 2.6 GHz or AMD Athlon 64 (K8) 2.6 GHz or higher
  • 1 GB RAM or more
  • Mouse
  • Keyboard 108 standard
  • Monitor resolution 800×600

Software Requirements:

  • Programming Language: C / C++ Using OpenGL
  • Operating System: Windows / Linux
  • Compiler: C / C++ Compiler (GCC)
  • IDE: Code Blocks
  • Functional Requirements: GLUT

Books referred:

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.

Screenshots of Cross Road Game Computer Graphics mini Project in OpenGL – 18CSL67

Cross Road Game
Home Screen
Cross Road Game 2
Instruction to play game
Cross Road Game 3
Play Mode

Follow the below link to download the source code

Download Source Code

You may be interested in other projects:

Airplane Computer Graphics and Visualization Mini Project in OpenGL – 18CSL67

Additive Color Model Computer Graphics (CGV) Project in OpenGL – 18CSL67

Aquarium Computer Graphics Project in OpenGL Source Code

Warli Painting Computer Graphics (CGV) Project in OpenGL Source Code

2D Rotation Computer Graphics Project (CGV) in OpenGL Source Code

Rotating Circle Computer Graphics (CGV) Project in OpenGL Source Code

Fog Test Computer Graphics Project (CGV) in OpenGL Source Code

See also  Artificial Intelligence and Machine Learning Tutorial

Dora Catch Game Computer Graphics (CGV) Project in OpenGL Source Code

Twin Cars Game Computer Graphics (CGV) Project in OpenGL Source Code

Flying Ball Computer Graphics (CGV) Project in OpenGL Source Code

Demonstration of Helicopter Computer Graphics (CGV) Project in OpenGL Source Code

Toll Collecting Computer Graphics (CGV) Project in OpenGL Source Code

Analog clock Computer Graphics (CGV) Project in OpenGL Source Code

Geometric Operations Computer Graphics (CGV) Project in OpenGL Source Code

Aeroplane Computer Graphics (CGV) Project in OpenGL Source Code

Bouncing Ball Computer Graphics (CGV) Project in OpenGL Source Code

Rotating Flower Computer Graphics (CGV) Project in OpenGL Source Code

Glass Cracking Computer Graphics (CGV) Project in OpenGL Source Code

Running Trains Computer Graphics (CGV) Project in OpenGL Source Code

Bricks breaker Computer Graphics (CGV) Project in OpenGL Source Code

Fighter Jet Computer Graphics (CGV) Project in OpenGL Source Code

Car Parking Computer Graphics (CGV) Project in OpenGL Source Code 

Archery Game Computer Graphics (CGV) Project in OpenGL Source Code

3D House Computer Graphics (CGV) Project in OpenGL Source Code

2D Game Computer Graphics (CGV) Project in OpenGL

2 thoughts on “Cross Road Game Computer Graphics Project in OpenGL”

  1. Can you implement display score with respect time and display level also, send me my mail I will send money sir plz plz

Leave a Comment

Your email address will not be published. Required fields are marked *