B2D to B+

BlitzPlus Forums/BlitzPlus Programming/B2D to B+

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.

There is a short guide to migrating from B2d to B+ in the User Guide. The key thing that will be missing from the demo that has been addressed since is WaitTimer. This has now been re-instated, so you don't have to rewrite all your timing code to deal with events. The other things that catch some people out is the change to Print / Input and the removal of Locate (although unless you have a _really_ simple game, I'd be surprised if you use these).

You may also experience slowness at first, but later updates address this, plus if you start to use the new LoadImage flags (to force gfx into appropriate memory), and the new locked buffers, you can achieve must faster per pixel operations.

The only other thing that caught me out was that each buffer now has it's own set of colors. You can't assume that Color 255,255,255 will change the pen on all buffers, you must set it for each one as you use it.