In this project, you are asked to make a small video game based on the rules of Duck Hunt. The basic rules for the my_hunter are as follows:
- the player is a hunter who shoots ducks.
- ducks must appear on the screen and move from one side to another.
- the player can click on them to shoot them.
- Subject
I've been playing Valorant for a while so I had the idea of trying to replicate the Valorant shooting range. It's kind of the same as a classic my_hunter, the graphics are just different.
To compile this project run the following command at .
make
Then run the game:
./my_hunter -h
--------------------
USAGE: ./my_hunter
FLAGS:
-h: display this help
--skip-intro: skip the intro
--------------------
- • The window must be closed using events.
- • The program must manage the input from the mouse click.
- • The program must contain animated sprites rendered thanks to sprite sheets.
- • The program must contain moving (rotating, translating, or scaling) elements.
- • The program must accept the “-h” option, then display a short description of the program, and the available user inputs.
- • Animations and movements in your program should not depend on the speed of your computer.
- • Animations and movements in your program should be timed by sfClock elements.
- • Your window should stick between 800x600 pixels and 1920x1080 pixels.
- • Your window should have a limited frame rate such that it can be compute without lagging.
- • The program could have several different levels.
- • The program could display the score of the player.
- • The program could store the highest score made.
- • The program could display a small target under the mouse cursor.
- Valorant range background
- Hand with vandal skin
- Point crosshair
- Replace birds by bots
- Start game button
- Stop game button
- Score
- Bot remaining
- Block window size
- Change cursor style
- Settings scene:
- Volume
- Crosshair color