Jump to content

How To Lock A Wherigo Screen


Troopbiz

Recommended Posts

Greetings Wherigo Community,

I am looking for some assistance in coding my new Wherigo using urwigo. The premise of the cartridge is to move to 10 different zones, using only a picture of the location. Ie. The cartridge will show you a picture of the next zone and you will have to find where in the park that photo was taken. Currently, I'm using a "message" block, but I'm wondering if there is a way to code it so the user can't press "ok" until they are inside the zone. I want the picture to stay on the screen until they enter the zone, at which point a new screen will come up prompting them to the next location. 

Thanks in Advance

Link to comment

I'd probably just put the picture in the player's inventory.

If you are really set in locking the screen, you could code up an infinite loop for the message box.  If the player taps the message box's button, have code say to show it again.  Keep looping.  When the player arrives at the next zone, trigger another message box to show or show the zone's detail screen.  The trouble with this tactic is it doesn't lend itself to the player restarting the cartridge.  I'm sure you could set a variable to denote the game's state and, upon reopening the cartridge, figure out which message box loop to show.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...