Draws a b2d image inside the GUI. Takes image (A b2d image handle (b2dLoadImage)), w (Width to draw it (0 = the image's width)), h (Height to draw it (0 = the image's height)).
image
Int
w
Int
h
Int
Global icon:Int = b2dLoadImage("Media/coin.png")
; ...
igiImage(icon, 32, 32)
igiSameLine()
igiText("x " & ToString(coins))