How do I Make a Game Card (Domino Card)

Get help using Construct 2

Post » Tue Jul 14, 2015 4:18 am

I want to make game : a domino card (the card has 2 value), how I can compare, how I can give a value for image. so what a plugin must I use... ? thank you for ur helping

(sorry my english is not good) :)
B
6
S
1
Posts: 12
Reputation: 422

Post » Tue Jul 14, 2015 6:00 am

There are more than one way..
The two easiest:

- You could have an animation on the card holding all different values in different frames and compare the frame-number..
- you could give the card an instance variable and set it to the number you want and compare that variable..

No plugins required..
(except for the sprite object ofcourse)

if the card has only two possible values, using a boolean instance variable would do..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Tue Jul 14, 2015 7:28 am

LittleStain wrote:There are more than one way..
The two easiest:

- You could have an animation on the card holding all different values in different frames and compare the frame-number..
- you could give the card an instance variable and set it to the number you want and compare that variable..

No plugins required..
(except for the sprite object ofcourse)

if the card has only two possible values, using a boolean instance variable would do..


thank you about your suggestion, I will tried... :)
B
6
S
1
Posts: 12
Reputation: 422


Return to How do I....?

Who is online

Users browsing this forum: darkrealos, Rhindon and 19 guests