Skip to content

ForAbby-X/so_long

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

so_long

A really simple 2d game made as a project for 42 school paris

features

This game have mouse interactions for the menu, the tank controls and camera movement.
It does vector arithmetic and more using a small library i wrote along with the [gcc/clang] vector extension.
The engine i wrote allow the use of the delta time between frames to calibrate all calculations.
It displays, updates and destroys entities using an oop approach.
There is circle to circle collisions and circle to square collisions with pressure calculations going on between every entities.
Only the entities close to the camera viewpoint are updated and displayed, nevertheless all the entities are destroyed at the end of the mainloop if the tag 'entity->alive' is set to '0'.
The tank is painted by the blood of its crushed ennemies.

Screenshots:

MENU GAMEPLAY_1 GAMEPLAY_2

About

A really simple 2d game made as a project for 42 school paris

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published