New commands have been added to read the roll and pitch of your mobile phone/tablet:
For more details see the "Accelerometer input" section of the "Mobile Device Commands" guide from the Help menu (or online here).
Be sure to update the Basic4GL Mobile app on Android in order to use the new commands.
Added a new pseudo 3D racing demo (work in progress).
Load it onto your Android phone/tablet to try out the tilt-steering (make sure to copy the "gfx" and "racegame" folders over). Or you can try it in-browser here.
This also demonstrates using the OpenGL ES commands, and the new standard BASIC library routines designed to make getting 3D up and running simpler.
Remember, if you've purchased an earlier version of Basic4GL Mobile, use the download link from your original email to download the latest version. If you've lost/deleted the email, email me (click the icon at the top of this page) and I can arrange to have it resent.
You can now generate a Windows application from your BASIC program.
This feature is available in both the pro and free versions. Applications generated with the free version display a "Made with Basic4GL" splash screen at startup.
When opening a file for writing (e.g. with OpenFileWrite()) any missing folders from the path will automatically be created.
This is particularly important for standalone programs (Android, WebAssembly and Windows), as previously there was no way to create files in sub-folders.
The OpenGL ES 2.0 library is now available to BASIC programs, so you can write 3D games, demos and programs.
There's also a simple 3D library (written in BASIC) which exposes some 3D shaders and simplifies the code required to call them - useful if you want to get started writing 3D code, but don't want to dive straight into OpenGL ES.
See the glesXXX demos and the "OpenGL Guide" help file for more information.
The IDE now has an autocomplete function to help you with standard BASIC functions and constants (including all the OpenGL ES ones), plus a popup tooltip displaying the parameter and return types of the current function. These appear automatically, or only when the corresponding keyboard short-cut is pressed (see the settings screen).