r/QB64pe • u/Salt-Fly770 • Apr 13 '25
Moon Lander Simulator: A Text-Based Ode to Apollo-Era Engineering
Game has a QB64 version of the source.
r/QB64pe • u/Salt-Fly770 • Apr 13 '25
Game has a QB64 version of the source.
r/QB64pe • u/UnculturedGames • Oct 08 '26
Hi! I'm sure there's more useful stuff to focus on when it comes to developing QB64-PE, but I'd be interested in adding Steam Achievements to my QB64-PE game projects.
I've released one QB64 game on Steam, and I'm working on another, and I'd be interested in trying to integrate achievements this time. Or, possibly, go back to my old game and update it to support achievements. It's one of the most wished-for features I've heard about from players.
My technical skills when it comes to this kind of integration are somewhat limited, but based on my digging, there should be no technical reason why this couldn't be done.
I could just try to do this on my own, but with my anarchist gonzo coding style it feels a bit risky. If anyone in the community would be willing to take a quick look at it and maybe point me in the right direction, I'd appreciate it. I'm not quite at the point where I could start testing these kinds of functionalities yet, but I already want to put the idea out here and see if anything comes of it.
Have a good day!
– Tapio
r/QB64pe • u/grymmjack • Feb 23 '25
The _DEFLATE$ function now supports an optional compression level parameter, ranging from 0 (fastest, least compression) to 10 (slowest, best compression).
Two new functions have been introduced to handle Base64 encoding and decoding. See _BASE64ENCODE$ and _BASE64DECODE$, These are implemented using the high-speed MODP_B64 library from the Google Chromium Project.
591 - Keyword changes and additions - @a740g
The ANSI sequences unfortunately count into the Discord message chars limit, so it will quickly eat up your regular 5000 allowed chars. Hence, unless you've enough Nitro to extend your message limit, this is really only useful for short snippets.
596 - The "Export As..." menu got a new entry to allow code export into a Discord ANSI code block. - @RhoSigma-QB64
602 - _FULLPATH$ will no longer throw an error when an empty string is passed, instead it simply returns empty too. Also _CWD$ and _STARTDIR$ were changed to always return the path with an trailing slash. - @a740g
Adds 3x and 4x XBR family pixel scalers.
Adds support for ImageMagick-generated 32bpp PCX files (see @SteveMcNeill's post in the Forum).
609 - Various improvements to _LOADIMAGE. - @a740g
Note that on Windows and most platforms, the beep is generated as a sine wave rather than a square or triangle wave, resulting in a softer sound as before version 4.x.
610 - Updates tinyfd_beep() to play a 900 Hz tone for 500 ms, making the BEEP sound closer to its behavior before version 4.x. - @a740g
The keywords formatting is now detached from the auto single-spacing process, so one could switch off layouting to be able to space and align code on own desire, but still get proper UPPER, CaMeL or lower case formatting of the keywords.
In alternative we can have proper formatting switched on by default, but can use the new $FORMAT metacommand to suppress any auto spacing (indention+single spacing of code elements) for sections we rather want to space/align manually for better readability.
In addition the "Export As..." menu now also remains active if the auto layouting is switched off, which wasn't the case until and inclusive v4.0.0.
611, #612 - Improving the IDE and commandline (-y switch) code formatter behavior. - @RhoSigma-QB64
603 - Updated FreeType to versions 2.13.3, this update's main improvement is a significant performance boost to the B/W rasterizer. - @a740g
591 - Fix for error: arithmetic on a pointer to void that occurs when using _MEMGET/_MEMPUT with $CHECKING:OFF. - @mkilgore
593 - Fixed status area command reference help for user-defined SUBs and FUNCTIONs, if the SUB/FUNCTION takes array arguments (e.g. myarr()) the reference got truncated at the closing paranthesis of the first array argument. - @RhoSigma-QB64
598 - Make the _CONSOLEINPUT function non-blocking as discussed in the Forum. - @RhoSigma-QB64
599 - Resolves _MOUSEMOVEMENTX and _MOUSEMOVEMENTY returning 0 on Windows on ARM with C++ optimizations enabled. - @a740g
602 - Fixes a bug on macOS where mouse events are suppressed for 0.25 seconds when _MOUSEMOVE is used. - @a740g
603 - Fixing issue #595 (CVE_2018_3870-6497366-2). - @a740g
605 - Fixes an issue on macOS where the program compiles successfully but doesn't run unless you toggle the logging output to be displayed. - @mkilgore
607 - There were several problems identified with the existing escaping for calling make, parenthesis at the end would get lost, dollar signs got expanded incorrectly etc.. This change redoes the escaping and applies it correctly depending on the platform. - @mkilgore
Full Changelog: https://github.com/QB64-Phoenix-Edition/QB64pe/compare/v4.0.0...v4.1.0
r/QB64pe • u/UnculturedGames • May 27 '24
r/QB64pe • u/grymmjack • Jan 30 '26
This renders the error Statement cannot be placed between SUBs and FUNCTIONs obsolete.
It also makes building libraries easier, as everything (CONST, TYPE, DIM, SUB, FUNCTION) can go into the same file now.
This is now the same version we had in QB64-PE v4.2.0, as the updated version in v4.3.0 had issues with music streaming when tailing at the same time (writing more data to the stream while it is playing).
Now auto-closing strings at line end if required.
Fixed look-ahead logic to avoid partly name matches causing wrong output.
With the change to autobrackets in v4.3.0, the IDE suddenly started to just skip over end bracket type symbols if one were to type them and the next character was an end bracket. This makes sense with the autobracket enabled, but when it's turned off, those keystrokes should be processed as before, without skipping that next character.
String literals in a PRINT statement may be subject to automatic semicolon insert on either side. For instance, PRINT "abc"123, 123"abc" is equivalent to PRINT "abc"; 123, 213; "abc". The logic was not accounting for the possibility of a comparison operator before/after a string literal, and so PRINT "abc" = "def" gets turned into the invalid PRINT "abc"; <>; "def". These operators are now checked for.
Full Changelog: https://github.com/QB64-Phoenix-Edition/QB64pe/compare/v4.3.0...v4.4.0
r/QB64pe • u/grymmjack • Sep 16 '23
r/QB64pe • u/grymmjack • Sep 16 '23
r/QB64pe • u/proteanlogs • Oct 06 '23
Hello boys and girls good to see you on reddit!
I love cash registers
r/QB64pe • u/grymmjack • Sep 16 '23
Welcome to the QB64pe sub-reddit!
Official links
Forum: https://qb64phoenix.com
Friends of QB64pe
QBJS: https://qbjs.org
r/QB64pe • u/grymmjack • Mar 30 '24
You can now use Flair (like a tag) in reddit posts to help categorize your stuff! I've already gone through and tagged everything that is here. Take it easy.
r/QB64pe • u/BenTheWorstCustomer • Feb 18 '24
r/QB64pe • u/grymmjack • Sep 16 '23
r/QB64pe • u/SMcNeill73 • Oct 09 '23
QB64 Phoenix Edition v3.9.1 released, which offers some serious bug fixes! If you downloaded v3.9.0, you'll want to replace it with this one ASAP so your math functions will return correct results for you. ;)
https://github.com/QB64-Phoenix-Edition/...tag/v3.9.1
Bug Fixes
#387, #389 - Use correct math functions from std::. - u/mkilgore
r/QB64pe • u/grymmjack • Jun 23 '24
QB64PE Theme for Visual Studio Code has been released.
You can install it into your VSCode by searching for "QB64PE Theme"
This theme is intended to use with the QB64PE Language Extension that is a WIP and not public, so must be installed with the .vsix manually from here:
https://github.com/grymmjack/qb64pe-vscode/blob/main/qb64pe-0.10.0.vsix
Once the extension for the language is ready it will be published.



For more information on using VSCode with QB64PE check out these videos:
Enjoy!
r/QB64pe • u/grymmjack • Mar 30 '24
r/QB64pe • u/SupremoZanne • Mar 09 '24
so, I guess I'll be coming here to /r/QB64pe then.
and well, all sorts of QB-related subs have been created over time!
r/QB64pe • u/grymmjack • Sep 16 '23
r/QB64pe • u/grymmjack • Oct 19 '23
If you have not yet done so you owe it to yourself to check out Terry Ritchie's excellent tutorials. Recently he has updated them to include some new topics!
New stuff since October 1st:
10/01/23 - Added the RND and RANDOMIZE statements to Lesson 3.
10/01/23 - The tutorial asset file has been updated to include all new code added in past few days.
10/01/23 - Ten more games have been added to the games section.
10/08/23 - The QB64 Phoenix Edition Developers just released version 3.9.1. Read about it here.
10/08/23 - Added the _SAVEIMAGE statement to Lesson 13.
10/10/23 - Added a more in depth discussion of the CLS statement in Lesson 4.
10/10/23 - Added the SLEEP statement to Lesson 7.
10/16/23 - Added the side lesson The Command Line Interface to Lesson 11.
r/QB64pe • u/grymmjack • Feb 19 '24
r/QB64pe • u/nickshardware • Jan 12 '24
r/QB64pe • u/grymmjack • Aug 09 '24
#499 - Reliably enable window defocus on Linux. - u/flukilukeEnhancements
#501 - Modifies _FILES$ to default to the * pattern rather than *.* when fileSpec$ is empty, enabling _FILES$ to retrieve all directory entries rather than omitting files and directories that lack an extension. - @a740g
#502 - Optimize IDE internal string concatenation somewhat to reduce IDE lag. - @SteveMcNeill
#503 - Allow _UPRINTSTRING to render directly into any image, which can be specified as an optional argument. - @a740g
#506 - Added Metacommands and Variable Types items to the Help menu for quick access to these essential help pages. - @RhoSigma-QB64
#508 - Introducing the brand new Format Mode as command line switch. - @flukiluke
The -y command line option will format the input instead of compiling it.
Formatting is performed either according to the current IDE settings (Options > Code Layout...) or by overriding those settings using the new -f flags, e.g. ./qb64pe -y source/qb64pe.bas -f:autolayout=true -f:keywordcapitals=true -f:autoindent=true -f:autoindentsize=4 -f:indentsubs=true -o source/qb64pe.bas
#510 - Optimizes _DEFLATE$ and _INFLATE$ to eliminate unnecessary buffer copies. This results in a nice speed boost of upto 15% in some cases. - @a740g
#517 - Stabilized and updated MIDI support. - @a740g
MIDI support in QB64-PE is finally out of the $UNSTABLE state now.
The compiled executable will no longer include an embedded soundfont.
To address this issue discussed in the forum, ymfmidi, Opal, and a tiny FM bank are now used.
Soundfonts can be loaded using the _MIDISOUNDBANK command.
Depending on the sound bank type, a suitable MIDI rendering backend is selected.
The available backends are primesynth (SF2), TinySoundFont (SF3, SFO), and Opal (AD, OPL, OP2, TMB, WOPL).
For Windows users, a VSTi 2.x based renderer that is configurable by the user is also provided.
Multiple MIDI file formats are supported: MUS, HMI, HMP, HMQ, KAR, LDS, MDS, MIDS, RCP, R36, G18, G36, RMI, MID, MIDI, XFM, XMI
The use of $UNSTABLE:MIDI and $MIDISOUNDFONT triggers an appropriate "deprecated feature" warning message now.
#519 - Various IDE improvements. - @RhoSigma-QB64
Changing certain toggle settings in the Options Menu no longer causes your code to be marked as "changed".
IDE related config and workfiles were moved out of internal/temp into settings directly under the qb64pe folder.
Note the folder does not exist in the release archives, but is created on the first IDE run, at this time the user has a choice to import his settings from another QB64-PE installation or to continue with default settings.
The recent files and search string histories are globally shared now by all running IDE instances, limits can be set in the Undo/History... dialog (Options Menu).
We've added 4 new preset color schemes, Cornfield, Broadcast, X11 SgiColors by me (@RhoSigma-QB64) and VS Code curtesy to @a740g. If you use your own custom scheme, then it's ID will be automatically adjusted when importing your settings.
#520 - _LOADIMAGE and _SAVEIMAGE improvements. - @a740g
Added support to load ICO (icon) and CUR (cursor) files.
Added support to save ICO (icon) and single GIF (not animated ones) files.
#525 - Improving IDE Option dialogs. - @RhoSigma-QB64
#513 - Updated nanosvg and stb_image to latest available versions. - @a740g
#522 - Update to LLVM-MinGW 20240619 with LLVM 18.1.8 for WoA. - @a740g
#497, #527 - Properly initialise memory when REDIMming with UDT, fix #331, #524. - @flukiluke
#500 - Allow setting environment variables with space in values on Linux, fix #386. - @flukiluke
#503 - Font fixes, in some fonts the underscore was clipped away with _UPRINTSTRING. - @a740g
#506 - IDE Help fixes. - @RhoSigma-QB64
Select All (CTRL-A) in the help text actually didn't select ALL after text was selected manually once before, because some internal variables were not reset correctly (bug dates back to the ancient SDL versions).
Fixed Definition Lists eating the first text char, if the list introducer is followed by a space.
#513 - Fixed the PCX image loader issues reported in the forum. - @a740g
#515 - Avoid eating 0-argument functions used after L/UBOUND, fix #244. - @flukiluke
#523 - Fixing a bug in the KILL command, which would previously terminate and fail to process the remaining files if the user opted to continue after an error condition. - @a740g
Full Changelog: v3.13.1...v3.14.0
We are probably going to deprecate the $NOPREFIX feature sooner or later in the future. Nothing is finally decided yet, but as we have more and more efforts to keep new things compatible with $NOPREFIX it's a decision we've to make. Especially CONST and the pre-compiler metacommands show bad interactions with $NOPREFIX over and over again and make implementations overcomplicated.
With this notice we wish to get your attention for the issue and recommend to adapt your coding habits to no longer rely on $NOPREFIX right now, so it becomes an easy transition when we finally drop it.
r/QB64pe • u/nootrac90 • Apr 20 '24
I have an Acer Spin 311 chrome book that I wanted to be able to run QB64 pe on. It took a little, but I got it to work. I installed linux on the chrome book and then installed QB64 pe under that.
r/QB64pe • u/grymmjack • Jan 25 '25
r/QB64pe • u/grymmjack • Nov 26 '23