Basic4GL Mobile

What is Basic4GL Mobile?

Basic4GL Mobile is a development tool for writing 2D and 3D games and programs in BASIC for mobile devices and the web.

It consists of a Windows application - the Basic4GL Mobile compiler and integrated development environment (IDE) - plus Android and WebAssembly runtimes which can run the compiled Basic4GL programs on Android phones and tablets and in web browsers.

(iOS is not currently supported, but is planned for a later release.)

Basic4GL Mobile is built on top of the Basic4GL compiler and virtual machine, which allows BASIC programs to run very similarly (often identically) on mobile and web as they do on PC.

Basic4GL Mobile comes in a free version, and a paid for "Pro" version which will allow you to bundle your programs as Apps which can be uploaded to the Google Play store.

How does Basic4GL Mobile relate to Basic4GL?

The original Basic4GL is a free, open source program which you can use to build Windows applications in BASIC. You can get it from the main Basic4GL site.

Basic4GL Mobile is a separate product. It uses the same compiler, virtual machine and BASIC language syntax, but is designed specifically for creating games and programs for phones and tablets. It uses a lot of the same commands as the original Basic4GL where it makes sense to do so, but drops some of the more Windows specific ones and replaces the old OpenGL v1.1 commands with OpenGL ES 2.0, as well as adding new commands for mobile specific features like touch input.

Basic4GL Mobile is developed by Tom Mulgrew, the author of the Basic4GL.

Is 3D supported?


As of v1.3.0 you can write 3D programs using OpenGL ES v2.0. There is also a simple wrapper library written in BASIC with some simple 3D shaders and routines to simplify passing parameters to them.