How do I vary sides for sorting?

Get help using Construct 2

Post » Sun Mar 15, 2015 10:17 pm

Hi there! I've been using Construct 2 for a while but I haven't done anything SUPER complicated haha.
I'm working on a sorting game where players click the left or right arrow to sort the item left or right.
I want to randomize the direction (left or right) the items need to be sorted but I want to give players a score (using variables) when they get it right. How would I do this? Thank you! Thank you so much!!!! :oops:
EDIT: I solved one of my problems and reworded my other one!
B
4
Posts: 16
Reputation: 234

Post » Mon Mar 16, 2015 9:11 pm

Bump! I edited it!
B
4
Posts: 16
Reputation: 234

Post » Mon Mar 16, 2015 9:25 pm

Hi,

Don't really understand what kind of game you want to make, can you make a sample so we can help you?
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

Post » Mon Mar 16, 2015 11:08 pm

@beufreecasse well I can't create a sample, thats the problem!
I drew up a little sketch to show you. You sort the items in the middle to the side it belongs to. In the example you sort green and pink items to the right and blue items to the left. I already have it set up to vary what comes down the middle and I have that set up. I need help figuring out how I can vary the items being either left or right and give points when you get it right. Thank you!

Image
B
4
Posts: 16
Reputation: 234

Post » Mon Mar 16, 2015 11:36 pm

Need further explanations :
How do you want to decide if an item has to be on left or right?
How do you want to move something on left or right ? If you press left arrow it goes to the left?
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

Post » Tue Mar 17, 2015 12:01 am

@beufreecasse
1. I'm not sure! Thats what part of my problem is, I was thinking of having an Object/sprite that has different animations for the different items. And I could have it choose randomly?
2. The arrows sort it! Clicking left sorts left and clicking right sorts right.
B
4
Posts: 16
Reputation: 234

Post » Tue Mar 17, 2015 6:58 am

this is what i understand, tell me if i'm wrong:
Blocks are falling on the center, when you press an arrow block goes on the coresponding side.
But when do you decide if player wins or not?
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

Post » Tue Mar 17, 2015 1:34 pm

@beufreecasse Yes there is a line down the middle with the blocks!
But they do not go to the side when they are sorted, they vanish. Each block they sort correctly gives them points that are added up etc. There is a timer that ends the game.
I need help figuring out how I'll be able to vary the sides each type of item goes on and help with sorting system.
(For example, the pink item is on the left side the first time I play but the next time it could be on the right.)
B
4
Posts: 16
Reputation: 234

Post » Tue Mar 17, 2015 1:40 pm

For a block to vanish and increase your score you need to sort the block when it's in the same row of same color?
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

Post » Tue Mar 17, 2015 5:57 pm

@beufreecasse yes!
B
4
Posts: 16
Reputation: 234

Next

Return to How do I....?

Who is online

Users browsing this forum: Colludium and 19 guests