Fast writing to a screen buffer

Blitz3D Forums/Blitz3D Beginners Area/Fast writing to a screen buffer

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.

For skidracer,

Lets say I'm doing a starfield with stars all over the screen. Would it be best to do LockedPixels to return the bank address. Is this just like the start of an array, the array being the hidden screen?

Then use PokeShort( bank, offset ) for each star. (16bits).

Not sure about CopyBank. For general sprites would the normal sprite plotting commands be fastest?

Thanks
Marg