Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 8:20 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Creating memory game
PostPosted: February 16th, 2013, 5:35 pm 
Offline

Joined: October 15th, 2012, 1:20 pm
Posts: 10
Opus: Creator 9.04
OS: Windows 7
System: laptop Intel i3 M330 @ 2,13 GHZ 4Gb RAM 64 bit Browser IE11 and Firefox 30.0
Does anyone know how to build a memory game (matching images) in Opus Creator and/or have a manual how to create one, please? I have tried to find out how the farmyard pairs game works, but I did not succeed. I am using Opus Creator 8.04.
Thanks in advance. Erik.


For this message Erikh has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Creating memory game
PostPosted: February 17th, 2013, 11:41 pm 
Offline

Joined: October 25th, 2004, 3:03 pm
Posts: 540
Location: Tyalgum Creek. Australia
Opus: Opus Pro Latest version 9.02 Build 16458
OS: Won 10
System: Asus laptop Intel Core i5 8 gig ram, big monitor, reading glasses
Erikh

A memory game ....

Do you want to have a number of images on the screen and then have the user select an image which then shows, and then the user selects a second image which shows as well. If the images match, the images stay but if the images don't match, the images turn over and then the user has to select another two images trying to pair matching images.

Is that the type of memory game you have in mind?

Other questions leap to mind

Is your proposed memory game for kids or adults?
How many images would you want on screen?

etc.

Before you start, you really need to plan exactly what you want to create and then if you need assistance, tell forum members exactly what kind of help is needed.

There are quite a few tutorials in the tutorial section of this forum that may be useful to you.

I doubt if anyone here has written a manual on how to create a memory game using Creator, but I'm sure if anyone has, then will soon let you know via this forum.

Cheers

Graham

_________________
Too much coffee can result in frequent toilet breaks!


For this message Graham Baglin has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Creating memory game
PostPosted: February 18th, 2013, 8:54 pm 
Offline

Joined: October 15th, 2012, 1:20 pm
Posts: 10
Opus: Creator 9.04
OS: Windows 7
System: laptop Intel i3 M330 @ 2,13 GHZ 4Gb RAM 64 bit Browser IE11 and Firefox 30.0
Hello Graham,

Thanks for your reply.
The type of memory game you describe is the one I mean. The games I would like to create are meant for children. I want to use them for speech and language therapy. There should be about 36 pictures/cards maximum on the screen. Once a card is clicked, it should turn and show a picture. While turning the name of the picture will sound. The turned image must stay visible until a second card is clicked and shows its picture. If the pictures match, they stay visible, if not they will turn back again. When a new game starts the cards must shuffle. I have built games like this in JClic before.
In Creator I manage to make a card turn and play the sound, but I don't know how to make matching pictures stay visible and non-matching pictures turn back again.

I think the principle of programming this type of game does not depend on the number of cards, or am I wrong? Once I know how to create a game with 2 or 3 pairs, I think I can figure out how to create a game with more pairs.
Can you or someone else give me some hints, please?

Kind regards,

Erikh


For this message Erikh has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Creating memory game
PostPosted: February 19th, 2013, 12:17 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Lots of logic and lots of IFs. Some notes:

Opus 8 can shuffle positions so that should be covered.

You need to id whether the turned card is the first or second

You need to record data on the turned card - such as it's face value for comparison to the other card face and it's unique identifier such as card twelve and that it has been turned

You need to respond to the second card turned - if we're using actions, then perhaps call a custom trigger on a main object - like the page. This trigger can then cycle through a load of IFs checking all the cards in the deck for various conditions such as:

1. Is card turned?
2. Does value for card turned card match stored value for two cards selected?
3. If match above, disable card from further action and mark variables as found?
4. If #2 doesn't match - turn card back over.
5. record number of matches to know when to end game.

This is just a basic suggestion for the game using actions.

Mack

_________________
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


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 18 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group