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 - Goombert

1576
Issues Help Desk / Re: compiling for mac?
« on: April 22, 2014, 12:51:15 PM »
Actually, these two are the only real errors. Any other ERROR or anything in that log is from JDI, and those are actually normal right now.

Code: (Bash) [Select]
Platforms/Cocoa/CocoaMain.cpp:44:20: error: no member named 'sleep' in the global namespace; did you mean simply 'sleep'?
    if (ms > 1000) ::sleep(ms/1000);
                   ^~~~~~~
                   sleep
Platforms/Cocoa/CocoaMain.cpp:43:8: note: 'sleep' declared here
  void sleep(int ms) {
       ^
Platforms/Cocoa/CocoaMain.cpp:45:5: error: use of undeclared identifier 'usleep'; did you mean 'sleep'?
    usleep((ms % 1000) *1000);
    ^~~~~~
    sleep
Platforms/Cocoa/CocoaMain.cpp:43:8: note: 'sleep' declared here
  void sleep(int ms) {
       ^
2 errors generated.

1577
Programming Help / Re: Using C++ and GML in same project. Why?
« on: April 21, 2014, 09:02:58 PM »
Structures specifically, if you for instance want the equivelant of a point object or something, you can make a small struct with just the variables, or say you want your own particle object to write a 3D particle effects system, you don't want to make an instance and include all built-in local variables such as x,y,speed,direction,image_angle etc for just a tiny 3D particle, you want only the variables you need. The biggest thing with it being you don't need scripts and DLL calls to wrap extensions and native code.

1578
Issues Help Desk / Re: compiling for mac?
« on: April 21, 2014, 08:57:09 PM »
Did the game open or not? It says make completed successfully.

1579
Issues Help Desk / Re: compiling for mac?
« on: April 21, 2014, 06:05:47 PM »
Now run an empty game, just open the program and hit the green run button, don't add any objects or anything.

1580
Issues Help Desk / Re: compiling for mac?
« on: April 21, 2014, 04:10:39 PM »
Hey sorry about this you guys, it looks like I screwed up the extra packages script yesterday when I updated the hashes, I accidentally deleted 24 lines which were related to Mac. This basically meant the execution of install.py during setup did not complete successfully. It has now been fixed.
https://github.com/enigma-dev/ExtraPackages/commit/86f6c6a988b9a7b65023bbedad9b304d0c03bc4e

1581
You pasted the ENIGMA error into the log, which no longer exists, she nor I saw the GMX loading exception, which is an issue.

Can you upload the GMX project?

Also, with LGM, when you save a GMX, you have to create a new folder, and save it inside that folder. It's impossible for LGM's save dialog to automatically create folders, Studio's does this because it does not let you save your projects wherever you want like older GM versions do.

1582
General ENIGMA / Re: LateralGM 1.8.5
« on: April 21, 2014, 02:00:03 PM »
Nobody has edited that script in years Sslaxx, I've only updated the hashes of the new Jars.
https://github.com/enigma-dev/ExtraPackages/blob/master/Packages.md5

I think the script always says that whenever you are already up to date, I can't remember.

1583
Programming Help / Re: function error
« on: April 21, 2014, 01:53:38 PM »
Harri execute_string does return a value, I just tested the following in GM8.1
Code: (EDL) [Select]
show_message(string(execute_string("return 50;")));And sure enough I got a message back with "50" in it. The behavior is just not documented I guess.

http://enigma-dev.org/docs/Wiki/Execute_string
http://enigma-dev.org/docs/Wiki/Execute_file

They work similar to script execute.

http://enigma-dev.org/docs/Wiki/Script_execute

1584
Issues Help Desk / Re: [Ubuntu] Updating ENIGMA + LateralGM
« on: April 21, 2014, 02:34:13 AM »
Yes it is because you updated the new LGM and plugin jars without updating the engine code, there was a major change which was support for UTF-8 encoded strings and Unicode fonts.

Basically, just cd to enigma-dev, then type git fetch and hit enter, then do git pull. Once it is done go ahead and java -jar lateralgm.jar and everything should work again!

Edit: Looks like you got it :)

1585
Issues Help Desk / Re: compiling for mac?
« on: April 20, 2014, 05:08:45 PM »
Go ahead and change the GCC version, there may be other issues with Clang.

1586
Issues Help Desk / Re: compiling for mac?
« on: April 20, 2014, 05:00:46 PM »
On Linux  and Mac when it says it failed to create the make directory it can also mean the directory already exists.
https://github.com/enigma-dev/enigma-dev/blob/master/CompilerSource/makedir.cpp#L80

1587
Issues Help Desk / Re: compiling for mac?
« on: April 20, 2014, 04:36:07 PM »
There are more Mac instructions on the Wiki.
http://enigma-dev.org/docs/Wiki/Mac#Dependencies

I need to clean this up some more, the main OS pages should be about the OS, we have Install: for each platform.

1588
General ENIGMA / Re: LateralGM 1.8.5
« on: April 20, 2014, 04:30:46 PM »
Ok I have made the exception handling a little better. In the event an exception occurs where Java continues pumping events (such as an exception when painting a control) you should now be able to close the main frame or even attempt to save a backup of your project to stop from losing changes because the dialog is no longer modal. The dialog also will no longer block other applications so you should be able to open task manger as a final solution if nothing else works.

Please update both the LateralGM and plugin jar files and then git pull from the ENIGMA repo.
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

You can also simply download the updated Portable ZIP for Windows.
http://enigma-dev.org/docs/Wiki/Install:Windows

1589
Issues Help Desk / Re: compiling for mac?
« on: April 20, 2014, 02:58:09 PM »
Did you create the folder like Josh told you to?

1590
General ENIGMA / Re: LateralGM 1.8.5
« on: April 20, 2014, 02:07:52 PM »
Harri, that is the exact bug I attempted to fix. I have decided to just check the regular keycodes instead of the damn escape sequences.
This was the commit.
https://github.com/IsmAvatar/LateralGM/commit/7d9833c36bbcc3e860ba2f3d0f61a4f74a1684f9

The new LGM is on the extra packages page, it is also now in the Portable ZIP.
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages#LateralGM