Bullet Spawn is different in OR statment

Bugs will be moved here once resolved.

Post » Mon Nov 25, 2013 11:01 pm

Link to .capx file (required!):
https://dl.dropboxusercontent.com/u/2045883/bugReport.capx

Steps to reproduce:
1. Load .capx.
2. Run "Layout - Level 1".
3. Observe the OR statement.
3. Press Space bar or A button on Xbox Gamepad.

Observed result:
Bullet Spawn point is different.

Expected result:
Bullet Spawn point should be the same.

Browsers affected:
Chrome: yes
Firefox: yes
Internet Explorer: ? can't test

Operating system & service pack: Windows 7 64 bits SP1

Construct 2 version: 151

Please report to me when this is ready, so I can delete it.
B
33
S
9
G
1
Posts: 156
Reputation: 3,034

Post » Tue Nov 26, 2013 12:53 pm

Closing as not a bug; set a text object to the bullet's Y co-ordinate in that event and it's the same both ways. I think it's just because gamepad and keyboard input are received at different points within the game loop, and with the keyboard input it ticks the bullet behavior before it draws, so it appears a frame ahead (even though it was created in the same place).
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,351

Post » Wed Nov 27, 2013 12:50 am

Will research a bit how to compensate, though the engine should be "aware" of that.

Thanks!
B
33
S
9
G
1
Posts: 156
Reputation: 3,034


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest