I fell into a time rift for the past few months but now everything is back to normal and I'm back working on 12D. Nothing "visual" to show sadly. All the work I've done in the past 3 days has been cleaning shit up. All tags are now using the same universal syntax that's sort of like my version of JSON called 12Tag.
The project is still alive and well. I'll post updates as they come. I have a weel job now though so it'll be less frequent, but I have a schedule for work on the engine/game.
As for changes, here's what some of the tags look like right now. Whenever a object is just named "object 0" that means it's handled as an array of whatever length you want. You can just keep adding shit to it as you please.
test.scenery
Code:
property name "test scenery object";
property model "multipurpose/model/box.model";
property collision "multipurpose/model/box.collision";
object effects {
object 0 {
property name "bubbles";
property tag "multipurpose/effect/bubbles.effect";
property attach "default";
property auto true;
}
}
bubbles.effect
Code:
property name "Bubbles Effect";
property loop false;
object parts {
object 0 {
property type particles;
property tag "multipurpose/effect/bubbles.particlesystem";
property loop true;
property start 0;
property repeat 30;
}
}
bubbles.particlesystem
Code:
property name Bubbles;
object particles {
object 0 {
property tag "multipurpose/effect/bubble.particle";
property start 0;
property end 30;
object amount {
property min 1;
property max 3;
}
object velocity {
property min 0.1;
property max 1.1;
}
object distribution {
property shape radial;
property spread 0;
property equation random;
object angle {
property x 0;
property y 0;
property z 0;
}
object center {
property x 0;
property y 0;
property z 0;
}
property radius 3;
}
}
}
bubble.particle
Code:
property name Bubble;
property geometry facing;
property shader "multipurpose/effect/shader/bubble.shader";
property collision false;
property attached false;
property gravity -0.0005;
property drag 0.93;
property bounce 0.9;
object life {
property min 90;
property max 260;
}
object size {
property min 0.3;
property max 0.9;
}
property scale 1.0;
basic.ui
Code:
property name menu;
property usemouse true;
object frames {
object 0 {
property name main;
property activescript "";
property initscript "";
}
}
object elements {
object 0 {
property type "element";
property name "12dlogo";
object frames {
property 0 0;
}
property shader "ui/basic/shader/12dlogo64.shader";
object bounds {
property x 0;
property y 0;
property w 128;
property h 128;
}
object align {
property horizontal right;
property vertical top;
}
}
object 1 {
property type "button";
property name "resume button";
object frames {
property 0 0;
}
property shader "ui/basic/shader/butresume.shader";
object bounds {
property x 0;
property y 128;
property w 128;
property h 32;
}
object align {
property horizontal right;
property vertical top;
}
property clickscript "";
}
object 2 {
property type "button";
property name "quit button";
object frames {
property 0 0;
}
property shader "ui/basic/shader/butquit.shader";
object bounds {
property x 0;
property y 160;
property w 128;
property h 32;
}
object align {
property horizontal right;
property vertical top;
}
property clickscript "console(quit);";
}
}
console.ui
Code:
property name "Console";
property usemouse false;
object frames {
object 0 {
property name main;
property activescript "";
property initscript "focus(input console)";
}
}
object elements {
object 0 {
property type "input";
property name "input main";
object frames {
property 0 0;
}
property shader "ui/console/shader/inputBox.shader";
object bounds {
property x 0;
property y 0;
property w 1024;
property h 13;
}
object align {
property horizontal left;
property vertical bottom;
}
property text "";
property clickscript "";
property activescript "console(getInput(input console)); clear(input console);";
}
}
Bookmarks