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