well, I finally figure it out. I guess the way types in Blitzmax does not work the same way as in c and must be saved in a straight single dimension array of type floats. the above sample is a stripped down sample of what i was trying to figure out. I was trying to convert a c tutoral file from c to basic. i finally sort of did it except for the text part which I am still trying to figure out. here is what I got so far it uses alpha channel to see into the cube but not through. Use your own 255x255 png texture.
thanks everybod for your help :).
|