Please work with us. Test what we have, and try to find and isolate any problems. R4 is the next huge release, but updates will be given on an as-needed basis.
Let me also encourage users to join the forums. They will be totally merged soon, and I would appreciate the traffic.
Okay all, Josh here. Gonna give you all some probably well needed info on the release.
First note that the progress page on this site is, as usual, out of date. All functions can be found in fnames.txt.
I'll update this topic as I type, so keep refreshing till I say not to. (I'm going to forget to tell you to stop, just so you know)
For starters, welcome to the official alpha for ENIGMA. It was made public because I take everything public, because it's open source.
If you downloaded the thing as soon as the link appeared, you may need to know the CORE has been uploaded to.
The core is GCC, and only needs to be downloaded once. It will remain static throughout. The core does contain two files that not every GCC download will come equipped with, so you may need to download even if you already have GCC. (This has not changed since R2, so no need to redownload if you can just patch R2)
On the topic of patching R2, simply delete ENIGMAsystem\SHELL and the contents of the folder above ENIGMAsystem. (not including ENIGMAsystem itself, of course), then unpack the 7z or zip file in the top level.
If you are downloading the core fresh, extract it right to ENIGMAsystem.
==
Now, I never write release notes, but here are a couple:
1) Be advised, Build Mode's undo and redo appear to not work. This is because I totally neglected to do anything about them. However, everything else there should work. You resume by pressing "ENTER". I will get right to work on adding a resume button as well as adding the functionality behind undo. Fact is, no one's ever really needed them yet.
2) Sorry Linux users, I had to postpone the Linux and Mac distro. It should work sometime tomorrow or late tonight, but I can't promise the release date yet.
3) I know a lot of GM users tend to adore the function place_free(). As such, it is one of three operable collision functions for this release. (The other two are collision_point and collision_bbox_rect(). ) Also, no collision event has been added yet: please test out place_free for general purposes, then assuming that goes well, we will add in the collision event.
4) It has come to my attention that LGM's color coding for functions may be borked. That will also be fixed shortly
5) The release is still missing lots of resources. However; with(), scripts, and most other aspects of the scripting language have proven to work. Additions include cpp{}, asm{}, and typenames. global has a few bugs, which have totally dumbfounded me, but once more, that will be online shortly. Also, switch() is totally untested. Meaning it probably doesn't work, though it should at least compile.
6) show_message() is implemented. draw_text() is broke. external_define() will take more research than I could do for it so far, but should be in relatively soon.
7) It is not recommended that you try converting an existing game at this time.
=DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDGeez, you're even more excited than me. XD
This Code Returns an Error. Lol.FPS is not a string. Maybe that's why it wont. (Nor is room_speed.)
cout<<fps<<"/"<<room_speed;
This Code Returns an Error. Lol.
cout<<fps<<"/"<<room_speed;
This Code Returns an Error. Lol.FPS is not a string. Maybe that's why it wont. (Nor is room_speed.)
cout<<fps<<"/"<<room_speed;
Also, ENIGMA always returns a -6 compilation error, even when there is no code, just a room (with and without an object). Any help?
Chris94
You guys are getting a -6 Error? Mine seems to be Bug-Free!I forgot to download the core, that's why it didn't work for me! (It is working now though! Thanks basil and Josh @ Dreamland!) That's why most people are probubly getting the error.
If you don't put them in the same place you will get G++ error. Compile failed (-6)I did that, and I got the same result.
Using smileys in the way you just did is also not cruise control for cool.Oops, I meant to do 3 ?s to symbolize that I hadn't tested that one yet. Sorry. D:
*adds to "not cruise control for cool" list.*
So you copied the EnigmaSystem folder from Core, and placed it in the Other enigma folder?I did that and it didn't work, so I erased it and put just the R3 stuff into it. I did what Josh said as well, and it still didn't work.
Thanks. Also, my Log of the Var and Int Counting is complete. Next Test: Max FPSSo you copied the EnigmaSystem folder from Core, and placed it in the Other enigma folder?I did that and it didn't work, so I erased it and put just the R3 stuff into it. I did what Josh said as well, and it still didn't work.
*sigh*
Will I ever get it right?
@OL10: There's a checkbox to disable smileys, I believe.
if you really want to test speed, try to do everything in one frame. E.g. a for loop, or a while loop.Make a 1x1 room with only one object that is optimized with all of the variables turned off (except room_speed and fps) and then set the caption.
Sending Enigma resource names
Sending Enigma resource data
Executing Enigma...
Failed, Enigma not found
Sending Enigma resource names
Sending Enigma resource data
Executing Enigma...
Loaded fnames successfully.
Read 122 constants
Read 33 globals
Reading 1066 bytes of locals...
Read 1066 bytes of locals
Read locals successfully.
Opened file.
File is valid.
Read icon data.
Exported icon.
Read script names.
Read object names.
Read room names.
Read sprite names.
Wrote resource names.
Exported object switch.
LOTSA CODE
Loaded and parsed all events.
Read room data.
Wrote event declarations.
Wrote event code.
Wrote inherited locals.
Wrote with and script code.
Wrote mode data.
Wrote room data.
Starting compile. This may take a minute.
The system cannot find the path specified.
Compile failed. [1]
G++ error. Compile failed (-6)
If you can't say anything nice, then GTFO.Code: [Select]Sending Enigma resource names
Sending Enigma resource data
Executing Enigma...
Loaded fnames successfully.
Read 122 constants
Read 33 globals
Reading 1066 bytes of locals...
Read 1066 bytes of locals
Read locals successfully.
Opened file.
File is valid.
Read icon data.
Exported icon.
Read script names.
Read object names.
Read room names.
Read sprite names.
Wrote resource names.
Exported object switch.
LOTSA CODE
Loaded and parsed all events.
Read room data.
Wrote event declarations.
Wrote event code.
Wrote inherited locals.
Wrote with and script code.
Wrote mode data.
Wrote room data.
Starting compile. This may take a minute.
The system cannot find the path specified.
Compile failed. [1]
G++ error. Compile failed (-6)
Error in No particular event for object -3:
Trying to retrieve width of unexisting sprite 15
Hmm, methinks sprite-less objects are buggy.When I compile it returns -6. This is pobably the Cause:
if room+1!=4
{room+=1;}
else
{room=0;}
That's the only way to move between rooms, as room_goto is broken.
Just curious... how will it work for MAC/Linux? Neither supports EXE or anything like it, and don't they require installing?
Even if it was EXE, there isn't WINE for MACs.