Bullet speed turns negative after 2000

Bugs will be moved here once resolved.

Post » Sun Jul 27, 2014 8:28 pm

Problem Description
When an accelerating bullet's speed reaches somewhere just after 2000 it starts returning negative numbers (though it keeps accelerating properly).

Attach a Capx
bullet_bug.capx


Description of Capx
Hold down the mouse button, the ball increases in speed. Text shows bullet speed.

Steps to Reproduce Bug
    make anything with a bullet behavior
    speed it up past 2000
    read the bullet speed

Observed Result
seems like there's a range from around -2000 to 2000 the bullet speed cycles through.


Affected Browsers
  • Chrome: (?)
  • FireFox: (YES)
  • Internet Explorer: (?)

Operating System and Service Pack
Windows Vista Home Premium
SP2

Construct 2 Version ID
r173
You do not have the required permissions to view the files attached to this post.
B
88
S
43
G
71
Posts: 601
Reputation: 43,669

Post » Mon Aug 04, 2014 3:58 pm

That's a weird bug! Fixed for the next build. Luckily it's only the 'speed' expression returning the wrong value - it is actually still moving with an increasing speed to the right.
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,351


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest