Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Simplest Way of Lighting Areas?

Basically, I have placed a lamp in an empty, dark room. When you walk towards the lamp, and press the action button, I would like it so that the lamp, and a small area around the lamp lights up. Does anyone know of the easiest way to do this?

Thanks.
 

poccil

Sponsor

This would involve creating an event with two event pages: one with a light, and one without a light.  Here are the details on each event page:

Event Page 1
Graphic: (none)
DirectionFix: on
Conditions: None
Trigger: Action Button
Commands:
Code:
@>Play SE: '032-Switch01', 80, 100
@>Control Self Switch: A =ON

Event Page 2
Graphic: Any light graphic (e.g. 184-Light01)
DirectionFix: on
Stop Animation: on
Conditions: Self Switch A is ON
Trigger: Action Button
Commands:
Code:
@>Play SE: '032-Switch01', 80, 100
@>Control Self Switch: A =OFF

I hope this helps.
 
Eh, that would be cosmetic lighting, no need to bother Reivy when there's already a good tutorial out there for it :wink:

Poccil's method is a lot easier, but if you want better effects you can make fogs and rather than changing graphics like poccil stated, you can use the "Change Map Properties" function and change the fog.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top