This tutorial (with examples) on how to implement a Timer Based Movement & Animation system (via interpolation) into your PlayBasic games & demos.
#1
PB_Chall7_Timer_Based_Movement.zip (18.42 KB)
Basic Map Editor
By: Ian Price | Added: May 17th, 2007
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!!
#1
scrolling_map_editor.rar (704.98 KB)
Rotating Scroller
By: Kevin Picone | Added: May 4th, 2007
This example creates a rotating scroll text with perspective echoes of itself. Use the Up/Down Arrows to change the number of echoes...
Written in PB1.62
#1
Chall6_RotatingScroller.zip (22.24 KB)
Sinus Bob Chain
By: Kevin Picone | Added: February 12th, 2007
This example creates a sinus bob chain (image for you PC folks ) , as seen in countless old school demo's. The demo keeps adding bobs until either the Frame drops bellow 30, or the max of 1000 is reached.
In 800*600*16 (full screen) my 800mhz Duron machine can push 900 odd bobs.
#1
PB_SinusBobChain.zip (2.8 KB)
Torch Flame #2
By: Ian Price | Added: February 12th, 2007
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).