Fade Screen speed challenge!

BlitzPlus Forums/BlitzPlus Programming/Fade Screen speed challenge!

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.


"You could use a bank, but they are not as fast as arrays."
OK this saves me some testing time, thanx.



Always test! I am not infallible. :-) I could be mistaken, or my results could have only applied to my own PC/video card.


As for types..

Type Blah
Field Foo[4]
End type

There's your array. But you can't adjust the size.

You could however have multiple types for different array sizes.

Type SixForty
Field Pixels[640*480]
End Type

Type EightHundred
Field Pixels[800*600]
End Type


But you'd have to have two or more copies of every part of your code which actually needs to access the screen if you did that.

I use bracketed arrays all the time in types, they work just fine.