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

how to make collision? #24

Open
CactiWasHere opened this issue Aug 17, 2021 · 1 comment
Open

how to make collision? #24

CactiWasHere opened this issue Aug 17, 2021 · 1 comment

Comments

@CactiWasHere
Copy link

No description provided.

@andrewhoyer
Copy link

There's no physics built in. You need to code collision detection in yourself, or add in another 2D framework that handles it. In all the games I've built with Pixelbox.js, I just check the positions of each sprite each frame and detect collisions that way.

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