summaryrefslogtreecommitdiff
path: root/objects/room.lua
AgeCommit message (Collapse)Author
2025-03-16feat(ui): minimapEltrac
2025-03-15fix: unexpected body retention and related issuesEltrac
2025-03-14fix: alive shots stay still after leaving roomEltrac
2025-03-14feat: music do not change when going back to an empty roomEltrac
2025-03-14refactor: move beforeClear actionsEltrac
2025-03-14feat: custom wave start promptEltrac
2025-03-14feat: wave mechanismEltrac
2025-03-14refactor: seperate object placement initializersEltrac
2025-03-13refactor: read object list as a utility functionEltrac
2025-03-13feat: always play music in fighting roomEltrac
2025-03-13feat(audio): add background music for some roomsEltrac
2025-03-13refactor: remove body objectEltrac
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-12refactor: use lifecycle manager to destroy all bodiesEltrac
2025-03-12fix: bodies from previous room exist after entering anotherEltrac
2025-03-12chore: better onContact hook when dealing collisionsEltrac
2025-03-11fix: no walls in first room & cannot enter doorsEltrac
2025-03-11refactor: add walls as world bodyEltrac
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-11refactor: object updates itself with :update() functionEltrac
2025-03-09feat: remove door on entering a new realmEltrac
2025-03-09refactor: create door instance automatically when adding doorEltrac
2025-03-09refactor: better map generationEltrac
2025-03-09Revert "feat: remove door back when entering a new map"Eltrac
This reverts commit c4b1a488b3c995dff5597f1dc4e725232682c231.
2025-03-09chore: better error response with room connectionEltrac
2025-03-09feat: remove door back when entering a new mapEltrac
also ensure randomness when connecting two rooms
2025-03-08perf: use limited loops to connect roomsEltrac
2025-03-07fix: some rooms are not accessible due to door misplacementEltrac
2025-03-07fix: getDoorlessDIrections() not working properly due to a typoEltrac
2025-03-07refactor: move initializers to the endEltrac
2025-03-07refactor: clearer logic of determining door connection directionEltrac
2025-03-07refactor: clearer logic on map generation and room connectionEltrac
2025-03-06refactor: leave room constructor argument blank to generate random roomEltrac
2025-03-06feat: display room name on screen cornerEltrac
2025-03-04perf: localize all objects moduleEltrac
2025-03-04refactor: make data tables localEltrac
2025-03-04refactor: rewrite map generationEltrac
2025-03-04refactor: Room objectEltrac
2025-03-04chore: connect room with automatically chosen directionEltrac
2025-03-04refactor: move room connection logic to room objectEltrac
2025-03-04refactor: simplify room generation functionEltrac
2025-03-04fix: enemy misplaced in same type of room encountered beforeEltrac
The same type of rooms used to share the same enemy list. When enemies move, their location changed and that changes all location of that enemy object in that room's enemy list.
2025-03-03fix: obstacle misplacementEltrac
2025-02-28refactor: initialize enemies and obstacles in Room object itselfEltrac
2025-02-23fix: some rooms spawns with no enemiesEltrac
Due to incorrect reference to room date directly, killing enemies in one room means killing enemies in other rooms of the same kind. The problem is now fixed by copying room data instead of referencing it.
2025-02-21chore: remove prints for debuggingEltrac
2025-02-20feat: place obstacles in roomsEltrac
2025-02-20feat: place enemies at preset locationEltrac
2025-02-20feat: generate map according to preset room dataEltrac