ENIGMA's lookings

Posted by JoshDreamland on Nov. 20, 2007, 6:24 p.m.

Well, yet another blog about ENIGMA for you. Shit, my hamsters are asleep. *wakes up*

<script type="text/javascript"> obj = document.getElementsByTagName('span'); ind2 = -1; for (i=0;i<obj.length;i++) { if (obj.innerHTML.indexOf("JoshDreamland's") != -1) { ind2 = obj; i = obj.length; } } if (ind2 != -1) { ind2.innerHTML = ind2.innerHTML.replace("JoshDreamland's","Josh @ Dreamland's"); } </script>

Anyway, ENIGMA.

Thanks to obe for the pwnsome logo.

And TM for the secksy banner.

And C-Ator9 for the secksy ambigram in the secksy banner.

<img src="http://64digits.com/users/JoshDreamland/ENIGMA_hr.PNG">

I could tell you the parser was completely done as of the 31st day of work on it. But that is, as a matter of fact, subject to change. So far it will put the nastiest GML into format with semicolons and proper spacing/newlines, as I've said time and time again. It also adds parenthesis where needed. And colons.

And now, there's more. You see, unfortunately, C++ doesn't have Switch() {}. Well, it does, but it doesn't work like GM's… in the sense that it only allows for

<b>case</b> [CONSTANT INTEGER: {…-3, -2, -1, 0, 1, 2, 3…}]

Meaning that

<b>switch</b> (<font color="red">"hello"</font>) <b>{</b>

is a big no-no. However, the parser takes care of that too, converting to a sequence of <b>if</b>s. If I set up the enabler correctly, it will function just like GM. (and also be customizable, like everything else in Enigma. We're gonna have to be choosy about options, and have options about options to have. XD )

<img src="http://64digits.com/users/JoshDreamland/ENIGMA_hr.PNG">

Dylan has found a way to make functions, without overloading, take roughly anything as an argument. We are pushing it back and fourth some, but I wanna allow for ~32 arguments. I'll look further into macros once more, rather, I'll make Noodle do that if he isn't sick of me. Depending on how far we can push this, some functions may have vast numbers of arguments after all.

Also thanks to Dylan, I don't have to write something huge to handle repeat, as he defined that in C. Thus, repeat will work in ENIGMA's language, as well as C/C++. Whichever of those we wind up using.

<img src="http://64digits.com/users/JoshDreamland/ENIGMA_hr.PNG">

Unfortunately, as time goes on, we are popping ideas in and out. I have some pretty nice things planned for the testing and developing of games that have turned out to look easier for me lately, but…

Here's the deal. Dylan and I have found a wall. Sorta. We don't know where to go for cross-platform-ability. We need an expert, either to join the team or advise us when we need it. If you want to help, and you know about Mac/Linux programming, please let us know.

Another thing; we hate SDL. It's turning out to look scarier than it may be. So if you know that… You could throw us some tidbits of info or some reassuring words. <b>We're not hell bent on using it</b>, so if you have something to recommend to us instead, we're here.

Comments

Castypher 16 years, 5 months ago

Liking the paragraph breaks. ENIGMA is really progressing, isn't it.

I know about Windows programming only. By this I mean C++, and a little bit of Flash. That probably couldn't help you.

JoshDreamland 16 years, 5 months ago

Unfortunately, I think not. But our real concern is seeing what will compile for Mac, and what will work with each compiler. We really are clueless, though I hate to admit that.

DFortun81 16 years, 5 months ago

If it were up to me, I wouldn't even think of porting to Macs. But that's just me.

JoshDreamland 16 years, 5 months ago

Yes, I'm with Dylan. But inevitably, it's up to neither of us. Well, maybe it ultimately is up to us, but I mean. Game Maker works for Macs. We can't lose that … 5% of the market. The free market, nonetheless, but still people that are using GM when they could be using ENIGMA.

Gamer3D 16 years, 5 months ago

Why sweat over functions? Simply have a set maximum number of arguments. Any argument specified by the function when it is called is added, all others are set to 0. Voila! Works just like GM.

flashback 16 years, 5 months ago

OpenGL is your friend.

JoshDreamland 16 years, 5 months ago

@Gamer3D–

That will prolly be our action plan for scripts. But for things like max(), mean()… Well. Those will have to be declared over and over again.

@flashback–

SDL has some of that, if I'm not mistaken.

Josea 16 years, 5 months ago

Meh, instead of worrying about othe rplatforms, use OpenGL and punch it enough times until it works in Windows, after all, 99% of the people here use Windows, or at least have it as secondary OS.

OBELISK 16 years, 5 months ago

HAY

You forgot to mention who made the logo.

s 16 years, 5 months ago

Options are good, forced bloat is not

Like that case thing. Does it use a C style case or does it continue on with your adaption to strings?