How do I make collision detection in JS or PHP or something? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How do I make collision detection in JS or PHP or something?

I want to try to make a game but I haven't really come across collision detection in any lessons.

12th Aug 2020, 6:44 PM
Dustin 🇺🇸
7 Answers
+ 3
What?
12th Aug 2020, 6:47 PM
Dustin 🇺🇸
+ 3
What is Canvas?
12th Aug 2020, 7:07 PM
Dustin 🇺🇸
+ 3
Thanks
12th Aug 2020, 7:12 PM
Dustin 🇺🇸
+ 2
try p5js it has a collision detection module.
12th Aug 2020, 6:47 PM
Oma Falk
Oma Falk - avatar
+ 2
See this: https://code.sololearn.com/WmM0Du149I4z/?ref=app This is for simple games! But for some awesome games you will have to learn Canvas!
12th Aug 2020, 6:51 PM
Namit Jain
Namit Jain - avatar
+ 2
Soapyguy This is just a basic information of canvas! For knowing more you can see videos on YouTube and many people in SoloLearn also have made many canvas codes! one of them is ChillPill (sorry to disturb sir) and lolo (sorry to you too👦) https://www.sololearn.com/learn/HTML/2201/ https://www.sololearn.com/learn/HTML/2203/
12th Aug 2020, 7:08 PM
Namit Jain
Namit Jain - avatar
+ 2
https://code.sololearn.com/W9iSz3A0HOE1/?ref=app
13th Aug 2020, 3:46 AM
Calviղ
Calviղ - avatar