Need help with memory game

For questions about using Classic.

Post » Wed Sep 01, 2010 9:53 pm

Thank you very much for the demo cap.Finally i can create this game and keep the kids happy.
B
22
S
3
G
6
Posts: 1,356
Reputation: 7,141

Post » Thu Sep 02, 2010 12:19 am

WOW this looks nice!
Can you add pictures to the demo?
B
28
S
8
G
8
Posts: 530
Reputation: 7,154

Post » Thu Sep 02, 2010 3:11 pm

Ok just to make things very clear on how i want this game to behave.Here is the oldskool KNP card game.Just unzip the contents to a place on your hd.Note: The game works perfectly with Winxp but i haven't tested it yet on win7.The year the game was created was 1994 and still uses 256 colors.

[url:1d8ucagg]http://dl.dropbox.com/u/7658043/cardgame.zip[/url:1d8ucagg]

This is just to show how i want to create the game with Construct , But with enhanced gfx.

The array trick won't work because if you want to destroy the tiles then one tile will always show.
B
22
S
3
G
6
Posts: 1,356
Reputation: 7,141

Post » Thu Sep 02, 2010 3:51 pm



[url:3128jqe7]http://dl.dropbox.com/u/7658043/cardsmem.exe[/url:3128jqe7]

Ok here is the demo with the images instead of the boxes.I will post the cap later.But i still want the cards to dissapear when i click on the right cards.
B
22
S
3
G
6
Posts: 1,356
Reputation: 7,141

Post » Thu Sep 02, 2010 6:23 pm

Well you can always change visibility, opacity, or use a dummy like your pic.
Image Image
B
161
S
48
G
90
Posts: 7,348
Reputation: 66,751

Post » Thu Sep 02, 2010 8:13 pm

Yes of course!!.Thanks newt.I will let the animation play to a empty frame.Newt your'e a genius thank you.
B
22
S
3
G
6
Posts: 1,356
Reputation: 7,141

Post » Thu Sep 23, 2010 3:36 pm

This was a fun Match Game demo

But while it is a very good example I am a little confused on how it works. How can I add pictures to the bottom of the Cards?

It looks like it is in the Star of layout/For each element section but after that I am at a loss.
B
28
S
8
G
8
Posts: 530
Reputation: 7,154

Post » Thu Sep 23, 2010 8:00 pm

[quote="Guyon":2jwockq9]
But while it is a very good example I am a little confused on how it works. How can I add pictures to the bottom of the Cards? [/quote:2jwockq9]

All the pictures for the cards are simply frames of the card sprite. The back of the card is the first frame.
B
21
S
6
G
10
Posts: 1,024
Reputation: 7,445

Post » Fri Sep 24, 2010 6:42 pm

Duh! I missed that.

Thanks PixelRebirth
B
28
S
8
G
8
Posts: 530
Reputation: 7,154

Post » Thu Feb 24, 2011 4:10 pm

Hi there,
I would like to ask another question about how this works.

In "Start of Layout" Event No. 4 it says

Event: For "Addkeys" from 1 to (Array.SizeX*Array.SizeY) 2
action : HashTable: Insert key str(LoopIndex+1) with value 0

What does that exactly do?

I am trying to modify it, so the pairs, which are already correct dissolve instead of just staying there, but to no success yet.

So I am trying to find out, what each line in the Event sheet is doing exactly.

Thanks a lot in advance!

Manuela
B
1
G
1
Posts: 2
Reputation: 429

PreviousNext

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests