Discord
Login
Community
DARK THEME

issues with collision

hi, i freshly got into coding and i try to make a sprite collide correctly, i tried this AABB colision, sadly i struggle with where to put which value.

sprite = object x = 0 y = 0 width = 20 heigth = 20 end

wall = object x = 140 y = 0 width = 20 heigth = 20 end

see example >> https://microstudio.dev/i/HomineLudens/aabb/

Alternatively: https://microstudio.io/JimB007/spritesoverlap/

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community