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.

Self-revealing map

I was wondering if this is possible with events.

I want a map that's totally black at first except for the bottom square where you are and the ones to the immediate left and right, and the one directly above. When you take a step, let's say upwards, the next square on the left and right switch from black to what they really are, in addition to the one above. I can do this with a separate switch for every single tile. I think it's possible to do with self-switches, to save time, but wouldn't it reset when you leave the map? Is there an easy way to do this? Anyway, I'd be glad to make a small map with the switch-per-tile method to show exactly what I mean.

Any help would be really great!
 
Self-switches don't reset when you leave the map; they're permanent until you turn it off. I think that would be the best way, but it'd take a lot of time. If you're lazy, search for the "Fog of War script".
 
Actually I think it would be really easy to c/p. All I would need to change would be the revealed state--wait, no! The revealed state is nothing-- completely transparent. So I would just c/p the same event everywhere. Right?
 

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