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 #5 items by Ian Price

 Basic Map Editor

By: Ian Price Added: May 17th, 2007

Category: All,Applications,Tools,Beginners,Maps


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!!


Download: Login to Download




 Torch Flame #2

By: Ian Price Added: February 12th, 2007

Category: All,Effects,Demo


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).


Download: Login to Download




 Scrolling terrain damage

By: Ian Price Added: November 4th, 2006

Category: All,Misc,Source Code


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
Download: Login to Download




 Worms style terrain damage

By: Ian Price Added: November 3rd, 2006

Category: All,Misc,Source Code


A simple but effective terrain destruction demo, with particles and user controlled destruction.
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




Viewing Page [1] of [1]



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]