Pages: 1
Author Topic: Can someone help me I have a question  (30,419 Views)
Offline (Unknown gender) CainBeltrame

Member
Joined: Nov 2014
Posts: 3
View profile
Posted on: November 09, 2014, 08:47:00 PM
I'm new to enigma and LateralGM, My question I have written a game in LaterGM how can I change the custom background and foreground images of the progress bar in the loading options like you can in game maker? The two buttons are grayed out in the LaterGM IDE.

Any help would be appreciated. I'm using Windows 8.1 Pro.

Thank you.
Offline (Unknown gender) TheExDeus

Developer
Joined: Apr 2008
Posts: 1,860
View profile
Reply #1 Posted on: November 09, 2014, 08:59:53 PM
ENIGMA doesn't have loading bars of any kind. LGM should let you change them, in case you just want to modify a regular GM project, but ENIGMA doesn't use any of that. So it could be a bug.
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #2 Posted on: November 09, 2014, 09:34:46 PM
Hello CainBeltrame! We currently do not have splash progress bars because we are focusing more on the cross-platform stuff. I was actually planning to add the various platform options such as the new splash screen options and implement them to ENIGMA because it is easier to do for other platforms. We could always add them in as an extension however. Additionally as TheExDeus pointed out, LateralGM should still let you save those loading images to the project file because it is an IDE that can be used separately from ENIGMA because GM has no cross-platform IDE to edit projects in, LGM is the only solution for that so we make a point of making the programs separate. So are you at least able to save the progress images to the project file?

Edit: Ahhh yes I see the options are grayed out, I guess IsmAvatar did that to stop people from changing them. I'll have to implement them, possibly in the new LGM version.
Offline (Unknown gender) CainBeltrame

Member
Joined: Nov 2014
Posts: 3
View profile
Reply #3 Posted on: November 10, 2014, 12:24:50 AM
Hi. I have no problem with the splash screen loading it's the grayed out buttons I was talking about. So you will re implement them in the next LGM version?
I actually can compile LGM as well as Enigma myself. I've studied Java programming many years ago. When do you think you can have the new LGM version complete? Or if possible can you tell me which part and/or section I need to re-implement them myself?

I'd really appreciate it. :)
Offline (Unknown gender) Darkstar2

Member
Joined: Jan 2014
Posts: 1,238
View profile
Reply #4 Posted on: November 10, 2014, 01:01:29 AM
LGM is JAVA but the ENIGMA engine is C++.

LGM is the IDE, it has 2 jars one for the IDE (LGM) and another PLUGIN enigma.jar which allows LGM projects to interface with ENIGMA engine and compile, the main core engine is C++, IDE is JAVA.

Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #5 Posted on: November 10, 2014, 02:50:21 AM
Yes CainBeltrame, as Darkstar2 we've abstracted the project a great deal. If you for instance want to add a new function to the language you would do so in the engine which we call enigma-dev/ENIGMASystem/SHELL where new graphics and audio systems can be added as well as widgets and extensions to the universal system. LateralGM is an entirely separate project whose sole purpose is editing GM projects on multiple operating systems. ENIGMA offers the ability to compile games in LateralGM using a Java plugin with JNA (Java Native Access) to pass the games resources to the compiler which then translates the GML/EDL to C++ or JavaScript and links it to the main engine.

So to add the splash screen functionality you would have to expand the GameSettings resource that is passed to the compiler which would write the data to and link it to the engine. To simply add the splash screen functionality or even if you wanted to add it as functions you would either do so in a widget system or an extension. But to simply add it for adding and saving projects you would do so in LateralGM both in the Game Settings frame and GMK file reader/writer, though I believe the reader/writer already reads the images, LGM just does not let you change them.
https://github.com/IsmAvatar/LateralGM/blob/master/org/lateralgm/subframes/GameSettingFrame.java
https://github.com/IsmAvatar/LateralGM/tree/master/org/lateralgm/file
Offline (Unknown gender) CainBeltrame

Member
Joined: Nov 2014
Posts: 3
View profile
Reply #6 Posted on: November 10, 2014, 02:58:11 AM
Ok thank you guys. I understand now :)
Pages: 1