Custom Movement not working correctly

Bugs will be moved here once resolved.

Post » Mon Sep 26, 2011 4:57 pm

[QUOTE=R0J0hound]1. The collision position is not updated when setting an object's position to another object's hotspot.
commonace.js line 107[/quote]
That's been fixed, was also reported in another thread.

[quote]2. If the "push out at angle" action is used I get a grey preview in firefox. The error console said ux and uy were not declared.   
behaviors\custom\runtime.js line 349[/quote]
Oops, missing 'var' keywords which strict mode doesn't like, fixed.

[quote]Found another bug, the angle used with "push out at angle" needs to be converted to radians.[/quote]
Good catch! Fixed for next build.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Mon Sep 26, 2011 6:47 pm

Well, it's nice to see my example has at least caught some bugs, but there's still the problem of the very first event not working at all. I've tested to make sure. Hell, I moved the text actions from event 3 as a debug measure. Definitely not working.
B
94
S
37
G
11
Posts: 404
Reputation: 11,275

Post » Mon Sep 26, 2011 8:47 pm

[QUOTE=Candescence] Well, it's nice to see my example has at least caught some bugs, but there's still the problem of the very first event not working at all. I've tested to make sure. Hell, I moved the text actions from event 3 as a debug measure. Definitely not working.[/QUOTE]
I think that's related to what I mentioned earlier: at first 'on ground' is false so it doesn't run, but when it lands on the ground it has 0 speed, and when it has 0 speed it never steps so the 'on step' event never runs. So it never sets 'on ground' to true. You probably want a detector or something there.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Tue Sep 27, 2011 9:46 am

I'm aware of that, but even when it DOES move (when moving left and right in the full example), it doesn't work either.


Also, I'm pretty sure moving left with "accelerate at horizontal speed -400" and moving right with "accelerate at horizontal speed 400" is how it's SUPPOSED to work, because my attempts to accelerate via angle and decelerate using negative values work FAR WORSE than simply using negative and positive for left and right, respectively - anything else basically results in the PlayerSprite just moving to the left.

Edit: I can definitely say that the problem still isn't fixed in r59.Candescence2011-09-27 14:15:14
B
94
S
37
G
11
Posts: 404
Reputation: 11,275

Post » Tue Sep 27, 2011 2:35 pm

Disregard my last post. IT WORKS IN r59! Not amazingly, but what the hell, it's a start.Candescence2011-09-27 14:38:59
B
94
S
37
G
11
Posts: 404
Reputation: 11,275

Previous

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest