PDA

View Full Version : Sandbox Preview



PSmonkey
August 15th, 2006, 05:50
Ok here is a quick peak at sandbox. Pictures are the same that I made public in the sandbox forums but the video is private (so dont leak it).

Now have my game sandbox reading ini files and rendering. Still have much to do. Great thing is the entire thing is setup by the following ini.


SANDBOX

// Sandbox Theme File
// Note First line is a Tag to validate this ini file
// All Commands must have a Space between the following items '=', ',' & ';'

ROOM_DESCRIPTION = A theme about Mario ;
ROOM_AUDIO = Mario.at3 ;
ROOM_SIZE = 40 , 40 , 40 ;

// Room Textures, Note ROOM_TEXT_WALL 2nd option is for texture mode
// Texture Modes 0: Single Texture Repeated, 1: Single Texture Streached, 2: Individual Textures
ROOM_TEXT_WALL = MarioWall , 2 ;
ROOM_TEXT_ROOF = MarioRoof ;
ROOM_TEXT_FLOOR = MarioFloor ;

// BLock Main Info
BLOCK_TYPE_MAX = 2 ;
BLOCK_COUNT_MAX = 50 ;

// Block Commands
// BLOCK_TEXT_# - Block Texture, Text Mode (0: Repeat, 1: Wrap)
// BLOCK_TYPE_# - Type 0: Box; 1: Circle; 2: Cylinder
// BLOCK_INFO_# - Box: Width, Height, Depth; Circle: Radius; Cylinder: Radius, Height

BLOCK_TEXT_1 = MarioBlock , 0 ;
BLOCK_TYPE_1 = 0 ;
BLOCK_INFO_1 = 5.0 , 5.0 , 5.0 ;

BLOCK_TEXT_2 = MarioBlock , 0 ;
BLOCK_TYPE_2 = 0 ;
BLOCK_INFO_2 = 10.0 , 2.0 , 5.0 ;

AnonymousTipster
August 15th, 2006, 08:42
Good to see you got it working. :)

DPyro
August 15th, 2006, 13:50
Sweet! Now I gotta test out the build :D

PSmonkey
August 16th, 2006, 08:28
Wii, Got clipping in for the room (obj are small enough that clipping is not important).

Anyways after a few hours. I realised double buffer sort though verts works wonders. (actualy far better then what I did in iris).

Still got a large list of things to do but things atm dont look so bleak for sunday.

--edit--
Wii 2 for the night.

Pre baked objects suported in Ini. So now items can be pre placed in the map. Just gotta fix a bug to allow you to set if its static or dynamic.

Physics will work on both but the difference is static will have no reaction (obj will react to it) where dynamic are just normal ODE/physics based objects that will react when colided with.