Skip to content

klutchdev/SFMLGames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SFML Games

Reference

SFML Docs

CPP Reference

1. Brick Hero

Instructions

Navigate to the main directory

cd SFML_TUTORIAL

Compile

g++ -g ./BrickHero/main.cpp ./BrickHero/Game.cpp -o ./BrickHero/prog -lsfml-graphics -lsfml-window -lsfml-system -lsfml-audio -lsfml-network

Run

./BrickHero/prog

Screenshots

Gameplay

Gameplay

Game over

Game over screen


2. Space Blaster

Instructions

Navigate to the main directory

cd SFML_TUTORIAL

Compile

g++ -g ./SpaceBlaster/main.cpp ./SpaceBlaster/Bullet.cpp ./SpaceBlaster/Enemy.cpp ./SpaceBlaster/Player.cpp ./SpaceBlaster/Game.cpp -o ./SpaceBlaster/prog -lsfml-graphics -lsfml-window -lsfml-system -lsfml-audio -lsfml-network

Run

./SpaceBlaster/prog

Screenshots

Gameplay

Gameplay

Game over

Game over screen


3. Open World RPG (IN DEVELOPMENT)

Instructions

Navigate to the main directory

cd SFML_TUTORIAL

Compile

g++ -g ./OpenWorldRPG/main.cpp ./OpenWorldRPG/Game.cpp ./OpenWorldRPG/Entity.cpp ./OpenWorldRPG/GameState.cpp ./OpenWorldRPG/State.cpp ./OpenWorldRPG/MainMenuState.cpp ./OpenWorldRPG/Button.cpp ./OpenWorldRPG/Player.cpp ./OpenWorldRPG/MovementComponent.cpp ./OpenWorldRPG/AnimationComponent.cpp -o ./OpenWorldRPG/prog -lsfml-graphics -lsfml-window -lsfml-system -lsfml-audio -lsfml-network

Run

./OpenWorldRPG/prog

Screenshots

Menu

Menu Menu

Game

Gameplay