Interaction Menus
Lamp has a menu when interacting; it closes when you walk away.
Ignore the fact that the shadow is glitching out in this video; I haven’t done some of its cases yet, like having no light source and with the lamp light specifically.
All posts related to SELUNA
Lamp has a menu when interacting; it closes when you walk away.
Ignore the fact that the shadow is glitching out in this video; I haven’t done some of its cases yet, like having no light source and with the lamp light specifically.
In the process of redoing the entire shadow generation process; originally the game would do some fairly basic trig and then end up with… a line. The thing about that is that the line was locked to the level of the ground objects, couldn’t really be bent/cut off, etc. And I hadn’t even begun to think about how it could be done on ceilings and walls…
Added little floating textboxes above objects you can interact with, some will have menus (like the lamp will have options to pick up or turn on, rather than being separate buttons).
Most rooms will not have so many objects to interact with in such a cluttered space, so the textboxes won’t seem so intrusive.
Ported pause menu over from a side project, will probably start messing with textboxes around objects in other rooms as well.
Shadow also gets more transparent the further he is from the light source. It’ll also eventually be linked to the strength of the light once I’ve actually added some variables for that.
Added an input display to help with debugging and make the actions more clear for preview videos.
I intend to keep it as a toggle even on release, though the placement will likely change.