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
95
S
34
G
33
Posts: 3,007
Reputation: 27,876

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
81
S
32
G
23
Posts: 1,053
Reputation: 35,965

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
81
S
32
G
23
Posts: 1,053
Reputation: 35,965

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 11 guests