Under The Ashes
Omega Pirate
Joined: February 8th, 2009, 5:04 pm

May 27th, 2011, 1:10 pm #281

There's no like button.....

Under The Ashes likes Candy Man Criminals post!

Signature by our own lovely Tim.
Candy Man Criminal wrote:its not sex just cuz you switched hands
Quote
Like
Share

Troid92
Omega Pirate
Troid92
Omega Pirate
Joined: January 28th, 2005, 2:52 am

May 31st, 2011, 10:37 pm #282

So despite being on the other side of the planet with a nonstop schedule of events and not much access to Internet... I've somehow managed to continue working on my game engine, haha.

Now I can compile multi-line scripts and it works very well. Conditionals and loops are next, then connecting the scripting system to the game engine itself.

The last time I made a game with my engine I ran out of time to make a real scripting system and had to command the engine using assembly-like instructions instead. This new system already allows me to do so much more. :)

MIDI-maker / Fangame Programmer
Yay red text.
Quote
Like
Share

Troid92
Omega Pirate
Troid92
Omega Pirate
Joined: January 28th, 2005, 2:52 am

June 9th, 2011, 1:25 am #283

If statements now work, plus blocks of code. So you can do this:

Code: Select all

if (cheeseIsDelicious()) {
    if (1) display(1);
    if (0) display(0);
}
And it will display 1, because cheese is delicious.
Isn't that great?!?!

No but really, this will be extremely useful one day. You'll see...

MIDI-maker / Fangame Programmer
Yay red text.
Quote
Like
Share

MrGuest
Metroid Prime
MrGuest
Metroid Prime
Joined: August 25th, 2007, 11:37 pm

June 9th, 2011, 2:57 am #284

Troid92,Jun 9 2011 wrote: And it will display 1, because cheese is delicious.
Isn't that great?!?!

No but really, this will be extremely useful one day. You'll see...
But will it run Crysis?
Quote
Like
Share

Troid92
Omega Pirate
Troid92
Omega Pirate
Joined: January 28th, 2005, 2:52 am

June 9th, 2011, 6:27 am #285

Sort of like asking if my keyboard can type award-winning books.
Yeaaaahh..???


Also "while" loops work now.

MIDI-maker / Fangame Programmer
Yay red text.
Quote
Like
Share

Candy Man Criminal
Metroid Prime
Joined: January 13th, 2008, 2:26 am

June 10th, 2011, 8:37 am #286

running crysis stopped being a big deal a while back
Timmeh wrote:troid is jesus on stilts
Quote
Like
Share

Troid92
Omega Pirate
Troid92
Omega Pirate
Joined: January 28th, 2005, 2:52 am

June 10th, 2011, 5:33 pm #287

if-else statements work and have been tested thoroughly (nested, attached in series, attached to while()s, no memory leaks, etc.)

I also fixed some major glitches that popped up, like a loophole that was bypassing my endian-proof file system (meaning the script would work on whatever system you compiled it in, but hit or miss anywhere else).

So next up is adding comparison symbols into the parser's dictionary. <, >, <=, >=, ==, !=, etc.

Keep in mind that all of these features have been supported in the engine's script execution since the beginning, and the parser/compiler just opens a communication link between me and my engine. Since it all compiles into bytecode in advance, no matter how complicated and slow the parser/compiler gets, the engine will be just as fast at executing scripts.
Last edited by Troid92 on June 10th, 2011, 5:42 pm, edited 1 time in total.

MIDI-maker / Fangame Programmer
Yay red text.
Quote
Like
Share

Phlakes
Omega Pirate
Phlakes
Omega Pirate
Joined: October 8th, 2008, 12:56 am

June 10th, 2011, 5:35 pm #288

All I hear is "technobabble technobabble TROID IS GOD technobabble".

Mostly because I can't hear much over the sound of my mind exploding in amazement.

That somehow reminds me, I need to get on those sprites...
Last edited by Phlakes on June 10th, 2011, 5:36 pm, edited 1 time in total.
Quote
Like
Share

Troid92
Omega Pirate
Troid92
Omega Pirate
Joined: January 28th, 2005, 2:52 am

June 10th, 2011, 5:49 pm #289

Don't worry, I'll try to release a demo by the end of the summer. ;)

Edit:
Parser can now do all the comparisons mentioned earlier, and then I also threw in logical operations (&& and ||, which are "and" and "or" respectively) for good measure. All the symbol priorities work like they do in C++.
Last edited by Troid92 on June 11th, 2011, 5:55 pm, edited 1 time in total.

MIDI-maker / Fangame Programmer
Yay red text.
Quote
Like
Share

Candy Man Criminal
Metroid Prime
Joined: January 13th, 2008, 2:26 am

June 11th, 2011, 6:37 pm #290

sweetness, cant wait to see your handy work in action =]
Timmeh wrote:troid is jesus on stilts
Quote
Like
Share