GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Rahul2332/Tarzan-Swing: A game created using SDL library in C++ which uses grappling gun concept to swing around 2D objects.

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
LavaSprites
LavaSprites
 
 
BGMgameOriginal.mp3
BGMgameOriginal.mp3
 
 
BLACK.jpg
BLACK.jpg
 
 
EventManager.cpp
EventManager.cpp
 
 
EventManager.hpp
EventManager.hpp
 
 
LTexture.cpp
LTexture.cpp
 
 
LTexture.hpp
LTexture.hpp
 
 
Lava.cpp
Lava.cpp
 
 
Lava.hpp
Lava.hpp
 
 
Makefile
Makefile
 
 
Me.cpp
Me.cpp
 
 
Me.hpp
Me.hpp
 
 
Object.cpp
Object.cpp
 
 
Object.hpp
Object.hpp
 
 
ObjectManager.cpp
ObjectManager.cpp
 
 
ObjectManager.hpp
ObjectManager.hpp
 
 
Physics_2D.cpp
Physics_2D.cpp
 
 
Physics_2D.hpp
Physics_2D.hpp
 
 
Readme.md
Readme.md
 
 
RenderWindow.cpp
RenderWindow.cpp
 
 
RenderWindow.h
RenderWindow.h
 
 
Rope.cpp
Rope.cpp
 
 
Rope.hpp
Rope.hpp
 
 
SDL_EXPERIMENTING.entitlements
SDL_EXPERIMENTING.entitlements
 
 
ScoreBoard.txt
ScoreBoard.txt
 
 
TarzanSwing
TarzanSwing
 
 
Vector.cpp
Vector.cpp
 
 
Vector.hpp
Vector.hpp
 
 
a.out
a.out
 
 
bgm.mp3
bgm.mp3
 
 
blast.mp3
blast.mp3
 
 
game.ttf
game.ttf
 
 
game_2.ttf
game_2.ttf
 
 
ground_grass_1.png
ground_grass_1.png
 
 
main.cpp
main.cpp
 
 
sound.wav
sound.wav
 
 

Repository files navigation

Tarzan Swing

** GamePlay and screenshots**

https://iiitbac-my.sharepoint.com/:f:/g/personal/rahul_jain_iiitb_ac_in/El5t2SQ8Y09LhfGCPyrUin8Bb24NU_nWgFrmBbHlTrjidg?e=56dO3n

** Github Repo **

https://github.com/Rahul2332/TarzanSwing_Group27.git

My Contribution:

  • Main, Friend and Enemy Object Creation
  • Rope Creation and Collission detection
  • Circular Motion
  • Implemented ScoreBooard

Group Members: IMT2020117 Rahul Jain IMT2020021 Chakradhar Varanasi IMT2020105 Rakshit Bang IMT2020558 Ram IMT2020067 Rishi

Instructions to run the game using terminal:

  • make
  • ./TarzanSwing

Controls of the game:

  • Press and hold left mouse button to draw a rope from main object to the object near to the click. As long as user holds on to the left button rope will remain attached to that object and object will swing in cirular motion around that hook.

  • Release the left mouse button to detach the rope from the object. As soon as user releases the left mouse button rope detaches from that object, main object leaves circular motion and falls under the affect of gravity, with conservation of momentum.

Game Features:

  • Game starts with main object freely falling under the affect of gravity.

  • User presses and holds left mouse button and main object attaches to the object near to the click by a rope, and does circular motion around it.

  • If user releases the mouse button, rope gets detached and main object falls under the affect of gravity with conservation of momentum applied.

  • If main object collides with red enemy object or lava, main object dies and game ends.

  • If main object collides with white friendly objects, main object gains points and total score increases.

  • In the end menu if the user presses retry, the game reinitiates, if the user presses exit, the game ends.

  • In the main menu if the user presses Play, the game starts, if the user presses exit, the game ends.

The game uses Vector Calculus to apply: Newtons laws of motion Conservation of momentum Circular Motion

The game has text rendering, visual and sound effects.

About

A game created using SDL library in C++ which uses grappling gun concept to swing around 2D objects.

Topics

gamegame-developmentgrapplingphysics-enginesdl2sdl2-imagesdl2-librarysdl2-mixersdl2-ttf

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.