EXAMPLE SOURCE CODES


     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.

Found #39 items in Games category

 Tic Tac Toe

By: Stef Added: July 30th, 2006

Category: All,Games


A simple tictactoe code

The AI-level is medium (not unbeatable)

Controls with mouse only !

(This prog is the core of the upcoming BOTS-TicTacToe )


Download: Login to Download




 Shadow Of The Beast Demo

By: Ian Price Added: July 14th, 2006

Category: All,Demo,Games,PLatformer,Scrolling


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.

Use as you see fit. Coded in PB V1.44


Download: Login to Download




 Pong!

By: C. B. Kimbrough (flockhound) Added: June 9th, 2006

Category: All,Games

I wrote Pong! in a day and a half mostly to escape the bigger projects I have going now. The novice can learn from the code - if they want - but I must warn you that Pong! is neither optimized or commented. Rather, it's a pile of programming slop.
Instead, you can poke and fiddle at it. Add features.
The game is not customizable and has no graphical or user interface so I suggest you READ the readme.txt file before playing. At the moment it only goes to 25 points and ends abruptly....
Download: Login to Download




 Axis

By: Kevin Picone Added: April 20th, 2006

Category: All,Games,Alpha Blending ,Effects


    Axis is one of the example pack games, it's a sort cross between old school Space Invaders / Galaxian styled shoot'em ups.


Download: Login to Download




 Tracys Platform Blaster

By: Tracy Zundel Added: March 18th, 2006

Category: All,Platformer,Games,Demos,AI,Effects,Alpha Blending,Scrolling


    This is rather nice platform/shooter (with nice weapons + even roaming alien AI) written by a first time game programmer.

     The code was tested PlayBasic v1.62 / 1.63 (was originally written in PB1.33)

     This game example developed a few years ago now by an old member Tracy. Being his first game (his first program ever apparently) the game built from a combination of various tidbits that come with PlayBasic and lots of good old fashion fun and enthusiasm. Which has certainly transpired into a fun game demo.

       The interesting thing about this demo is that contains a bunch of sprite effects and as some really rather interesting weapons for the player.  You've no doubt seen the backdrop art before (the demo was originally built off the 2d platformer demo that comes with PlayBasic) , and most of the sprites are ripped unfortunately.  It's kind of bizarre as the player has different characters for different animations.   Walking is guy in a overcoat, flying it's a dragon.. 

     Anyway, Feel Free to be the next link in the chain and this code further !




Download: Login to Download




 2D Platfomer In 3D World

By: Kevin Picone Added: January 17th, 2006

Category: All,Games,2.5D,3D,Platformer,Scrolling


This demo is based upon the original 2D platformer example from the PlayBasic example pack, the only difference is that this version projects the 2D scene into 3D space. This lets the player view the 2D game in a 3D space.


Download: Login to Download




 Play Baster

By: Kevin Picone Added: June 4th, 2005

Category: All,Games,Demo


This is another really old camera demo that turned into something of the basic game demo.
Download: Login to Download




 Street Fighter Demo

By: Kevin Picone Added: May 5th, 2005

Category: All,Games,2.5D


This is a fairly simple example of how you could set up a street fighter/mortal combat styled fighting game. The demo doesn't include any combat, just the player movement and a perspective camera so the scene has depth.



Download: Login to Download




Viewing Page [4] of [5]



Want More Source Codes?:



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.

 

 
     
 
       

(c) Copyright 2002 / 2024 Kevin Picone , UnderwareDesign.com  - Privacy Policy   Site: V0.99a [Alpha]