Skip to content

games implemented in SFML ( aa, rifle, space invader)

License

Notifications You must be signed in to change notification settings

sysfce2/SFML_Games.amirhossein

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SFML Games

SFML provides a simple interface to the various components of your PC, to ease the development of games and multimedia applications. It is composed of five modules: system, window, graphics, audio and network. for installing SFML on ubuntu , enter the following in the terminal:

sudo apt-get install libsfml-dev

and for running the code enter the followings:

g++ -c main.cpp
g++ main.o -o sfml-app -lsfml-graphics -lsfml-window -lsfml-system
./sfml-app

for more tutorials refer to SFML Tutorials.

AA

AA Game is a simple accuracy game in which you must place several needles on the circle without touching any other bits. The speed of bits is increasing as you progress through the levels.

For shooting the bits you should press the up key in keyboard

aa

Rifle

Rifle game is a simple accuracy game in which you must shoot a bullet to a first target then it reflects and it should hit a second moving target. number of bullets is limited.

For changing the direction of the rifle you should press the up or down key in your keyboard and for changing the position of the target you should press the left and right keys. For shooting the bullets you press the left click.

rifle

Space Invader

Space Invader is a shooting game and you should destroy all of the alien spaceships in order to win the game and for shooting you should press the up key in keyboard.

space

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%