Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 21st, 2025, 5:41 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Controlling the random page list
PostPosted: December 4th, 2004, 6:29 pm 
Offline

Joined: December 4th, 2004, 6:13 pm
Posts: 2
Hi, I am a complete beginner using Opus Pro and have managed with most issues but have come to a standstill with one problem in particular. I am making a hangman game for children to develop emotional literacy, and plan on making 24 pages (one word for each page). I want the pages to be displayed randomly (using <Next Random>) but when these 24 pages have been displayed I want a score page. My precise problem is that the score page keeps being displayed prematurely because it gets included on the random page list. Is there any way to limit certain pages from being navigated randomly?
Many thanks, Stella


You do not have the required permissions to view the files attached to this post.


For this message Stellar has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: December 4th, 2004, 8:35 pm 
Offline

Joined: November 22nd, 2004, 7:26 pm
Posts: 119
Location: Austria
Hi Stella !

The solution is to organise your pages in chapters. The Random and Next Random command works within a certain chapter. So put all your hangman pages in one chapter. These pages will be displayed randomly. Then put the score page in a different chapter.

You can use a variable that increments after each page of the game . When the variable reaches 24 you can let Opus display the score page.

Hope that helps. Let me know ! :D


For this message Klaus Rosmanitz has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: December 5th, 2004, 12:09 am 
Offline

Joined: December 4th, 2004, 6:13 pm
Posts: 2
Thanks Krosmanitz!

This was the solution, but the mad thing was I had actually done this solution before I posted, not thinking it had worked! The reason why I hadn't tested it was for some reason I assumed it hadn't worked because I could still see the score page listed alongside the other pages when selecting the random page action :oops:

So many thanks for the quick reply, I can work on the other pages now, knowing that the structure is working.

cheers Stella :D


For this message Stellar has been thanked by : mackavi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 56 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group