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 #2 items in Terrain category

 Scotties Voxel Terrain (Opted)

By: Kevin Picone Added: December 17th, 2018

Category: All,3D,Voxel,Terrain

Scotties Voxel Terrain (optd)

This is a refactored version of Scotties Voxel Terrain demo published back 2016. I've tweaking the inner loops and data mainly to try and squeeze out from performance from the demos code, adding gouraud shading and depth queues to the terrain.

This version has been refactored and includes various common tips when speed up work heavy loops, as well as a few ideas on speed up voxel, by simply not sampling the ground at the same interval, so the further the ray gets from the camera, the ray is moving in bigger steps. So it's accurate, but the result isn't much different from the simple version. If you going for max speed in PlayBSIC V1.65 then there's still a couple places within the inner loop that could can tweak further..

Video:



Related Links:

- Get Source Code
- A Crash Course In BASIC program Optimization
- Music By: https://BenSound.com





 PS3D (Play 3D) software 3d rendering libraries

By: Kevin Picone Added: December 14th, 2018

Category: All,3D,Terrain

PS3D (Play 3D) software 3d rendering libraries

This is an 'as is' release of the PS3D libraries which are set of high level functions for rendering 3D objects into PlayBasic 2D camera. It includes a simple height map terrain, cube primitives and MD2 loader, allowing the user to create a scene but a lot of necessary high level code is missing for the casual user, collisions for example .

Video:



Related Links:

- Get Source Code
- A Crash Course In BASIC program Optimization
- Music By: https://BenSound.com





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]