This Repo consists of all the assignments I did as part of graphics Assignment There are certain Libraries common for all the Assignment they are -
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install pkg-config
sudo apt-get install libglfw3 libglfw3-dev
sudo apt-get install libglew-dev
- Please make sure the above commands are executed before you try to run the any of the assignments.
- The Assignment was to make a 2d Game just like Jet-Pack Joyride.
- Basic Controls:
- Zoom in\out with the mouse wheel.
- The player can move left with the left key, right with right key and propulsion with space.
- Throw water balloons with down key.
- Implemented in the game:
- Wall, Platform.
- Coins of different colors.
- Magnet.
- Special flying object.
- Ring.
- Fire Lines.
- Fire Beams.
- Boomerangs.
- Viserion (Dragon from GOT).
- Water Balloons
- Collision detection.
- Zooming in and out
- Special Shield for player.
- Score Display (7 Segment).
- How to run the assignment -
cd Assignment1/build
cmake .. && make all
./graphics_asgn1
- Basic Controls -
- increase speed in front direction -> W
- decrease the speed in front direction - > S
- turn right -> D
- turn left -> A
- rotate clockwise -> E
- rotate anti-clockwise -> Q
- Go up -> Space
- Go down -> B
- start manuever -> M
- end manuever -> N
- Change camera View -> C
- Implemented -
- Plane , Basic Controls, Sea, Score Board with 7 Segment Display
- Obstackle course, check points, enemy cannons,
- Smoke Rings, Fuel ups, Volcano NO FLYING ZONE, Emnemy parachute
- All the Views i. Plane View ii. Top View iii. Tower View iv. Follow_cam view v. Helicopter view
- Manoevers, Compass
- a directional Arrow that guides the airplane towards the new checkpoint
- How to run the game :-
cd Assignment2/build
cmake .. && make all
./grapics_asgn1
- Name of the game is InfiSkyRunnner
- This has the following things implemented - Basic world which consists of - Track - Walls - Player - Police - Police Dog - Coins - Trees (Type 1 Obstacle) - Slower (Type 2 Obstacle) - Jumpy Jumpy (Boots) - Boosted Board - shader tasks - Controls - Jump - space or Up arrow - left - left key - right - right key - grayscale - G - flicker - F
- Make sure that you have firefox (an Open Source Browser)
firefox --version
- if the output is like
Mozilla Firefox 60.0.1
- else Install Firefox
sudo apt-get install firefox
- go to the directory and then run the index.html file in browser
firefox index.html