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.

Change the playspace ?

Jason

Awesome Bro

Please note, if this is in the wrong section, don't flame, just report for it to be moved, thankyou.

This probably makes NO sense at all, but would there be a way to make it so that onscreen you could only see say 8x8 sqaures and not 20x15 ? By this I don't mean just put a black picture, as you'd be able to walk under the picture, I mean so you can physically only see 8x8 sqaures around your character and have like a fog or something around it so it looks like a Fog of War effect, this would be a really nice addition to my game.
 

Jason

Awesome Bro

Sorry, but that doesn't work, when you walk to the top left or bottom right of the screen, it moves away from you, and if you come to the edge, you can walk out of it, Any idea ?
 
I just did this not too long ago.....

Here's the controlling event:

Code:
Control Variables: [0001: screen X] = Player's Screen X
Control Variables: [0002: screen Y] = Player's Screen Y
Show Picture: 1, 'spotlight', Center (Variable[0001][0002]), (100%,100%), 255, Normal
Control Self Switch: A =ON
Code:
Control Variables: [0001: screen X] = Player's Screen X
Control Variables: [0002: screen Y] = Player's Screen Y
Move Picture: 1, @1, Center (Variable[0001][0002]), (100%,100%), 255, Normal

Here's the image I used:

http://home.comcast.net/~bridge161/spotlight.png[/img]

This goes in the pictures folder.  Modify it to have a square in the middle if you want.

Remember to erase the picture when you leave the map.

Be Well
 

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