sethandle sets the handle for everything. like setcolor
Why do I use the coordinates of half the width and height? In my head, I thought SetHandle would want coordinates in the graph-space itself to pinpoint the location of my handle.
half the width and height is the center of the rect. That is local. like 0,0 is always the topleft of a image. doesnt matter where you later draw it
try SetImageHandle instead
thanks I will put that in my game
I earlier made a function SetOriginMidImage(). that I wont need
Why do I use the coordinates of half the width and height? In my head, I thought SetHandle would want coordinates in the graph-space itself to pinpoint the location of my handle.
half the width and height is the center of the rect. That is local. like 0,0 is always the topleft of a image. doesnt matter where you later draw it
try SetImageHandle instead
thanks I will put that in my game
I earlier made a function SetOriginMidImage(). that I wont need