Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
1

Collision detection problem

ia13ru
ia13ru

I am having problems with code which is detecting collision.
All JavaScript(which is most likely where the problems are) is in script.js.
I apologise in advance for the large block of code and not giving you much input in which lines to check.

2 years ago

Voters

Comments

TopNew
0

What collision are you talking about?
You may find it helpful to look at the code in this game I made some time ago: https://replit.com/@malvoliothegood/banana-game#index.html

2 years ago
1
ia13ru
ia13ru

@malvoliothegood
It turns out I named a variable the same as an object

2 years ago
1

@ia13ru
Well spotted!

2 years ago
1
migoyo
migoyo

Thanks for the blog loaded with so many information. Stopping by your blog helped me to get what I was looking for. เว็บแทงบอลที่ดีที่สุด

3 months ago
1
TurboTurbojr
TurboTurbojr

Im trying to add collision detection to my game so the guy can hit the other guy and he dies. But i cant figure it out someone help?

10 months ago
Load more