Using a keyboard press as a trigger to spawn a bullet going a high speed makes the bullet spawn at an offset from the spawn point.
(Important note that confirms this as a bug: Using a gamepad does not reproduce this problem.)
Attach a Capx
https://drive.google.com/file/d/0B0gW1A ... sp=sharing
Description of Capx
"Spawner" sprite object spawns a "bullet" sprite object at image point 1 and 2 when arrow keys left or right are pressed.
When the "bullet" collides with "wall" sprite object, or overlaps it, "bullet" is destroyed.
Steps to Reproduce Bug
Bullet object is spawned at a huge offset from the image point and is not destroyed by the wall object because it doesn't overlap or collide with the object.
Bullet object spawns at image point X, overlaps/collides with Wall object and is destroyed.
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
- NW.js (YES)
Operating System and Service Pack
Windows 7 SP1
Construct 2 Version ID
This is one of the major bugs I mentioned in the email, hopefully this will help you debug C2.
Also I noticed that the offset from which the object spawns is related to both the object's speed, and the size of the original window.