Search found 1 match
- Sun May 14, 2023 10:05 am
- Forum: Support and Development
- Topic: needing help with collision and detecting if collision has hit "displayMask"
- Replies: 1
- Views: 1119
needing help with collision and detecting if collision has hit "displayMask"
first forum post im making a pizza tower fangame, pizza tower has these masks for detecting if something has hit a wall. im trying to add this into LOVE2D via a CheckCollision function, but it doesnt seem to work. heres my code function Player:CheckCollision(x1,y1,w1,h1, x2,y2,w2,h2) local ct = {lef...