summaryrefslogtreecommitdiff
path: root/render/draws/background.lua
AgeCommit message (Collapse)Author
2025-03-13refactor: a general function to draw rectanglesEltrac
2025-03-13refactor: move room switch trigger to door contactEltrac
due to the requirement for adding doors and door bodies before initializing body lifecycle manager, move lifecycle manager to game initialization and create more bodies with this manager
2025-03-11refactor: implement physics engineEltrac
replace original moving logic and collision detection with love.physics
2025-03-11refactor: maintain all objects in room objectEltrac
2025-03-09fix: unrendered and undetected doors due to iterator issuesEltrac
2025-03-08feat: welcome text and notification when map's changedEltrac
2025-02-21style: different color for obstaclesEltrac
2025-02-21fix: incorrect collison detection /w player and obstaclesEltrac
2025-02-21fix: drawing doors at wrong locationEltrac
2025-02-20feat: place obstacles in roomsEltrac
2025-02-20refactor: use Body objectEltrac
- Body defines an object's size and shape - Body provides a universal function to detect collision
2025-02-18refactor: use Door object to handle room entrance and exitsEltrac
2025-02-18refactor: cleaner code drawing doorsEltrac
2025-02-16chore: restrict player movement within roomEltrac
2025-02-16refactor: add room arguments getterEltrac
2025-02-16feat(render): draw rooms and doorsEltrac
2025-02-16refactor: organize draw functionsEltrac