8 Direction is moving event (possibly reversed)

Bugs will be moved here once resolved.

Post » Thu Jan 16, 2014 12:28 am

Link to .capx file (required!):
https://www.dropbox.com/s/agnf0ta06h6635o/Pacman%20issue.capx

Steps to reproduce:
1. Using the 8Direction is moving event

Observed result:
The event seems to be in reverse. If I use 8Direction is moving, then actions will not trigger until the sprite has stopped moving. However, if Inverse the event to NOT 8Direction is moving then the actions trigger while the sprite is moving.

Expected result:
Actions should trigger under the event 8Direction is moving and stop when sprite has come to a halt.

Browsers affected:
Chrome: yes
Firefox: (unknown)
Internet Explorer: yes

Operating system & service pack:
Windows 8.1

Construct 2 version:
r156 beta 64-bitachromicia2014-01-16 00:28:55
B
10
S
2
Posts: 6
Reputation: 1,183

Post » Thu Jan 16, 2014 2:32 am

The problem is with your events. When not moving, you're continually starting the animation to it's current frame. So if the instance stops moving while it's frame is 1, your events will continually set the animation frame to 1, making it look like the animation isn't playing at all. When the Pacman instance is moving, events are no longer continually setting the animation frame, so the animation plays normally.
B
64
S
19
G
8
Posts: 341
Reputation: 12,185

Post » Thu Jan 16, 2014 5:00 am

Aren't I the silly one. Thanks heaps for the quick reply!
B
10
S
2
Posts: 6
Reputation: 1,183


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 6 guests