Skip to content

i-am-marwa-ayman/adventure-time-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Adventure time Game

Overview

This project is a simple 2D OpenGL game implemented in C++. The game uses various graphical components and animations to simulate a fun and interactive environment. The player controls Finn, a character who collects coins, avoids walls, and earns points while progressing through the game.

Features

  • Dynamic Background: A multi-layered, colorful backdrop for the game environment.
  • Character (Finn): Animated character with detailed rendering.
  • Collectibles: Coins and batteries to earn points and keep the game engaging.
  • Obstacles: Walls to avoid for maintaining health and progress.
  • Win/Loss Conditions:
    • Win by collecting enough points.
    • Lose if certain conditions are not met.

Controls

  • Use the keyboard to control Finn’s movements (specific keys to be defined in the game loop).
  • Collect coins and batteries to earn points.
  • Avoid walls to prevent losing health.

Dependencies

To compile and run this project, you need the following libraries installed on your system:

  • -lGL
  • -lGLU
  • -lglut

Installation

  1. Clone the Repository:

    git clone <repository-url>
    cd <repository-folder>
  2. Compile the Code: Use the following command to compile the project:

    g++ -o main main.cpp -lGL -lGLU -lglut
  3. Run the Game: Execute the compiled binary:

    ./game

How to Extend

  • Add more characters or collectibles.
  • Enhance Background Details.
  • Realistic Movement.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages