Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix player collider (it seems to be shifted up) #23

Closed
the-simian opened this issue Jun 19, 2018 · 8 comments
Closed

Fix player collider (it seems to be shifted up) #23

the-simian opened this issue Jun 19, 2018 · 8 comments

Comments

@the-simian
Copy link
Member

No description provided.

@GabeAtWork
Copy link
Contributor

GabeAtWork commented Jun 21, 2018

I can't seem to be able to debug the player collider as indicated here: http://labs.phaser.io/edit.html?src=src%5Cphysics%5Carcade%5Csimple%20body.js

I'm interested in how you can debug that sort of problem ^^

(I did set debug to true in src/index.js but I couldn't see any change)

@the-simian
Copy link
Member Author

@GabeAtWork yeah, I had the same problem! I even looked at this to see what was going on. I can tell the collider is too tall, but I'm not 100% sure why that's the case. Let me take another look with your comments in mind.

I sincerely appreciate all you help and input so far!

@GabeAtWork
Copy link
Contributor

Sure! Thank you for working on this project in the first place! It makes it really easy for someone like me with JS/ES6 experience to delve into Phaser. I like working on it even if I can't do much, it allows me to pick the engine up little by little ^^

@the-simian
Copy link
Member Author

I dropped a line in the html5 game dev forums http://www.html5gamedevs.com/topic/38408-phaser-3-debug-property-in-physics-not-drawing-debug-layer/

TBH I'm kind of stumped why its not drawing

@the-simian
Copy link
Member Author

Well i figured out how to get the debug working, so I'm able to actually fix the colliders, now. I'm nto sure why but you can only specify one scene

@the-simian
Copy link
Member Author

ok this is quick fixed, but I need to do the larger job of refactoring the animation

@the-simian
Copy link
Member Author

this will get fixed the right way with the solution to #24 , I'll close it then

@the-simian
Copy link
Member Author

fixed by #36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants