Mappy with Blitz Max

BlitzMax Forums/BlitzMax Beginners Area/Mappy with Blitz Max

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

The syntax for Types in BlitzMax is different than that of Blitz Basic or B3D. An object type is defined with ':' and the fields are accessed with '.', so the above code would translate as...

b:BLKSTR = MapGetBlock(xpos,ypos)
If (b.user1 = z) Then ' something!

MapGetBlock would have to return a BLKSTR type.

I've not used Mappy myself, so can't help you any more than that. You may need to provide more information before someone who has can help you out, as you've been a little on the vague side about the problem you get. Does Mappy come with BiitzMax source or are you trying to convert Blitz Basic code?