Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - IsmAvatar

Issues Help Desk / Re: enigma can't find 'make'
« on: July 06, 2011, 04:50:47 pm »
I already print the SVN revision number - but only if svnkit is installed.
As for the NPE, I'm still taking a look
As for the .exe, yeah, spec2...

Function Peer Review / Re: "Choose" statement
« on: July 06, 2011, 04:45:02 pm »
I suppose, yes, pigeonholing, if done right, would be no less efficient than inlines.

Function Peer Review / Re: "Choose" statement
« on: July 03, 2011, 04:36:24 pm »
pigeonhole each of the options, then choose one with random(n). This is a simple but somewhat inefficient way to do it.

A more efficient way to do it would be the same way we plan on implementing max, which also isn't implemented at this point.

max(a) = a
max(a,b) = a > b ? a : b;
max(a,b,c) = max(a,max(b,c));
max(a,b,c,d) = max(a,max(b,max(c,d)))

likewise, instead of doing the > comparator for the secondary base case, you'd simply do a random() > 0.5 type of thing.

Issues Help Desk / Re: just started
« on: July 03, 2011, 03:40:57 pm »
Running mac virtually requires that your motherboard and processor support hardware virtualization - and that's not something that comes by default in newer boards. You have to pick your board to make sure that it supports virtualization, and then sometimes you also have to play around in the bios to enable it (because it's oftentimes disabled by default).
Additionally, running other platforms virtually tends to be very slow, especially mac.
And, to kick it all off, acquiring an image for installation to virtual machine on non-native hardware is shady to say the least. Downloading a windows or mac image is hardly legal.

Issues Help Desk / Re: just started
« on: July 02, 2011, 07:52:55 pm »
no, no, maybe, probably.
Depends what you mean by primitives. If you mean the GM built-in 3d primitives or something like that, I doubt it. If you just mean primitives in general, sure, using the raw OpenGL.

You're always welcome to play around. If something doesn't work, it'll probably tell you. If some function isn't implemented yet, it'll probably just say "No such function".

For a list of implemented functions, go to ENIGMA > Keyword List > Functions, and look through the list (or search for a specific function using the text field at the top).
For a list of unimplemented functions, see our wiki:


In any given context, context is useless.

General ENIGMA / Re: few questions and an offer
« on: June 28, 2011, 01:00:34 pm »
Actually in the US, the spelling is a dialect thing. In many areas, it is 'gray', but often enough we see it as 'grey'. Both spellings are valid. Usually when responding, I use the same spelling as the first person used, for consistency sake. When initiating, I'll usually just pick whichever one I feel like, which is usually 'gray'.
Point is, it doesn't matter enough to warrant this series of posts.

Issues Help Desk / Re: just started
« on: June 28, 2011, 12:55:38 pm »
Android support is still on its way. TGMG, the guy behind the project, hasn't yet linked it up with Windows or Linux, claiming that he's still working on porting some OpenGL ES functions or whatever, and then needs to test the win/nix port. I've been bugging him to finish it every chance I get.

As for the 3 events, those are only the default provided events for convenience, because they are the most used. You are in no way limited to them. Adding an event works similarly to Game Maker - you simply click on the Event Selector icon next to the "Delete Event" icon, or click on the Event Selector icon in the LGM toolbar (near the top). This will bring up the Event Selector, which shows all available events in a tree view - so a bit different from GM. Select the event you wish to add, and then choose any extra details about it (like which key for keyboard events, which object for collision events, etc), and then add it by either right clicking, double clicking, or drag-and-dropping it from the tree into the desired object's event list.

General ENIGMA / Re: few questions and an offer
« on: June 27, 2011, 12:16:10 am »
Any svg program of your choosing, as long as it's scalable vector graphics. I highly recommend InkScape. I use it all the time, it works great, and as far as I'm aware, it's the same program Quadduc used to make the icons.

As for your second question/problem, in LGM, the room color defaults to black (will be changed in next revision), not grey. Ensure that the background is indeed grey and not black. If that's not the issue, I'd look at the black object next and find out if something about it could be interpreted as "paint the whole room black". If all else fails, share a gm81/gmk/gm6 that exhibits the problem and we'll take a look at it.

General ENIGMA / Re: few questions and an offer
« on: June 26, 2011, 11:00:28 pm »
To answer your biggest question:
The link you provided to a program called Cheese.jar is simply LateralGM (the IDE) paired with a plugin that simply attaches the game data to Game Maker's runner data, producing a bona-fide GM executable. It is still interpreted, and it is still windows-only. It also discards any GM7 or GM8 specific resources/data, and fails if you try to use any GM7 or GM8 specific code.
ENIGMA compiles your game to C++, which makes it cross platform and non-interpreted, along with the hundred other things that set ENIGMA apart from GM. The reason they appear the same is because they both use the same IDE, LateralGM. The difference is what goes on behind the scenes, when you press the Compile button.

a) It takes a long time (at least the first time) because it's not just slapping game data onto the end of runner data to be interpeted later. Your game is actually being compiled into machine readable byte code. Even the "runner" of your code, or the core code behind everything that happens, needs to be compiled the first time. However, after you've compiled the first time, the second and later times will all be relatively quick, since they only need to recompile whatever you've changed. This is also explained on our Install wiki page.
b) I'm working on it. It will be available soon.
c) Ok, find me one. I've tried over and over again, and haven't found one.
d) Yes, almost any, but some features aren't supported yet. Yes, depending on what you mean by "safe", I can assure you that they won't be decompiled any time in the near future. Yes.

As for your offer:
You must be able to work with Scalable Vector Graphics (svg), and you must be willing to license them in a libre license such as the GNU GPL. All of our Drag and Drop icons were created by Quadduc, one of our team mates (who isn't active on the project anymore). Most of us found them to be not only suitable, but better than anything any of us could have done. As for the resource icons, we're currently in the process of replacing them with this set: . If you think you can provide a better set of icons, either DND, resource, or both, following my two criteria (svg and libre) then feel free to show us some, and we'll review them and, if satisfactory, apply them.

Off-Topic / Re: G-creator forum?
« on: June 19, 2011, 01:06:31 am »
About as slow as Duke Nukem Forever. Oh wait.

General ENIGMA / Re: Game Maker and LLVM
« on: June 19, 2011, 01:05:48 am »
He said he had no intention to.

Ideas and Design / Re: Replacing Plugin Workdir (and possibly LGM's)
« on: June 16, 2011, 08:31:12 pm »
RetroX suggested a very good idea to essentially solve LGM's WORKDIR rewrite:
Search for Plugins and Libraries in two locations:
  • The current LGM.jar directory (primarily for Windows users)
  • ~/.lateralgm/ (primarily for Linux users)
And temporarily resolve ENIGMA's WORKDIR to LGM.jar directory until we find something else to do with it.

I like the idea, but it does have some problems:
  • How does this bode for Mac?
  • This still relies on LGM.jar directory, which causes exceptions when run from a Windows network. The #java folks vaguely hinted at the fact that for Windows I should also have some kind of generic home directory for settings (similar to ~/.lateralgm, but for Windows), but I haven't been able to figure out how to achieve this in a cross-platform manner.