marching in step...(solved)

Discussion and feedback on Construct 2

Post » Sat Apr 02, 2011 4:29 pm

Glad you got it working. Just thought I'd mention that most conditions are actually 'if' statements, though. :)
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Sat Apr 02, 2011 5:50 pm

yeah, i was too lazy to change that. i actually meant the conjunctions of 'if/else' and 'and/or'. hope i did not confuse any noobs.

and if anyone sees a cleaner/more elegant way of making it work, i'll be glad to see it. every little bit helps when you're learning new software.

and thanks again for helping me with the 'capx' thing.
B
52
S
17
G
15
Posts: 1,029
Reputation: 26,339

Post » Sun Apr 03, 2011 2:49 pm

i realized after i separated the enemy movement from the collisions with the side barriers, that i did not even need the side barriers.

i replaced the checks for barrier right/left collisions with math conditions; enemy.X >= 600 or enemy.X <= 40, and it worked the same.

less resources for the same functionality is always better i suppose.
B
52
S
17
G
15
Posts: 1,029
Reputation: 26,339

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: spacedoubt, Unconnected and 2 guests