New improved behaviour in Android runtime
- Android application doesn't restart if suspended and resumed (e.g. switched to the background). Basic4GL runtime reestablishes OpenGL context, reloads all textures and carrys on from where it left off.
New BASIC language features
- Added support for function pointers. See language guide for more information.
New BASIC routines/functions
- WasProgramSuspended() function to detects whether the program has just resumed from being suspended. (Can use this to pause the game for example).
- DeleteTex() and DeleteTexArray() routines for freeing textures.
- Added TEXT_OVERLAID constant for TextMode() routine and SwapBuffers() routine (actually they were already there, but not really useful without ClearScreen(), so were previously undocumented.
- Added ClearScreen() routine for use in this mode.
- Fix crash when variable is evaluated before program has been run.
- Fix issue that prevented larger jpeg images from loading.
IMPORTANT: Due to the new commands the format for the virtual machine state (program.vm) has been changed.
If you generate a program.vm file with the new Windows application and attempt to run it on an older Android runtime IT WILL NOT WORK. Likewise if you try to run a program.vm file generated with an older Windows application on a newer Android runtime IT WILL NOT WORK.
Please make sure you update BOTH the Windows Application and Android runtime to the same version and rebuild your program.vm files
Very happy to say that Basic4GL Mobile v1.0 is here!
The main new piece is the Pro version, which can turn your BASIC game/program into a
stand-alone Android App, which doesn't require the Basic4GL App in order to run, and
can be sumitted to the Google Play store.
Basic4GL Mobile Pro can be purchased for $15 USD. See the
Twin stick shooter tutorial
A new tutorial on how to create a twin stick
shooter for PC and mobile. Now up on the tutorials page.
- Fix "run" command so that textures, sprites, sound effects etc are released.
- Set a FileError() message if OpenFileRead() or OpenFileWrite() fails.
This version also has improvements to the immediate mode UI. Text boxes will automatically
focus and bring up the on screen keyboard (rather than waiting for you to touch them), as well
as automatically advancing to the next text box when you press enter.
- Added general purpose file I/O commands (see Programmers' Guide help file).
- Fixed crash when loading non power-of-two images.
- Added support for loading jpeg images.
- Added sound and music support.
Also added an immediate mode UI. This makes it easy to add buttons, sliders, text boxes
and on-screen joysticks to games/programs with very little code. This is particularly
useful for mobile devices which don't (usually) have a keyboard or mouse.
See the included demo programs for examples.