Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 12:26 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Click in Sequence
PostPosted: February 1st, 2013, 1:47 pm 
Offline

Joined: November 3rd, 2004, 8:12 pm
Posts: 129
Location: New Brunswick, Canada
Opus: 8.6
OS: Win 8 (ASUS) - Win 7: (ASUS)
System: Asus - Windows 7 - 8 - Intel Core 3 - 4RAM - 16RAM
Can anyone help me.
I am trying to set the correct sequence for the balloons, Image_1, Image_2, Image_3, Image_4.
Plus get the buttons to show if the user clicks the balloons in the correct sequence. Button R if the user answer the

question in the correct sequence and W if the user hit the buttons out of seqence. I've done a search looking for sequence, and etc but found no results.

I'm using Opus 8.7
Any and all help would be appreciated.

I don't know where my attachment went to.


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

_________________
Leo Taylor
Win XP Home / Opus Pro 7.01 & 6.4 / P4-2.8 / 1.5 GB RAM / ATI All-in-Wonder 9600 /160GB-HD


For this message Leo Taylor has been thanked by : mackavi


Last edited by Leo Taylor on February 1st, 2013, 2:53 pm, edited 1 time in total.

Top
 Profile Visit website  
 
 Post subject: Re: Click in Sequence
PostPosted: February 1st, 2013, 2:30 pm 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
Hi Leo,

At what point are you stuck? Can you say a bit about how the correct sequence is created (by you in the Editor, or is this something the User creates once... i.e., mimic a click-sequence password)?

As for the attachment, please try again. If it was an image/screencapture, try to reduce the pixel dimensions and/or the saved image quality (filesize).

Regarding scripting something like this, there are many ways to code the logic -- depending first on how that sequence is specified or how it may vary on another Page, frame, or shuffling.

ETA: for the R and W buttons hide/show, I would simply have only one Button and then Insert Variable for the label text. That way your grading logic can simply change the value for that variable.

_________________
_good things come to those who wait(0)_


For this message Lar_123 has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Click in Sequence
PostPosted: February 1st, 2013, 2:55 pm 
Offline

Joined: November 3rd, 2004, 8:12 pm
Posts: 129
Location: New Brunswick, Canada
Opus: 8.6
OS: Win 8 (ASUS) - Win 7: (ASUS)
System: Asus - Windows 7 - 8 - Intel Core 3 - 4RAM - 16RAM
I guess that the forum don't like .7zip files so I had to zip it. Now the attachment is there.

_________________
Leo Taylor
Win XP Home / Opus Pro 7.01 & 6.4 / P4-2.8 / 1.5 GB RAM / ATI All-in-Wonder 9600 /160GB-HD


For this message Leo Taylor has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Click in Sequence
PostPosted: February 1st, 2013, 3:10 pm 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
I see you got the attach up. I probably cannot work with it as I am using Opus v7 (just have not got my new dev system up and running yet, which will have v8 on it).

So will need some others to pick up here.

_________________
_good things come to those who wait(0)_


For this message Lar_123 has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Click in Sequence
PostPosted: February 1st, 2013, 4:51 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
You need to program in some logic.

1. create a page variable - number type starting at zero - called myClicks?

2. Add a click action to each balloon that increases the myClicks variable by one.

3. check that the myClicks variable equals the index value for the balloon. IE if the third balloon in the sequence is clicked first, myClicks would equal one not three.

Each balloon will have a slightly different IF statement - if myClicks == 1 or if myClicks == 2 or if myClicks == 3 or if myClicks == 4 on the appropriate balloon.

4. for each of the if statements you'll need an action to perform if right or wrong. If right you hide the balloon, if wrong you show the W button.

You'll also need some extra actions on the right or wrong part. On the right as well as hiding the balloon, you'll need to check is myClicks = 4 so that you can then show the R button. Likewise, if the if statement is wrong, you may want to disable the other balloons to stop the user continue play.

Mack

PS +1 to add .7z as a file type.

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


For this message mackavi has been thanked by : Leo Taylor


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 42 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