Both statements in BASIC Anywhere Machine should now behave just like the same functions in QB64.
BAM documentation in the works. In the meantime, refer to the QB64pe documentation:
Both statements in BASIC Anywhere Machine should now behave just like the same functions in QB64.
BAM documentation in the works. In the meantime, refer to the QB64pe documentation:
The character font that comes with wwwBASIC is "thick" (a little bit like the Commodore 64 font).
I've recently updated BASIC Anywhere Machine with a second alternative font that is "thin" (a little bit like the Commodore PET font.)
Combined with the smoothing property, the font property now gives us an option (on which to build on!) for the appearance of BAM applications.
By design, wwwBASIC uses image smoothing, an algorithm that smooths the pixel edges as the screen console (which is a "canvas" HTML element) is scaled up and down.
Although this seems to generally be good for graphics, text can appear blurry.
In the latest version of BASIC Anywhere Machine, the customised version of wwwBASIC has been modified to enable/disable image smoothing for a program depending on the program's "Enable Image Smoothing" property (a new option in the Program Execution Properties viewer.
See the differences the setting makes with the Wumpus game (put them side-by-each to compare):
When I added the _NEWIMAGE keyword in early April (blog entry), I overlooked the need to modify the _WIDTH and _HEIGHT functions added just previously in March (blog entry).
Since April, _WIDTH and _HEIGHT did not handle custom screen widths and heights setup via _NEWIMAGE.
Today's new version of BAM fixes things so that, with an added bonus: a very small simplification to the code (nothing wrong with that!)
As per QB64pe documentation:
The _PI function returns Ď as a _FLOAT value with an optional multiplier parameter.
A port and mod of a program shared by Ardi Ardi with the "BASIC Programming Language" Facebook group via this post . This program ...