Luanti Game Jam: Day 13
Day 13
I added two reflector nodes; one that reflects up, and one that reflects down. Currently, they're all separate nodes from the (sideways) reflectors, and I might try to combine them in the future, but for now, it's good enough.
I added two settings; one that disables dialogue (for speedruns) and one for making the glass framed. In my experience, the frames in the glass rendered weirdly, so I decided to have an option to turn that off/on.
Health is now automatically regenerated, because it seems unfair to only be able to lose 10 hearts of health throughout the whole game. Currently the health rate is 1 health point (1/2 a heart) every 0.2 seconds; I might lower the regeneration speed later.
The "change_level" command can now be used with default permissions to return to previous levels. Ideally, I would like to add a GUI for that, but at least the command is something.
I'm almost ready to add mineable reflectors (self-explanatory) for future levels. This will also let me tie in story, adding a reason for the boss fight.
Other bug fixes/cleanup:
- Mineable blocks are harder to preserve.
- Dialogue and transition HUD elements are no longer repeatedly destroyed and recreated; they are now reused, with their properties changing.
- The inventory formspec looks nicer.
I'm actually going to start work on the boss fight tomorrow. Most of the stuff I wanted to do today got done, so I have more time for boss fight work tomorrow.
Checklist from yesterday
- [x] Make one, if not two, more levels
- [ ] Potentially work on endgame (boss fight)
- Music: potentially Mendelssohn's Symphony No. 4 "Italian", movement IV. Saltarello presto, in some retro/chiptune form if possible
- Timed
- [x] Add option to disable dialogue
[ ] Anti-gravity preparation
- [ ] Node that toggles anti-gravity
- [x] A reflector node that shoots straight up
- [x] Automatic health regeneration
- [x] Make dialogue and (potentially) transitions not repeatedly create new HUD elements
- [x] Fix mineable blocks not being removed from inventory when resetting the section
- [x] Allow going back to previous levels
- [x] Small code cleanup
Plans for tomorrow
- [ ] Make one, if not two, more levels
- [ ] Potentially work on endgame (boss fight)
- Music: potentially Mendelssohn's Symphony No. 4 "Italian", movement IV. Saltarello presto, in some retro/chiptune form if possible
- Timed
- Credits screen
[ ] Anti-gravity preparation
- [ ] Node that toggles anti-gravity
- [ ] Add mineable reflectors and clean up reflector code
- [ ] Remove other mineable blocks during transitions/resets
- [ ] Add a GUI for going back to previous levels
- [ ] Improve the hearts/health texture
- [ ] Small code cleanup
Overall plans
- [ ] More levels!!
- [ ] Fix item adding/removing to focused slot (maybe; I have no idea how to fix this!!)
[ ] Add more environments and interactions:
- [ ] Anti-gravity/less gravity
[ ] Level ideas:
- [ ] Deja-vu: The same section gets repeated multiple times
- [ ] An achievement system
Might do (non-breaking)
- [ ] Combine the reflector nodes into one node
- [ ] Reuse the same reflector textures for both regular and mineable reflectors
---
More information about the jam can be found here:
Luanti Game Jam 2025
The code is on Codeberg:
Codeberg repository