Dylan and I have remained at work on our ENIGMA (It's the new Game Maker, for those who don't frequent my blogs).
<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>So far, a lot of progress has been made. Great leaps, imo.Dylan has a nice looking interface, kinda exactly like GM so far. I made the background for it, as well as a logo. Screenshot:<a href="http://www.willhostforfood.com/files/168143/ENIGMA_Interface.PNG.png"><img src="http://www.willhostforfood.com/files/168143/ENIGMA_Interface.PNG.png" width=640>[Click for bigger image]</a> (no additional load time)Also, the hugeass logo render is here:<a href="http://www.willhostforfood.com/files/91087/ENIGMAlogo.PNG.png">[click for logo]</a>Dylan has also implemented the Sprite, Background, Sound, and Font classes, and is currently going for objects. Go Dylan!What was I doing while Dylan was getting all this done?From what I have to show you, nothing. What I have is called a parser. For those who don't know, it takes GML of even the crappiest kind, reads through it, and outputs it as more C++ friendly code. For example,if a=0instance_destroy()
if (a=0)
instance_destroy();
So this will take GML and convert it to C++, which will then be compiled? Why not just force C++, but with the ease of the GM interface and object/event system. 100x easier. Keep your converter as a guide for people trying to convert their projects.
Anyway, you will still need an interpreter for some of the features in the other blog- you should not bother with those until later in my opinion.So how is progress on the library? This will be the hardest part to mimic- there are so many functions, a few very easy to rip, but the rest hard and some impossible without an interpreter- and don't say you will get them in, because then there will be source code in the non-debugger version exe :SGood luck with this anyway, I will be interested to see how far this goes ;)Here's some pretty messy code.
I hope ENIGMA isn't one of those gay acroynyms that spell real words. I hate those.
@C-Ator9: Die. Just die. Not everyone hates clones, that's just an over generalization. As for ENIGMA being a clone: It's not going to be a clone of GM, it's just starting out that way. By the time the first release comes out, I'm hoping it will look much different, but for the time being, we don't have all that much to consider revising. If you have any suggestions for the layout, post an image of what you want the design to look like and we'll take it into consideration.
@C-Actos's 2nd post: We will do our best to make that possible.@F1ak3r: It could have been worse. xD@bendodge:
All right. I'ma make sure about the (id).whatever. This actually spikes the attention requirement of both parser and system.
Rest assured. We will find a way. Dylan agreed with me that the parser will play a key role in that as well as other aspects of GML conversion. It is NOT, by ANY MEANS, just a beautifier.Speaking of which, Bendodge, your code is syntactically incorrect. But, here it is after parse:Oops, I forgot that I was modifying that script. I must've subconsciously assumed that it was OK because I had compiled a working version just before that. But anyway, your parser seems pretty robust. :)
Are you still needing icons? I sketched some concept icons the other day, but I'm no good at making digital versions. I'll stick them on here when I get scanner access if you want.@Shadow=From what I know,things like string_execute will be left where they should be,in the bloated interpreter that likes to lag with silly functions
@Josh=you could get Ben's code if you delete his commentThe main thing to make sure with the parser is that it doesn't highlight what it won't read,because that is how someone knows if their code is alright or not.How I dread GM's file_text being highlighted(along with make_color and the like)