Skip to content

Simple 2d space shooter game. Made using C++ and SFML. Uses Entity Component System architecture.

Notifications You must be signed in to change notification settings

Remake1/Small-2D-Cpp-sfml-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Showcase

game_screenshot.png

game_video.mp4

About

This is a simple 2D game made with SFML. The game is 2d space shooter where the player has to shoot the enemies and avoid their bullets.

The game is made using Entity component system (ECS) architecture. There is simple Entity manager.

Requirements

  • g++
  • Make
  • SFML 2.5.1

Setup

On Linux:

  • run make all

On Windows:

  • Download and extract sfml from official website (https://www.sfml-dev.org/download/sfml/2.5.1/) and select GCC MinGW 64-bit version
  • Create .env file using .env.example as a template and set the path of the SFML include and lib folder
  • run make all

If you have issues with environment variables in makefile, set the SFML_INCLUDE and SFML_LIB variables manually in makefile

Note

There is no cmake support. CMakeList.txt is just for ide's on Windows

About

Simple 2d space shooter game. Made using C++ and SFML. Uses Entity Component System architecture.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published