Solid Behavior

Bugs will be moved here once resolved.

Post » Thu Jul 04, 2013 10:10 am

Link to .capx file (required!):
https://www.dropbox.com/s/lmieydfu1g66hdu/prob.capx

Steps to reproduce:
1. Play game
2. Using arrow keys, move character around
3. Hit a house or a tree

Observed result:
Character partially passes through/into object OR hits an invisible wall several pixels around the object

Expected result:
Character bumps into object but cannot pass through/into it

Browsers affected:
Chrome: n/a
Firefox: yes
Internet Explorer: n/a

Operating system & service pack:
Vista

Construct 2 version:
r137
B
11
S
4
G
3
Posts: 210
Reputation: 5,318

Post » Thu Jul 04, 2013 10:35 am

This isn't a bug - you've incorrectly aligned your PlayerAnimation and Player object. You need to set PlayerAnimation's position to the Player object before pinning it.
B
57
S
15
G
11
Posts: 912
Reputation: 12,581

Post » Thu Jul 04, 2013 10:45 am

Your issue is due to the fact that you don't position the animation over the collision object well before pinning it.
Try to paint a color in the texture of your "Player" object and set it to be visible, you will directly see what's going wrong.

Also when reporting bugs, always try to strip down the capx to something simpler.
Also in that case, it's not a bug, but something that would have fit better in the "How do I" forum.

Closing as not a bug.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
268
S
96
G
67
Posts: 7,219
Reputation: 73,739


Return to Closed bugs

Who is online

Users browsing this forum: JackTheCreative and 2 guests