Home Page Downloads Order Community Support
 

 

 
 

 

 

 

 
 

Example Source Codes


     This is just 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. If you're looking for more source code / tutorials & media then remember to visit the PlayBasic Resource board on our forums.



Found #95 items in this category


Title Flares
Category All,Effect,Timer
Author Kevin Picone
Date 08,Aug,2009
Description The demo renders a series of blob like sprites to a depreciating foreground playfield, the playfield is then masked over the screen. So the foreground trials blend into the background picture.

Requires PlayBasic V1.64j
Download Flare.zip




Title Timer Based Reveal Effects
Category All,Timing,Effects
Author Kevin Picone
Date 03,Jul,2009
Description This set of examples show some slide show style reveal/wipe effects. Which include a circular (lode runner style), block based (pictured bellow) plus some (Horizontal/Vertical/Diagonal) wipes .
Download Reveal_Effects_SourceCode.zip




Title Mario Demo
Category All,Games,Platform,Collision
Author Kevin Picone
Date 23,Jun,2009
Description This example recreates a version of the Mario movement and control system. It includes simple animation, jumping/falling and collision with the environment.
Download Mario_Demo_for_LearningEdition.zip




Title Memory Game
Category All,Games
Author Kevin Picone
Date 7,Apr,2009
Description 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. Have Fun!
Download CardMatch_V001.zip




Title Rugby Demo
Category All,Games,2.5D
Author Kevin Picone
Date 28,Mar,2009
Description 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.
Download RugbyV001.zip




Title Radix Sort No Pic
Category All,Sorting
Author Kevin Picone
Date 1,Feb,2009
Description This is example include two versions of the Radix sorting algorithm for PlayBasic. The code was original written for DB some 6 years ago, and the DB version almost runs (a few small changes are required), this version just takes greater advantage of PlayBasic's built in array functions. Which make the functions about 25% faster than trying to do everything manually. The demo isn't pretty to look at (screen full of sorted numbers), but if you need a sorting method, it's option to consider.
Download Radix_Sort.zip




Title Shape Sprite Collision
Category All,Shape,Sprite,Collision
Author Kevin Picone
Date 01,Jan,2009
Description This example shows how to use the sprites shape collision modes.
Download Shape_Sprite_Collision.zip




Title Play Sabotage
Category All,Games
Author Kevin Picone
Date 20,Nov,2008
Description 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....
Download Play_Sabotage_V002.zip




Viewing Page [2] of [12]

Back - Next

Want More Source Codes?:



Release Type: The source code & tutorials found on this site are released as free ware for PlayBasic Users. No Person or Company may redistribute any file (tutorial/source code or media file) from this site, without explicit written permission.

 

 
     
 
       

 

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