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.

Showing pictures

Hello.

In my game, I'm trying to make a system that, while a button is pressed, a map of the area is shown. The system is easy enough, but I can't get any of the pictures to show up. I don't understand what I'm doing wrong.

Could someone please help?
 

Star

Sponsor

Lets see the conditional branch or event you've used to show this button press and map display. And also tell us what if this is running as a parallel process or an autorun.
 
Parallel Process
Code:
 

@>Conditional Branch: The L button is being pressed

  @>Conditional Branch: Switch[0001:Map Showing] == OFF

    @>Show Picture: 1, 'map', Center(320,240), (100%,100%),255,Normal

    @>Control Switches: [0001:Map Showing] = ON

    @>

   : Branch End

  @>

 : Else

  @>Conditional Branch: Switch[0001:Map Showing] == ON

    @>Erase Picture: 1

    @>Control Switches: [0001:Map Showing] = OFF

    @>

   : Branch End

  @>

 : Branch End

@>

 
 

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