Git Product home page Git Product logo

eduardspirache / duck-hunt-game-implementation-opengl Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 41.66 MB

Developed a duck shooting game using OpenGL, featuring single-duck appearance and a three-shot limit per turn. Incorporated player lives and loss conditions.

License: MIT License

CMake 4.55% GLSL 11.50% C++ 80.44% C 1.37% Shell 1.28% Python 0.86%
game-development opengl transformations

duck-hunt-game-implementation-opengl's Introduction

Duck Hunt

Developed a duck shooting game using OpenGL, featuring single-duck appearance and a three-shot limit per turn. Incorporated player lives and loss conditions.

How it Works

This is a project about creating a game similar to Duck Hunt. The player has to shoot ducks that appear on the screen. The ducks are constructed using 2D geometric primitives (at least four: body, wings, head, and beak). The ducks move in a random direction and at a random speed, and they change direction when they hit the edge of the screen. When a duck is shot, it falls to the ground with a vertical animation, and when it escapes, it flies off the screen with a vertical animation. Only one duck appears on the screen at a time, and a new duck appears after a certain time has passed since the last duck appeared. The player has to shoot as many ducks as possible within a limited time. The game uses hierarchical transformations to animate the ducks.

How to Run

You can run the project from an IDE, as well as standalone, from anywhere on disk. For example:

  • Windows, one of the following:

    • .\bin\Debug\GFXFramework
    • or just open the .sln file in Visual Studio, then press F5 to run it
  • Linux and macOS:

    • ./bin/Debug/GFXFramework

duck-hunt-game-implementation-opengl's People

Contributors

eduardspirache avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.