Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Best way to do... this...

Name: Anonymous 2010-08-21 0:04

So this is kinda hard to explain, but let me try my best.
I am making this 3D game engine, and I need an easy way to make 3D object in a text editor (don't ask). So, I decided to create CSS/XML style way to view the object that gets parsed by the engine that fit my needs. Here is an example ("#" means comment, "..." = etc):

object_name {
    draw {
         body_part1 {
              physics = true or false; # whether or not physics affect this limb, if it does, there must be a:
              connect (at_x, at_y, at_z, body_part, joint_type);
              # Methods to draw the body part.
              # For example:
              sphere (x, y, z, colour);
              ...
        };
        ...
    };
    animation="death"{ # could be many things, not just death
          frame=1{
              movex (body_part, x);
              ...
          };
         ...
    };
};

What should I change/add?

Name: Anonymous 2010-08-21 0:24

You should make this into JSON instead of some weird ass custom format, that way any JSON parsing tool can manipulate it.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List