Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 890 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 890 Bytes

Aquarium

A small aquarium project using SDL2 and c++. This project contains self made rectangle collision detection and resolution as well as redirection based on angle of collision. No other libraries were used beside SDL2.

Developer's note

Although the project could be improved in quite a few areas with some effort, mostly regarding exceptions with heap memory management(cleanup) in Graphics(probably use smart pointers, didn't bother) and small performance tweaks(mostly regarding collision vectors), as well as some code "cleanliness". Although I know of these issues, this project can use up to around 3500~ elements before there's any real resemblance of a performance hit so I believe this is enough for the scope of this project.

Demo 11/10/2020

x86 release build: https://1drv.ms/u/s!ApOH5Od3tcbAlXX9-u3M5eQhd4ok?e=N8jCcF

Sample video: https://i.imgur.com/wLTGsFH.mp4