[Request] Platform: Compare X/Y Speed

Discussion and feedback on Construct 2

Post » Sun Dec 23, 2012 6:28 pm

The CustomMovement behaviour has a Compare Speed condition which allows you to choose X speed, Y speed, or overall. The Platform behaviour, however, doesn't give you the choice. A simple workaround is to use the System object's 'Compare two values' condition, but consistency is kinda nice and it would be a few less steps when making simple additions to the Platform behaviour. Would this be possible?
B
62
S
26
G
12
Posts: 122
Reputation: 11,330

Post » Thu Feb 28, 2013 6:24 pm

I second this. I've just learned about the System>Compare paradigm, and meh.

So my current solution, since I just MUST see the little platform guy next to my platform events, was to hack the platform behavior's javascript files to add my own custom comparison conditions.

The good news: this took about a minute.

The bad news: I'll have to re-patch it every. single. update. and it will make sharing .capx impossible.
B
6
S
1
G
1
Posts: 70
Reputation: 702

Post » Thu Feb 28, 2013 7:29 pm

You can also give the object a variable and set it to the platform speed, then you can pick by comparing the variable.
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,422


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 14 guests