I'd like to know how to light a room when I press a button or turn on a lamp. Is this basic?
Hey N3cropolis 11,
welcome aboard! Nice to see you.
You are dealing with a basically sprite based 2D-engine here. You have to create or find almost everything you want to be seen in the game on your own. To light a room for example you first need to draw/get a room background (preferably dark and with a light switch somewhere). Then you could change the same background and add the illuminated areas after the switch is hit. If you got this far, you can create a room, put in there the two backgrounds, set the hotspot for the light switch (where you want the player to click on to turn on the light), do some script work and playtest your DIY-Lightroom. :=
If you are looking for some semi/pseudo 3D style, then you could do the "drawing" with a 3D-design-software like Blender, render the things you created and put the images in the game. But actually the ways to do it are nearly endless 8-0
Funny you should ask that. I am looking into doing something similar in a game I am working on but that part is still a ways away and I was going to create one background with it dark and another with it light and just changing the background accordingly.
#Kumpel
Thank you for welcoming me! And, I should use blender for semi-3D styles? I would love to do that, something a little more advanced. I think that's what I am going for, thank you for the advice :smiley: