@tonyg
must I like it like this ?
strict
Local button:TImage = LoadImage("incbin::images/button.jpg")
local x:float,y:float
gethandle(x,y)
While Not KeyHit(KEY_ESCAPE)
Cls
ResetCollisions
DrawImage button,200,34
print button.handle_x + " " + button.handle_y
drawtext button.X() and button.Y(),0,0
Flip
Wend
-------------
@ FlameDuck
I'm going to make some type's later.
But this was only my "starting with blitzmax" code
must I like it like this ?
strict
Local button:TImage = LoadImage("incbin::images/button.jpg")
local x:float,y:float
gethandle(x,y)
While Not KeyHit(KEY_ESCAPE)
Cls
ResetCollisions
DrawImage button,200,34
print button.handle_x + " " + button.handle_y
drawtext button.X() and button.Y(),0,0
Flip
Wend
-------------
@ FlameDuck
I'm going to make some type's later.
But this was only my "starting with blitzmax" code