This is a small collection of mostly game example source codes. These source codes are made available to help PlayBasic programmers kick start their game programming journey.
Looking for more source code / tutorials & media, then remember to visit the PlayBasic Resource board on our forums.
A very basic and simple map editor, that allows playfields of pretty much any size you like and can handle tile sizes 16x16, 32x32, 64x64. It also allows an unlimited number of layers (well, until you run out of memory/patience, really).
File includes a player that you can use independently of the editor.
It's not meant to be advanced or anything clever, but it works (which can't be said for PB maps at the moment). I'll post updates to the editor and the player as I work on them, but for now.
BTW. The accompanying tiles are 32x32 and the demo file needs to be run in 32x32 mode. Also thanks to Henrik Spettrup for the tileset.
Be aware - you can't currently add layers once in the editor!!
A (very) simple torch flame demo. Shows 100 flaming torches on screen. As you can see by my screenshot, I was able to run this at 450+FPS.
This is a simplified version of my flame routine in my Sorcery game. It's not doing anything big or clever, and it's not particularly realistic, but it gives a pretty good impression of a fire (changing the colours in the animation strip might make it look more realistic, but I needed a cartoon-styled flame to fit my game).
An update of my "Worms style terrain damage" demo. This one now includes push-scrolling with the mouse. Press RIGHT mouse button to speed up scrolling. Otherwise, it's exactly the same
A brand new demo of the famous Amiga game, Shadow Of The Beast. This demo gives you limited control over the Beast and allows you to play across the full first level of the game (minus any enemies) - a total of over 2 minutes from one side to the other!
This is not intended to be a complete game, and I have no intention of making it so or developing it further (although I had originally intended to put a scrolling message in the black border at the bottom).
This is also not intended to be an exact remake of the original level, rather an interpretation of it.
Release Type:
The source code & tutorials found on this site are released as license ware for PlayBasic Users. No Person or Company may redistribute any file (tutorial / source code or media files) from this site, without explicit written permission.