Problems to obtain the specific result

Get help using Construct 2

Post » Sun Dec 01, 2013 10:32 pm

Hi @LittleStain

You watched the game?
B
74
S
13
G
4
Posts: 1,005
Reputation: 8,051

Post » Mon Dec 02, 2013 9:50 am

Yes I watched the game.. looks great.. To help you with solving your problems it would be easier if instead of having to play the whole game you'd reduce the number of blocks created so the issue can be checked more easily.

Playing the game I ofcourse have no idea how you have your events set up, but having to play for a long time before I get to where you say the problem is, doesn't help in determining what could be the cause for the problem.
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 » Mon Dec 02, 2013 11:46 am

Hi @LittleStain

I understand. Can I send you print-screen of the code referring to the part of the draw, distribution and control of cubes?
B
74
S
13
G
4
Posts: 1,005
Reputation: 8,051

Post » Mon Dec 02, 2013 11:52 am

Ofcourse you can send it..

If there aren't any other events that could be conflicting with these anywhere else in your event sheet, I could probably figure it out..
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 » Mon Dec 02, 2013 12:25 pm

Thank you

Sent by PM.
B
74
S
13
G
4
Posts: 1,005
Reputation: 8,051

Post » Mon Dec 02, 2013 1:10 pm

At first glance the contaloop = randomNum is the issue.

in the event gnumberblocks<3 there is no reference to randomnum or contaloop.
Solution might be:
add an action set randomnum to gnumberblocks
and at the for each subevent set add 1 to contaloop.

I'm not sure, but this could be the whole thing..

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 » Mon Dec 02, 2013 3:13 pm

I did it:



And not worked.RenatoB2013-12-02 15:14:00
B
74
S
13
G
4
Posts: 1,005
Reputation: 8,051

Post » Mon Dec 02, 2013 3:48 pm

Maybe I'm being blind, but I don't see where you are changing gnumberblocks..

so if it always stays the same it never is less than three..
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 » Mon Dec 02, 2013 4:29 pm

New one with changes (didn't work too)

[/IMG]
B
74
S
13
G
4
Posts: 1,005
Reputation: 8,051

Post » Mon Dec 02, 2013 4:42 pm

I didn't mean in this part of your event sheet. you are checking if gnumberblocks is less than three here, but there aren't any actions in the whole of your event sheet to change the value of gnumberblocks.

when numberblocks are destroyed, gnumberblocks should change, but it doesn't as far as I can see.

make a new textobject on your layout and every tick set its text to gnumberblocks. see if it changes, for if it doesn't that's the problem.
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

PreviousNext

Return to How do I....?

Who is online

Users browsing this forum: Blendi1223, kellehk and 22 guests