when i read this i thought it would be a good way to cut my teeth on BlitzMax. i have a mostly finished mappy mod you can download here. i used pub.mod and it should go in a mappy.mod directory under that. also with the zip is the isotest converted to use the new MappyMap class. there are a couple of issues im hoping someone with more knowledge can pick up on what im doing wrong and fix.
the first is masking which isnt working. inside of the method MapDecodeBGFX is the code to set the mask information. the old BB code used the MaskImage command. i think i gathered enough info from the posts to convert it correctly to use MaskPixmap, but if i didnt then that may be where the problem lies. also, im not clear on the SetBlend functionality so i may be screwing something up there too. not sure where or when to use it. every image used is created manually from information stored in the mappy file. CreateImage with the MASKEDIMAGE option is being used. then each pixel is plotted individually. in any case, the iso example works, but the masking is not.
the second issue is converting the 6 parameter form of DrawImageRect. BlitzMax only has 4 parameters and im not sure how to replicate the desired functionality in BlitzMax. the locations where these are used can be found by searching on the word "PROBLEM".
anyone feel like taking a look and picking up where i left off?
the first is masking which isnt working. inside of the method MapDecodeBGFX is the code to set the mask information. the old BB code used the MaskImage command. i think i gathered enough info from the posts to convert it correctly to use MaskPixmap, but if i didnt then that may be where the problem lies. also, im not clear on the SetBlend functionality so i may be screwing something up there too. not sure where or when to use it. every image used is created manually from information stored in the mappy file. CreateImage with the MASKEDIMAGE option is being used. then each pixel is plotted individually. in any case, the iso example works, but the masking is not.
the second issue is converting the 6 parameter form of DrawImageRect. BlitzMax only has 4 parameters and im not sure how to replicate the desired functionality in BlitzMax. the locations where these are used can be found by searching on the word "PROBLEM".
anyone feel like taking a look and picking up where i left off?