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.
YAAC is more an Asteroids framework than a complete game. While it does include the basic player mechanics (controls, firing & collisions) as well as the asteroids controller code. It's not really tweaked up, It feel's ok, but the player is easily overwhelmed...
Visually, the game uses additive effects on all items combined with buffer depreciation, which gives the trialing effect. Which have become common place in modern 'vector' games.
The objective of the demo is really to help Beta test the PlayBasic V1.64k, as such the code uses a number of new features found only in that update..
This example recreates a version of the Mario movement and control system. It includes simple animation, jumping/falling and collision with the environment.
This is my first game in Play BASIC. I played around with some of the functions and I think it's an awesome language!
This game is evil. You wont have fun playing it, because you will always lose since I implemented the best possible Pong A.I. At least I can think of no way to improve it, if you have an idea, please tell me. Since the bots are inhuman good, it's really funny watching them fight against each other, so I recommend pressing 3 at the beginning. If you want to see how the AI works, press Space.
This example is a version of the classic memory game, where you flip cards to find the matching pairs. Each time a pair is located, you're awarded a score. When all pairs are matched you win! Pretty simple game mechanic, but it can be a pretty enjoyable little game.
This example was original written at the start of 2006. It was originally developed using PlayBasic V1.20 (or so) and apart from a few parameters changes. The code is virtually the same.
The demo was originally written as a proof of concept of sorts. While there's no game to speak of, the demo does show some methods that you can use to render perspective textured mapped scenes. Even in good old PlayBasic.
This is Micky4fun's 4th game which was originally written way back 2008. The game is a simple vertical scrolling shoot'em up similar in style to classic arcades video games such as 1942 / 1943.
This is just a little remake (of sorts) of a game called Sabotage from the Apple II days. The project is simply meant as another 'mini' game example for users to pick through. While the game is inspired by an old Apply II game and currently even uses some images from that (As you can no doubt tell ) it's not direct remake, since I can't remember it exactly.. But close enough will do . It's a sort of like a missile command game where you control the gun turret and have to shoot down attacking enemy planes and paratroopers. Once the paratroopers reach the ground they will attack your turret with machine gun fire. If the turret cops too much flak you're dead....
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.