I need help

Get help using Construct 2

Post » Sun Nov 24, 2013 10:35 am

Hi I wanted to create a different motion on the same duplicate object. Unfortunately, nothing comes out. I sat late into the night. I'm counting on your help. In Annex example:

.box.com/s/0lmv35thyucceoax4t6q
B
3
Posts: 7
Reputation: 214

Post » Sun Nov 24, 2013 10:57 am

Give the object an instance variable and add conditions to your events.

if variable is movement 1 - select your actions
if variable is movement 2 - select other actions
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 » Sun Nov 24, 2013 11:24 am

Doesn't an instance variable apply to all instances so if movement was 1 or 2 then all instances would perform those actions?
Image
B
47
S
17
G
3
Posts: 206
Reputation: 5,061

Post » Sun Nov 24, 2013 3:07 pm

I'm sorry I tried did not work
B
3
Posts: 7
Reputation: 214

Post » Sun Nov 24, 2013 3:14 pm

Littlestains solution should work. I can't really tell what you're trying to do with your capx though. And I only see one movement type.
B
62
S
20
G
56
Posts: 1,077
Reputation: 36,021

Post » Sun Nov 24, 2013 4:30 pm

I want to execute the movement of each object down at another time. I want objects do not move in the same direction but each according to his schedule. When the counter draws a number, I would like that it was different for each element. I want to introduce haos in this movement. When we have one object works ok when we have a few see how it works. The example above, I am not able to realize. It is to be a platform game and the object is to block the player subtracting hpdEn222013-11-24 16:32:19
B
3
Posts: 7
Reputation: 214

Post » Sun Nov 24, 2013 5:37 pm

[QUOTE=LittleStain] Give the object an instance variable and add conditions to your events.

if variable is movement 1 - select your actions
if variable is movement 2 - select other actions [/QUOTE]


Little You can help my?
B
3
Posts: 7
Reputation: 214

Post » Sun Nov 24, 2013 6:36 pm

ImageImageImage
B
71
S
22
G
259
Posts: 3,794
Reputation: 143,704

Post » Mon Nov 25, 2013 6:30 am

I have 139 version only. :(
B
3
Posts: 7
Reputation: 214

Post » Mon Nov 25, 2013 6:33 am

146 is the latest stable release.
https://www.scirra.com/construct2/releases
ImageImageImage
B
71
S
22
G
259
Posts: 3,794
Reputation: 143,704

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 29 guests