Skip to content

Top down, tile-based survival game made in SFML and C++.

License

Notifications You must be signed in to change notification settings

jorgebaptista/can-you-survive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Can You Survive

Can you survive? is a top down, tile-based survival game, that shows the struggle of a polar bear trying to survive in their own home while facing the consequences of climate change.

Description

Experience the struggles of melting glaciers while trying to survive the winter hibernation by getting as much food as you can in a world that keeps melting all around you and makes everything more challenging year by year.

The game was developed with SFML and C++.

This was a prototype for university coursework and we currently have no intention of further developing it.

Installation

This game requires no installation, you can download it here and play by opening can-you-survive.exe.

Preview

Preview of the game.

Implementation

The game follows the OOP principles and makes use of:

  • Class hierarchy and polymorphism for objects, player, and enemies.
  • Matrices and many calculations in real time for building and navigating the 2D map and camera.
  • Pointers for referencing and optimization.
  • SFML functions to display sprites.

Game Developed by:

License