summaryrefslogtreecommitdiff
path: root/source/main.cpp
AgeCommit message (Collapse)Author
2024-11-05Disabled all row major operations, added col major multiplicationtalha
2024-10-31Added ColumnMajor matrix multiplication.talha
Main code path is disabled until I get everything working correctly. Also added tags to gitignore
2024-10-26Moved from using percentages to scaled pixel position for levelstalha
2024-10-25Setup a basic camera movertalha
The camera now changes view after player moves beyond 80% of the screen up or right AND beyond 20% of the screen left or bottom.
2024-10-25Added horizontal camera movement, some operator overloadingtalha
2024-10-22Disabled the funky camera movement poc for nowtalha
2024-10-22Fixed an very weird and rare bug with renderertalha
This issue would sometimes occur when renderer was stack allocating objects. It surprisingly did not occur when items are heap allocated. I checked the stack locations and it seemed like values were looping around or atleast overflowing
2024-10-20Removed alot of unused variables and codepathstalha
2024-10-20Refactored code, fixed motion when collidex true:talha
- Created a timer struct with helper functions to clean things up - Removed some redundant and duplicate variables - Fixed the issue where if a player presses horizontal movement key, even though we are colliding, the player will still move once it is not colliding, even though they are not pressing a key.
2024-10-20Framerate capping now works:talha
This prevents movement being very fast on high refresh rate displays
2024-10-19Motion+Collision now work:talha
- Collisions are checked for each side, to let us know how to proceed - Equations of motion seem to work fine, except that they don't play well with time_delta, and are framerate dependant.
2024-10-08Saving draft, added collision detection so fartalha