PLAYBASIC SOURCE CODES


Exploding Shapes

    An example that shows how a explode a wire frame shape Asteroids style

Exploding_Shape_V001.png
#1
Exploding_Shapes.zip (3.88 KB)

MD5 Library

    MD5 Hashing Library for PlayBasic

    Visit for usage instructions.

#1
md5.zip (3.09 KB)

Fireworks

     Fireworks is a 3d particle effect simulating a fireworks displays.
FireWorks_Particles_Pic1.png
#1
Fireworks_1_64_Fixed.zip (17.74 KB)

Sinus Height Map

     This routine rotates and projects a 2d/3d plane of vertex. What's interesting is that rather than this being a static plane, the heights are created real time sine (plasma) formula. This height data is then scrolled across the matrix like table...

     To speed up the rotation time, the projection routine uses common point rotation along the X and Z axis. This means that to rotate a point there's no mult's in the inner loop. It also works just dandy for 3D axis rotation also, more so actually.
Sinus_Height_Map.png
#1
Sinus_Height_Map.zip (5.22 KB)

Lightning Balls

Lightning Ball demo displays a ring of rotating balls connected by a simple lighting/energy effect made out of lines.
Lightning_Balls_Pic2.jpg
#1
Lightning_Balls.zip (3.29 KB)