What's News in the PlayBasic world ? - Find out here.
PlayBasic V1.65C BETA #20 (29th Dec,2017)
By: Kevin Picone Added: December 29th, 2017
PlayBasic V1.65C BETA #20 (Retail Compiler Only Beta) - (Avail for Registered Users ONLY) (29th Dec,2017)
V1.65C Beta #20 virtually concludes the V1.65 clean up. In this build we are running on the new VM only. Which means all new instruction set and all new inner workings of PlayBasic... In this last build we're reconnected the Vm with the legayc debugger, which was previously rigidly hooked to the legacy VM making it break in later builds. In this version is almost back to normal, I say almost as the old interfaces are still there and there many be some routines still using them, but I'll tackle that in the clean up when building a release version in the new year.
The new runtime brings us more number crunching performance, standard instruction set and is now separate from most of the command sets (some are built into the VM.. like strings or array commands) the generally command sets could be swapped without needing to constantly update the runtime. There's some features of V1.64P that are NOT in the new VM, which are mainly some of the compiler optimizations that it would make to user byte code, one that comes to mind is the serialization of the Type / Structure accesses.. Which can give a massive performance benefit in code that focuses it's accessed on one structure of data.. I'm going to include this in V1.65, but wanted to get it working first.. then we can add some of my list of tricks
Anyway, have fun.. there's bound to be some DEBUG messages etc in this.. but it's the future !
PlayBasic Live: Making a Game series - So what type of game prototype ??
I would like to make some more video series that show hands on, line by line coding of a game.. but what game(s) would be interesting ??
The thing to consider is the series need to be interesting enough for people to want to watch, not require tones of media, or if so, there's enough free media packs out there that we can use to build a working prototype and supply the media to user so they can 'see' how things are used..
PlayBasic LIVE : Intro Converting Amos To PlayBasic
By: Kevin Picone Added: December 3rd, 2017
PlayBasic LIVE : Intro Converting Amos To PlayBasic (2017-12-03)
Welcome... Today we'll take a look back at a free tool created to help Amos & AmosPro programmers begin the conversion process to PlayBasic. The tool is simply called AmosToPlayBasic and can be found on our forums and includes conversion support for the core Amos to PlayBasic syntax through to exporting the various hidden data banks within Amos such as Sprites/Pictures/Samples and Music modules.
Note: Later in the video we go through how to improve the conversion by adding your own Amos command tokens to the instruction sets.
This challenge is to create one of the classic demo scene effects which I refer to as checker board, but it might be called something else (see video for example). The objective on the surface seems simple, but if you just draw layers of BOX you'll run into fill rate bottlenecks the more layers you add.. So perhaps there's another way of create the same effect without just drawing all the layers..
So for those that take this challenge on, you'll learn many fundamentals ranging from 2d drawing primitives / optimization / culling. Which will of course l translate into your everyday BASIC programming skills.
Welcome, in this series of videos I take a step by step approach to creating function library in PlayBasic. The created library loads and parses XML files and is largely build on the fly, with no planning, so it's warts and all, but the goal here is to give you a birds eye view of how you might go about building your own libraries. Have fun !
Solution to the starting module Win32DPNetgame error
By: Kevin Picone Added: October 16th, 2017
if you're trying to re-install PlayBasic and getting an error like the following "Error Starting Module 'Win32DPNetGame'" then this should help you.
Terl said "I had the same problem at first but found the solution: You need to enable DirectDraw. Go to control panel>programs>programs and features, under that is "turn windows features on or off. Look for section for legacy, expand it and check direct play. All will work fine then."
PlayBasic Tutorial: From Variables To Arrays (Intro To Arrays)
By: Kevin Picone Added: September 21st, 2017
PlayBasic Tutorial: From Variables To Arrays (Intro To Arrays) 2017-09-17
Welcome programmers, in this tutorial we're going to introduce the concept of arrays starting out from variables. So first we build a simple game loop that controls two characters using only variables. The characters are represented on screen as filled circles. After we get up to speed with the variable version we then move onto how we can use parallel integer arrays to store the various properties of the characters. The array version can control as many or as few characters as you like, which is the benefit of Arrays over Variables