Loadimage into Type

BlitzMax Forums/BlitzMax Beginners Area/Loadimage into Type

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

Any idea how to load the manimage into the player.image field please?



Type man

Field x,y,action,image

End Type

Global player:man

Global manimage:TImage=LoadImage("mainchr.bmp")

player=New man
player.x=400
player.y=300
player.image=manimage



thanks
Graham