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