Pages: « 1 2 3 4 5 6 7 »
  Print  
Author Topic: In need of a Sonic fangame engine for Enigma  (Read 78688 times)
Offline (Male) Goombert
Reply #75 Posted on: November 03, 2014, 04:21:04 pm

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
Why does the splash screen say LateralGM? Because the IDE is LateralGM, it works without ENIGMA, ENIGMA only provides the ability to compile games and supplies the run buttons and stuff. The whole point is that LateralGM and ENIGMA are completely separate programs that can be used independently of each other which lets us appeal to a wider audience.

Also you can now use a custom background image for the MDI area, create a folder called "lookandfeels" next to enigma-dev/lateralgm.jar and put an image called "lgmbackground.png" in the folder and restart if you already have LGM open and it will use your supplied image as the new background. This is so users can use a dark compatible background with dark look and feels, in addition to allowing you to simply customize it.





Edit:

Quote from: HitCoder
===========EDIT=================
I got an error upon opening a save file, however, it does not allow me to access the window with the error, and therefore I could not copy to clipboard, however, I have the HS_ERR_PID file, I think it has the right details (if not, more details)

Actually enigma-dev/output_log.txt is more useful in this case.
« Last Edit: November 03, 2014, 04:25:22 pm by Robert B Colton » Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) HitCoder
Reply #76 Posted on: November 03, 2014, 06:51:57 pm

Member
Location: Oxford, England
Joined: Aug 2014
Posts: 157

View Profile WWW Email
Here's the output log :P

Also, can you allow users to change the code editor font, and add a dark theme to the code editor? It's just a couple suggestions, they're not important, but... it'd look nicer. Also, I understand you'd have to go through every single colouring of each type of function, statement, etc... but it'd work better with dark themes.
« Last Edit: November 03, 2014, 06:54:47 pm by HitCoder » Logged
Computer Scientist, Programmer in C#, C/C++, Java, Python, GML, EDL, and more. Hobbyist musician.
DISCORD: HitCoder#4530
Offline (Male) Goombert
Reply #77 Posted on: November 03, 2014, 07:10:16 pm

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
We already have the code editor preferences outlined, look in the new preferences window, but don't set them they are not finished and are unlikely to work. It is expected to be finished before 1.8.7 major release

Second, can you PM me a download link to the project file so I can attempt it myself? The output log is getting mangled because it looks like you're loading it from the command line or file association.

Additionally, does this project work under the old LateralGM before you updated?
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) HitCoder
Reply #78 Posted on: November 04, 2014, 11:48:32 am

Member
Location: Oxford, England
Joined: Aug 2014
Posts: 157

View Profile WWW Email
I sent you the project, and yes it worked before the update. none of the project files for the game, even older backups, open in Enigma any more.
Logged
Computer Scientist, Programmer in C#, C/C++, Java, Python, GML, EDL, and more. Hobbyist musician.
DISCORD: HitCoder#4530
Offline (Male) Goombert
Reply #79 Posted on: November 04, 2014, 02:06:41 pm

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
This is really weird, I was able to open both of the project files perfectly fine and save them back to disk as well as compile them with no problems.



A couple of things:
1) Are you still able to reproduce the issue?
2) Try opening enigma.exe first, and then using the open dialog to open the file.
3) If that does not work try opening enigma.exe by itself and going to File->Recent Files->Clear and loading your project again.
4) Try changing the look and feel to something other than what you have it set to.
5) What look and feel were you using?
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) HitCoder
Reply #80 Posted on: November 04, 2014, 02:15:51 pm

Member
Location: Oxford, England
Joined: Aug 2014
Posts: 157

View Profile WWW Email
1) Yes it happens every time I open any project file.
2) How else do I load project files? If I try to open the project file from the file, I have always received errors.
3) Clearing recent files does absolutely nothing.
4) I am using the same theme as I did in the previous version
5) I am using Synthetica Black Eye.

I will try a different theme and post an edit as soon as I have received results.

EDIT - I tried the Native theme, didn't make a difference.
« Last Edit: November 04, 2014, 02:17:25 pm by HitCoder » Logged
Computer Scientist, Programmer in C#, C/C++, Java, Python, GML, EDL, and more. Hobbyist musician.
DISCORD: HitCoder#4530
Offline (Male) Goombert
Reply #81 Posted on: November 04, 2014, 02:31:28 pm

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
Hahahaha, I think I know what is wrong. You only downloaded the new LGM but not the new plugin. Replace the plugin jar in enigma-dev/plugins/enigma.jar as well.
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

That should fix it.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) HitCoder
Reply #82 Posted on: November 04, 2014, 02:35:08 pm

Member
Location: Oxford, England
Joined: Aug 2014
Posts: 157

View Profile WWW Email
Oh, I assumed it was the same as the last version, I just saw it was an October release. Hahahaha.
Logged
Computer Scientist, Programmer in C#, C/C++, Java, Python, GML, EDL, and more. Hobbyist musician.
DISCORD: HitCoder#4530
Offline (Male) Goombert
Reply #83 Posted on: November 04, 2014, 02:37:27 pm

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
Try it I want to make sure that it works.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) TheExDeus
Reply #84 Posted on: November 04, 2014, 02:38:57 pm

Developer
Joined: Apr 2008
Posts: 1860

View Profile
That is a usual problem here. I also often forget about it. I think LGM should show an error saying "Have you downloaded the correct plugin.jar?" whenever ENIGMA .dll crashes.
Logged
Offline (Male) HitCoder
Reply #85 Posted on: November 04, 2014, 02:44:01 pm

Member
Location: Oxford, England
Joined: Aug 2014
Posts: 157

View Profile WWW Email
It works, thank you. :)

EDIT:

I don't mean to request anything impossible, or too much work to even bother with, but is there any way you can implement a feature that when an object is renamed, any scripts refferencing the object are updated? If you think it would freeze the program on some projects, why not make it optional?
Just a request, I understand if it's impossible.
« Last Edit: November 04, 2014, 02:48:52 pm by HitCoder » Logged
Computer Scientist, Programmer in C#, C/C++, Java, Python, GML, EDL, and more. Hobbyist musician.
DISCORD: HitCoder#4530
Offline (Male) Goombert
Reply #86 Posted on: November 04, 2014, 02:46:20 pm

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
Quote from: HitCoder
It works, thank you. :)
Good I am glad that fixed it! I am sorry I wasn't able to figure it out sooner, I am getting better at reading these exception logs lol.  (Y)

Quote from: TheExDeus
That is a usual problem here. I also often forget about it. I think LGM should show an error saying "Have you downloaded the correct plugin.jar?" whenever ENIGMA .dll crashes.
It's not actually the DLL failing Hari, it's loading all of the native methods perfectly fine, the problem is LGM is calling a new method or something that it expects to be in ENIGMA's Java plugin which is not there, hence AbstractMethodError and not segfault.

The plugin however does show its own exception dialog.
https://github.com/enigma-dev/lgmplugin/blob/master/org/enigma/EnigmaRunner.java#L109

Currently the only place it is ever possible to get two exception dialogs is when both the plugin Jar and LateralGM have an exception, which is impossible because the exception dialog blocks all other exception dialogs so that you can still close the application, at least theoretically. You would want to change the plugin exception message.
https://github.com/enigma-dev/lgmplugin/blob/master/org/enigma/messages/messages.properties#L2
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) HitCoder
Reply #87 Posted on: November 05, 2014, 12:06:31 pm

Member
Location: Oxford, England
Joined: Aug 2014
Posts: 157

View Profile WWW Email
When I had the error, the loading dialogue was in the way of the program, and I couldn't close it (the window) or the dialogue. I used task manager though, so it's all good. I'm just saying, as you said
Currently the only place it is ever possible to get two exception dialogs is when both the plugin Jar and LateralGM have an exception, which is impossible because the exception dialog blocks all other exception dialogs so that you can still close the application, at least theoretically.

Also, did you miss this part, or ignore it?
Quote from: HitCoder
EDIT:

I don't mean to request anything impossible, or too much work to even bother with, but is there any way you can implement a feature that when an object is renamed, any scripts refferencing the object are updated? If you think it would freeze the program on some projects, why not make it optional?
Just a request, I understand if it's impossible.
Logged
Computer Scientist, Programmer in C#, C/C++, Java, Python, GML, EDL, and more. Hobbyist musician.
DISCORD: HitCoder#4530
Offline (Male) Goombert
Reply #88 Posted on: November 05, 2014, 12:10:28 pm

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
Quote from: HitCoder
When I had the error, the loading dialogue was in the way of the program, and I couldn't close it (the window) or the dialogue. I used task manager though, so it's all good. I'm just saying, as you said
Actually, haha, I had that too because I went and replaced the plugin to test the issue. That only happens going from the last version to the new version because I added checking for changes to the close button, so all other exception dialogs you receive in the future, you should still get a chance to save/exit without having to go to task manager. It was just blocking you because when you went to close it was looking for the check for changes method which was causing the initial exception. So that is only a temporary bug  (Y)

Quote from: HitCoder
I don't mean to request anything impossible, or too much work to even bother with, but is there any way you can implement a feature that when an object is renamed, any scripts refferencing the object are updated? If you think it would freeze the program on some projects, why not make it optional?
Just a request, I understand if it's impossible.
I am sorry, you're now the third person to request it so it must have just slipped my mind. It is on the todo list, but I don't think it will be in 1.8.7 stable. It requires quite a bit of recoding and we haven't made plans on implementing it but I definitely want the feature implemented, I use refactoring all the time in Eclipse.
« Last Edit: November 05, 2014, 12:12:33 pm by Robert B Colton » Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) HitCoder
Reply #89 Posted on: November 06, 2014, 01:39:03 pm

Member
Location: Oxford, England
Joined: Aug 2014
Posts: 157

View Profile WWW Email
Oh, that's excellent! I can't wait for this feature! Lol. Good luck coding it.
Logged
Computer Scientist, Programmer in C#, C/C++, Java, Python, GML, EDL, and more. Hobbyist musician.
DISCORD: HitCoder#4530
Pages: « 1 2 3 4 5 6 7 »
  Print