Possible Bug with Template: Platformer

Bugs will be moved here once resolved.

Post » Mon Nov 04, 2013 11:53 pm

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

Steps to reproduce:
1. Create New from Template: Platformer
2. Add Mouse, Sprite Bullet
3. Add Bullet Behavior to bullet sprite
4. Add on left click of mouse and spawn bullet from player

Observed result:
I added Mouse and a Sprite Bullet. Onclick of left mouse fire bullet from player. That works, BUT it fires offset like 100 pixels below the player. Not sure why, the logic is dead simple.

Expected result:
Bullet should fire from 0 0 of player

Browsers affected:
Chrome: yes
Firefox: not tested
Internet Explorer: not tested

Operating system & service pack:
Windows Vista

Construct 2 version:
Beta 149, but saw in last stable as well.
    
B
21
S
7
G
1
Posts: 128
Reputation: 3,076

Post » Tue Nov 05, 2013 1:21 am

You're spawning the bullet on layer 0 (which is the background) and it has paralax. Just change it to layer 1 or 2 and it'll work fine.andreyin2013-11-05 01:22:20
B
122
S
42
G
40
Posts: 846
Reputation: 27,994

Post » Tue Nov 05, 2013 4:49 pm

Closing as not a bug.
Scirra Founder
B
387
S
230
G
88
Posts: 24,249
Reputation: 192,450


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests