Bug at deleting & recreating player frm tutorial ?

Bugs will be moved here once resolved.

Post » Fri Mar 09, 2012 7:43 pm

[r80-81] Strange behavior after deleting & recreating player instance ? (from Ghost Shooter Tutorial)

To repro :
- Tested on Construct r80 & r81

- Download Ghost Shooter tutorial project from this page:
http://www.scirra.com/tutorials/37/beginners-guide-to-construct-2/page-7
or direct link to the capx project:
http://www.scirra.com/downloads/ghostshooter-tutorial.capx

- Delete the player object (use the Object Bar if you have difficulties to select it because it's overlap with the "game over" text)

- Recreate player object by dragging it from Project Bar

- Run Preview (or export it if necessary, both will have the same problem)

- Move around the player and keep shooting with mouse click,
soon the player sprite will offset from its real position

Screenshot:
B
34
S
13
G
8
Posts: 134
Reputation: 8,118

Post » Fri Mar 09, 2012 8:00 pm

Not a bug: keep an eye on the active layer. You are dragging the player on to the UI layer which has scrolling disabled (set parallax to 0, 0 earlier in the tutorial). To fix it, make sure you recreate the player on the 'Main' layer.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,528

Post » Fri Mar 09, 2012 8:03 pm

Thanks Ashley, that's exactly what's happen.

Sorry for the noob mistake, I'm still working through the tutorial
B
34
S
13
G
8
Posts: 134
Reputation: 8,118


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 5 guests