DOWNLOADS
RFOdesignerSetupV2000 Updated : 24-08-2018
The Final Version 2. No changes is expected in the structure of the auto generated code in the future.
Warning: The auto generated code changed in Version 2.0 , thus it is not compatible with previous versions.
To use the APK compiler, download and install RFO2APK below
Keywords now include that of OliBasic's test version for BASIC!
OliBasic is an experimental add on to BASIC! in effect you have BASIC! plus OliBasic commands available.
NOTE: The download for RFODESIGNER no more includes the RFO2APK compiler below.
RFO2APK for Basic!, OliBasic and Hbasic Updated : 20-09-2018
Create your APK using Basic! as the base for generation. This is the standalone APK compiler version.
Very important to keep in mind is that the permissions selected should support your Basic code used
and failure of which will create a non working app.
Recommended emulator for testing your APK's BlueStacks Ver1
When downloading a valid RFODESIGNER example just unzip and place it in the "c:\RFODESIGNER\Projects\" directory. A valid RFODESIGNER example will always have a PRJ and BAS file included copied to the required BASIC! directory structure.
BUILDING THE APK
From time to time RFO2APK will return an error condition. This is due to some race conditions on the pc that prevents writing/deleting of files or directories that are in use by other applications. One such program could be software checking if the files are secure. The quick cure is to restart RFO2APK because it will try to fix the problem by itself.
HISTORY
The development of RFODESIGNER did now reach the stage where it is reasonable stable. RFODESIGNER uses RFO2APK to compile your app to an APK. RFO2APK is still in baby shoes and further development will be an ongoing process for some time. The manual is an outstanding task but instead watch the downloadable self playing video exe which is a compiled self playing video for convenience and small file size.
CREDITS
Credit is given for RFO BASIC! to all where due with special reference to Paul Laughton, the original creator of RFO BASIC!.
AUTO GENERATED CODE
Many decisions had to be made to decide which programming style (framework) to implement for the code that is auto generated, ie a function framework for objects versus the raw basic code for the objects. The latter was chosen because then a graphic user construction of objects is possible and the pc is then a very willing slave to help here. Just about anything is possible. Although I am not a gamer and have no interest in coding games, it is possible to use the GUI generated to host your game or for example a live graph showing temperature or whatever.
RFODESIGNER have been tested to also produce board-games
PLANNING
By planning the Z-order of the objects placed, the overlaying results opens many other routes. Also then because every line/element of an object is traceable in the auto generated code, it is possible to change that single line/element in that display list. It is important to minimize unnecessary drawing that is referred to by the display list for speed purposes and the possible out of memory situations.
The basics is thus to get all drawing done at initializing of the app and then only display sections from the display list as and when required. Your friendly functions in this regard is GR.MODIFY and GR.HIDE and GR.SHOW and GR.GROUP and GR.MOVE. The latest official manual for RFO-BASIC! must be studied by the user so as to understand properly what I meant in this few words.
USEFUL TOOLS
SpriteStitcher.zip
Stitches a number of sprite images in a row,
Auto generates an include file for cropping the sprites from the generated sprite sheet.
ResizeAndroidImages.zip
HotSpotManager.zip
ButtonMaker.zip
INSTALLATION
After downloading unzip and run the Setup program. RFO2APK is an utility to make an APK from your basic source code.For RFO2APK to work your pc needs Dot NET Framework support since it is programmed in VB.NET . RFODESIGNER itself does not require this and will work without Dot NET framework.
Download the Dot NET Framework at Microsoft
EXAMPLES FOR VERSION 2.00
Calculator.zip
This demonstrates a recursive user function to evaluate a math expression
It also shows how to use the invisible TchRect object on a bitmap.