ENIGMA Forums

General fluff => Announcements => Topic started by: Goombert on May 16, 2013, 03:40:14 AM

Title: LateralGM Update
Post by: Goombert on May 16, 2013, 03:40:14 AM
(http://oi39.tinypic.com/35bcldv.jpg)(http://oi39.tinypic.com/aom2vk.jpg)
(http://oi42.tinypic.com/e5l1rm.jpg)(http://enigma-dev.org/docs/wiki/images/7/79/Lgm_ide_nimbus.png)

Hello as some of you may know I have been working on major improvements to the LateralGM IDE for some time now. I am attempting to bring loads of new features and bug fixes. I want to welcome everyone to come and test the latest version for diagnosis as we reach our way up to 2.0 for a stable build.

(http://enigma-dev.org/docs/wiki/images/7/78/Lgm-splash.png)

NOTICE! You are advised to upgrade to the latest Java version, it will have the best performance and fix many security holes in many old Java versions.

If on Windows you may install by downloading the latest Zip installer here...
https://enigma-dev.org/download.htm
However you should not it may not be as updated as the jar file below because it is so large and hard to repackage over minor improvements.

To manually upgrade, simply download the zip file from the packages page below and extract it. Then copy and overwrite the Enigma.jar in /plugins/ and copy and overwrite lgm16b4.jar with lateralgm.jar.

Download: http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

If you are experiencing a problem with Bold fonts on Linux, this is a current bug of the Open JDK when you install WINE. Just run the following command in a terminal to remove the font package installed by WINE and it will still work fine and LGM will not have bold fonts. You can also run LGM in the new default JRE 7 if you wish as well, it also appears to have better performance.
Code: [Select]
sudo apt-get remove fonts-unfonts-core
********** CHANGE LOG **********
1) Preferences panel implemented
2) Theming and icon customization
3) Added context popup menu to script editor when you right click
4) Merged JoshEdit branch to main repository
5) Object information frame added, can be used to pastebin entire objects
6) Drag and drop can be toggled, when off it hides the action list editor and you get an edit button in the object and timeline editors, when clicked it checks the first action and checks if it is a code action or not if it is it opens it for editing in a code window otherwise it prepends a new one
7) Context menu added to game information window
8) Added multiple selection to the resource hierarchy tree
9) Default room editor size is a little bigger now, as requested
10) Added missing buttons to the game information frame as well as the ability to save/load
11) You will now be asked on exit whether you would like to save any recent unsaved changes, works but is unconditional for now
12) Line numbering in script editor less bold and in your face and properly right aligned to content area now
13) Fixed autocompletion window bug, it now shows in the correct location
14) Fixed a bug with select all not repainting the gmltextarea
15) Fixed bugs with cut, copy and paste in the script editor not immediately realizing the scrollbar
16) Fixed null pointer reference
17) Java performance increase due to IsmAvatar's prior optimizations
18) Resources now show up in auto completion window for the code editor
19) Added save and load button to code editor
20) Fixed code editor caret size and made it not all thick and bold but look like a normal caret.
21) Added the append subimage from file button to the sprite editor for cheeseboy
22) Fixed replace all button in the find and replace window, it will popup at the end and tell you the number of replaced occurences
23) Added Manual button and preference to set the path, if the path includes http:// the url will be opened in the default system browser otherwise the path is given to the system to open as a local file
24) Added path preference for custom icons
25) Updated splash screen
26) Added GPL Calico icon pack by Josh Ventura
27) Added context menu strip to output window
28) Fixed compile button
29) Added build buttons to main toolbar, with icons
30) You can now select multiple resource tree nodes
31) Fixed bug where objects would not draw the object icon when they dont have a sprite in the room editor
32) Added networking systems to the plugin, you can now select them
33) Added the ability to set language in preferences panel
34) Fixed an issue regarding GMK format 820, exported from GM:Studio
35) Events panel is now a modal dialogue, preference added for docking it as a panel
36) Added timeline information frame, both object and timeline info frames will tell you total number of lines of code now
37) Preferences can now be overriden by placing "preferences-en_US.properties" file directly next to the jar file allowing access to preferences not appearing in the prefs. panel you should also note "-en_US" may be different depending on your locale
38) Sprite previewer now has multiple file selection for adding subframes, simply hold ctrl while left clicking each file you want added
39) Fixed game information saving and loading
40) Fixed global game settings saving and loading
41) Added hotkeys for build menu
42) Fixed visual anomalies with script editor status labels caused by improper separator layouts and also adding padding for line numbers
43) Added Wrap at EOF option to the find and replace dialogue, or well, made it work anyway
44) Made opening project files that don't exist, mainly recent files that have been moved, throw an error message instead of not loading
45) Fixed the maximized window bug on Windows, it now properly remembers the state, this however is not implemented by the JDK only for Linux platforms, etc. and also discovered the registry error for preferences being caused by a nonexistent key
46) Added preference to dock the event panel the old way on the right
47) Fixed the red drag and drop action, it was causing an error as the image used for the arrows was moved around with lib files
48) Fixed bug with resource info frame horizontal scroll bar and select all
49) Fixed resources not being syntax highlighted, eg. scripts as functions, it was due to Josh telling me to leave the code from JEdit for the update keywords function, they will also show up in auto completion now
50) Fixed bad_alloc() caused by hitting any of the compile buttons too soon after opening LGM, the buttons will now only be enabled when you actually are able to compile without risk of crashing the IDE.
51) You should now be able to pass the first command line argument as which file you want LGM to open, does not work with the enigma.exe yet
52) Experimental GMX loading support
53) Implemented Shader resource
54) Fixed script context menu accellerators
55) On Windows GMX, GMK, and EGM, can now be made to open on double click either by double clicking one of the files or going to control panel and setting the default program for the filetypes to the enigma.exe
56) Fixed compile button on Windows not adding the .exe extension, it will only do it if you leave the file extension blank.
57) Compiled .exe's now contain your copyright info and game icon on the executable.
58) Added support to the sprite editor for loading the subimages of a GIF and not just the first frame
59) Redesigned Sprite Editor with zooming support and cut, copy, and paste for multiple subimages and between sprites
60) Redesigned Background Editor with zooming support and other information
61) Resource editors now display things such as RAM usage, etc.
62) Fixed sound frame from not letting you preview audio, mp3 is still not supported when previewing but you can still load and add them to your project, but you really should use OGG instead
63) Added text alignment options to game information
64) Multiple selection for the resource tree has been added, you can delete multiple resources now.
65) Updated action libraries
66) Various other bug fixes and improvements

If you encounter any issues or bugs I would appreciate it if you could file them on the LateralGM Github tracker, you may file them here on the site but I would prefer they be posted on LGM's tracker, but it doesn't matter. Please don't be afraid to report issues, if I do not know what they are I can not fix them.
https://github.com/IsmAvatar/LateralGM/issues?state=open
Title: Re: LateralGM 1.8 Beta
Post by: TheExDeus on May 16, 2013, 07:39:02 AM
Nice, though the auto-complete bug is still there. And double click on event doesn't open code editor on win7.
Title: Re: LateralGM 1.8 Beta
Post by: Josh @ Dreamland on May 16, 2013, 11:06:28 AM
He has only recently merged in that branch. Autocomplete worked fine in the JEdit branch. :P
Title: Re: LateralGM 1.8 Beta
Post by: Goombert on May 16, 2013, 11:30:07 AM
Yes I will get around to those bugfixes, there are multiple ones in JoshEdit, I am taking a break to do some stuff with the plugin like fix the compile button and add a run/debug button to the main toolbar and other stuff like make definitions modify parse each time you compile.

Edit: I have made another round of a load of bug fixes, including the bug mentioned by Harri...
(http://oi43.tinypic.com/2chx0tc.jpg)
Title: Re: LateralGM 1.8 Beta
Post by: gra on May 17, 2013, 12:36:20 AM
I'm happy  :D
good design of updated lgm, the fix of autocompletition bug is great
.question about a feature:
But the autocomplete of objects name is difficult?
EDIT
the startup speed of lgm , now it is amazing!!
Title: Re: LateralGM 1.8 Beta
Post by: intygamer on May 17, 2013, 10:33:46 AM
Hi

I downloaded the beta version to try out.  I unzipped the new jar file and replaced the one in enigma-dev directory with the new jar file.  When I loaded this it says its version 1.6 and did not see any of changes made.

Joe
Title: Re: LateralGM 1.8 Beta
Post by: Goombert on May 17, 2013, 12:21:44 PM
Glad your happy gra!!!  :) I am working on resource auto completion its a bug causing them not to show. The startup speed is due to optimization in the JDK.

The splash screen still says 1.6 but it is 1.8, you should have at least noticed a change in the GUI, do you see a preferences window? It is on the toolbar and under file, try to look for it and enable a different GUI theme.
Title: Re: LateralGM 1.8 Beta
Post by: gra on May 17, 2013, 04:14:49 PM
Quote
I am working on resource auto completion its a bug causing them not to show.
great  (Y)
Title: Re: LateralGM 1.8 Beta
Post by: Goombert on May 17, 2013, 05:35:00 PM
Fixed it gra, redownload, resources now show in auto completion  (Y)

Edit:
added save/load buttons to script editor, and added the subimage from file button to sprite editor for cheeseboy, also added the replace all button to the find and replace window it will popup a little message box with the number of replaced occurences once finished
Title: Re: LateralGM 1.8 Beta
Post by: gra on May 17, 2013, 10:09:25 PM
thanks , just for this weekend  :D
i suspect the full enigma-dev immersion with computer scientist collaborator for guitar bass game  ;D
if i have other features ideas, post there
Title: Re: LateralGM 1.8 Beta
Post by: Ideka on May 17, 2013, 10:31:35 PM
Looking good. Nice, Robert.
Title: Re: LateralGM 1.8 Beta
Post by: Goombert on May 18, 2013, 02:12:18 PM
Thanks guys its what I'm here for!  :D I just thought I do something that immediately improves ENIGMA's usability and performance for once. Gra, I added the ability for you to set a custom icon path location in the preferences panel, if you want you can just leave the theme alone and add your icons to a folder named "icons" next to the Jar file, and make sure you put them in the correct folders eg. "icons/actions/", "icons/events", "icons/restree/" and that they have the correct file names such as "background.png" or "save.png"

Zeseterer, whererever you are I added the ability to set the path location for the manual it can be a local file path or url, it will automatically detect how to open it, the default is to tell the system default browser to open our Wiki's main page.

I also fixed replace all with the find and replace window, afterwards it will tell you the number of occurences replaced, make sure you set your caret at the beginning of the area you want to replace, I haven't fixed the scope portion of the find and replace window yet. There are also now some themes I forgot to add originally. Keep the suggestions coming you guys  (Y)
Title: Re: LateralGM 1.8 Beta
Post by: gra on May 19, 2013, 12:35:05 AM
another problem, for my eyes ,the font of code editor, is little  :D , any idea for resize?
wow the custom icon, my icon not good i try to render to 16x16 and post result
thanks (Y)
EDIT
i update a icon set (toon-retro)
EDIT2
Robert, can you explain the icon folder and name?
where is the script that load files? i try to see the names of files icon
Title: Re: LateralGM 1.8 Beta
Post by: slojanko on May 19, 2013, 05:08:33 AM
I had to change the jar file name to get it working.
Title: Re: LateralGM 1.8 Beta
Post by: zesterer on May 19, 2013, 04:38:49 PM
Looks awesome! Downloading now!
Title: Re: LateralGM 1.8 Beta
Post by: Goombert on May 19, 2013, 05:41:53 PM
Yes gra we will add the options to set syntax highlihgting and font style of the code editor in the preferences Window when we get to it. I need to get this LGM done first though as I have to first add it to the JoshEdit project. The code is internal for loading the custom icons if you have an icon theme already set any icons in /icons/ by default will override them if you set it to custom it will look for only those icons. They must be in the same order they appear as in the internal icon packs. Please use this for reference gra, https://www.dropbox.com/s/l3aya6s20gr8u3t/icons.zip

Slojanko, yes we need to update the installers we will no longer version number the file name but only in the about window and stuff.

Thanks zesterer  (Y)

Anyway, I've updated the download with the build buttons on the main toolbar and I added a context menu strip to the output window as well as fixed compile button exceptions, you can now easily make built executables.
Title: Re: LateralGM 1.8
Post by: gra on May 20, 2013, 01:25:17 AM
another features:
--the compilation setting stored in saved files
--when load file, the keyboard letter , search the file with initial letter (in lgm1.6 this feature is present)
EDIT thanks for icon examples
my icons preview
Title: Re: LateralGM 1.8
Post by: IsmAvatar on May 20, 2013, 10:14:46 AM
I just wanted to clarify that this "LGM 1.8" is Robert's fork of LGM, done with my permission.
Robert's fork uses a different version numbering system than the official repository (official is still on 1.6 and may be for some time), and also may have some minor licensing conflicts, regressions, or unapproved features that will (hopefully) not appear in the official LateralGM repository and releases maintained by myself.

That said, I'm glad to see he's managed to make his own fork release, and glad to see such a positive receiption for his release.
Title: Re: LateralGM 1.8
Post by: TheExDeus on May 20, 2013, 01:19:59 PM
Well I don't see what features shouldn't be added to official LGM. All of the things he added and fixed have been a problem for a VERY long time. As LGM seemed abandoned for almost two years I welcome his activity. While I agree that some things he possibly adds could of be added differently (I don't use Java and haven't looked at the code), but the features themselves were really needed.

So I don't see any reason for his fork not to be official distribution with ENIGMA.
Title: Re: LateralGM 1.8
Post by: Josh @ Dreamland on May 20, 2013, 01:33:53 PM
IsmAvatar has had LGM in a "feature freeze" for ages. I'm not sure if she still has plans to consider 1.6 for a release, but I personally discourage it; the rest of the Game Maker world has moved on, and LGM is quickly reaching obsolescence, even outside of the ENIGMA world. That said, I understand if she ends up not pulling the changes, or pulling them as a new branch and then sifting the bug fixes into master (this is what I'm expecting she'll do).

That said, based on the results of Robert's beta release, we will probably be switching to his fork until Ism starts work on her own master branch. In the event that the two begin to diverge, we (as in, the ENIGMA organization on GitHub) will maintain our own fork, assuming Ism is willing to help patch any merge conflicts arising from divergent systems. I suspect she will be, considering ENIGMA's userbase constitutes a substantial and increasing fraction of LGM's userbase.
Title: Re: LateralGM Update
Post by: Goombert on May 20, 2013, 03:28:04 PM
Well nobodies had any problems and in fact it is much much better.

Here is the old version for comparison...
(http://enigma-dev.org/docs/wiki/images/1/1d/Rain.png)

Harri, what you talkin bout my screenshots? I keep updating the screenshots with each new zip file, maybe you aren't updating as quickly.

And gra, I have no idea what your asking me  :D Very nice icons though you should make them as SVG you have some Anti-aliasing artifacts.
Title: Re: LateralGM Update
Post by: IsmAvatar on May 20, 2013, 04:24:16 PM
LateralGM is proud to state that these changes have been merged into the official LateralGM repository with appropriate revision to make them acceptable.

Robert has expressed that he does not desire to continue to maintain a separate fork of LateralGM, and his changes were always intended to be merged back into the main LateralGM repository maintained by myself.

Note that for the time being, Robert will be in charge of understand exactly what this implies for persons wishing to checkout or build from the LateralGM repository (namely, which branch to use), at least until I can figure it out for myself.
Title: Re: LateralGM Update
Post by: IsmAvatar on May 20, 2013, 04:26:28 PM
Also, if anything broke, it's Robert's fault.
Title: Re: LateralGM Update
Post by: Goombert on May 20, 2013, 04:56:10 PM
hey Ism, have a pickle...

(http://www.topleftdesign.com/blog/wp-content/uploads/pickle1.jpg)
Title: Re: LateralGM Update
Post by: gra on May 21, 2013, 03:17:52 AM
Robert, little bug:
when i open project with another project open, the project load name of file, but the interface view the previous project...

1solution: if i close all menu (like all codes editor and object menu) and load , it go
2solution: i solve this with creation of new project and after load the next project

it is little bug
Title: Re: LateralGM Update
Post by: Goombert on May 21, 2013, 12:33:33 PM
I already know I experienced it myself in the last build, but I was quite sure I fixed it. Please download the latest latest version I posted in my original post gra, and see if it is gone, if not I'll have to take another look, as I am not having the issue anymore myself.
Title: Re: LateralGM Update
Post by: gra on May 21, 2013, 01:01:45 PM
the issue not go away, strange, the file is posted 19hours ago? have you upload the file?
Title: Re: LateralGM Update
Post by: Goombert on May 21, 2013, 01:16:24 PM
Perhaps I uploaded the old version by mistake, I have updated it again to just be sure, try again gra.

I just was able to load like 6 different games without any exceptions...
Code: [Select]
Starting platform inspection
 - ENIGMAsystem/SHELL/Platforms/Cocoa/Info/About.ey: Opened.
 - ENIGMAsystem/SHELL/Platforms/Android/Info/About.ey: Opened.
 - ENIGMAsystem/SHELL/Platforms/xlib/Info/About.ey: Opened.
 - ENIGMAsystem/SHELL/Platforms/OGREws/Info/About.ey: Failed!
 - ENIGMAsystem/SHELL/Platforms/Win32/Info/About.ey: Opened.
 - ENIGMAsystem/SHELL/Platforms/iPhone/Info/About.ey: Opened.
 Done.
time taken to load file: 162 ms
time taken to load file: 84 ms
time taken to load file: 22 ms
time taken to load file: 34 ms
time taken to load file: 35 ms
time taken to load file: 11 ms
time taken to load file: 30 ms
time taken to load file: 36 ms
owner@owner-Aspire-M3470G:~/Desktop/enigma-dev$

If you can upload the games you are trying to load that would also be helpful. I need exact steps to reproduce from the time you launch to the time the exception occurs.
Title: Re: LateralGM Update
Post by: gra on May 21, 2013, 10:18:17 PM
the bug is present at same conditions...
little note
i have istalled enigma on netbook, lateralgm go slow, but the speed increase if i change theme to gtk.  (Y)
Title: Re: LateralGM Update
Post by: Goombert on May 21, 2013, 11:57:21 PM
Yes the speed improvement is because the JDK doesn't draw the widgets your operating system does, was kinda the point of me letting you guys set them. Anyway, gra I am unable to reproduce this now I thought I fixed it please file a bug report on the LGM tracker and we can further investigate the issue and also discern whether it is a regression.

https://github.com/IsmAvatar/LateralGM/issues?state=open

Or else just file it on the website tracker and the bot will get it for you. Please include your operating system, exact steps to replicate, and other useful information.
Title: Re: LateralGM Update
Post by: gra on May 23, 2013, 12:57:52 AM
ok i hope to subscribe to github
Title: Re: LateralGM Update
Post by: IsmAvatar on May 23, 2013, 09:09:35 AM
This sounds like a LateralGM bug, so it belongs on the LateralGM tracker, not the Enigma tracker (the link at the top). But it looks like gra's going the correct route anyways.
Title: Re: LateralGM Update
Post by: gra on May 23, 2013, 10:47:30 AM
it's probaly lxde of lubuntu 13.04...
wait i try with unity
EDIT
the problem persist , i submitted in github site
Title: Re: LateralGM Update
Post by: IsmAvatar on May 23, 2013, 12:03:13 PM
gra: I think I found the source of the problem, but I'm not sure if it's the same as your problem. Please check out my comments on the ticket and provide additional info.
Title: Re: LateralGM Update
Post by: gra on May 23, 2013, 12:31:41 PM
ok i have explaned another case of same bug, but your explanation is good and detailed  (Y)
Title: Re: LateralGM Update
Post by: Goombert on May 24, 2013, 01:59:21 AM
I have fixed the Null Pointer Exception gra, please download the new jar file...
https://www.dropbox.com/s/zwtpe77h0j9c2eq/LateralGM18.zip

Let me know if the issue persists or not.  (Y)
Title: Re: LateralGM Update
Post by: gra on May 24, 2013, 10:46:32 AM
with code editor open persist
Code: [Select]
time taken to load file: 59 ms
time taken to load file: 11 ms
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at org.lateralgm.subframes.GmObjectFrame.dispose(GmObjectFrame.java:797)
at javax.swing.JInternalFrame.setClosed(JInternalFrame.java:829)
at org.lateralgm.components.mdi.MDIPane.closeAll(MDIPane.java:112)
at org.lateralgm.main.LGM.reload(LGM.java:501)
at org.lateralgm.main.FileChooser.open(FileChooser.java:528)
at org.lateralgm.main.FileChooser.open(FileChooser.java:491)
at org.lateralgm.main.Listener.actionPerformed(Listener.java:221)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
~Clip~
but wuth resource tree open the bug is fixed
Title: Re: LateralGM Update
Post by: IsmAvatar on May 24, 2013, 10:55:17 AM
This problem is fixed, but you still have an outdated jar. Robert's build must have failed or something.
Title: Re: LateralGM Update
Post by: polygone on May 24, 2013, 03:32:13 PM
Is it possible that we can ever see the serious bugs (ie the ones left on the tracker) be resolved?
https://github.com/IsmAvatar/LateralGM/issues

These are the ones that are hindering ENIGMA.
Title: Re: LateralGM Update
Post by: Goombert on May 24, 2013, 04:55:00 PM
IsmAvatar, no you didn't listen to gra, he said when he adds a code action then opens it and closes the object frame it gives another NPE, I assume because the object frame is disposed of before the Action frame. That is not a regression and is therefore not my fault, I checked the dispose of the object frame and it does not dispose of action frames, so I do not know.
Title: Re: LateralGM Update
Post by: intygamer on May 24, 2013, 09:03:24 PM
I downloaded newest LGM 1.8 update today to test out.  It hangs up on start up when loading the plugins.  I updated all files.  Below is a screen capture of the text from the terminal.

joey@joey-ME051:~$ cd enigma-dev
joey@joey-ME051:~/enigma-dev$ java -jar lateralgm.jar
Java Version: 10600 (1.6.0_27)
Loading lib files in /home/joey/enigma-dev/lateralgm.jar
01_move.lgl 02_main1.lgl 03_main2.lgl 04_control.lgl
 05_score.lgl 06_extra.lgl 07_draw.lgl
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/enigma/EnigmaRunner : Unsupported major.minor version 51.0
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
   at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
   at org.lateralgm.main.LGM.loadPlugins(LGM.java:455)
   at org.lateralgm.main.LGM.main(LGM.java:733)

I have Ubuntu 12.04

Thanks
Joe
Title: Re: LateralGM Update
Post by: Goombert on May 25, 2013, 01:01:24 AM
Your Java version is out of date my friend.

Code: [Select]
owner@owner-Aspire-M3470G:~$ java -version
java version "1.7.0_17"
OpenJDK Runtime Environment (IcedTea7 2.3.8) (7u17-2.3.8-1ubuntu1)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
owner@owner-Aspire-M3470G:~$

Edit:
Hey thats wierd o_O I just had to refork ENIGMA and got the exact same bug, it wouldn't download the jar files, I had to wait a bit. I'll need to investigate this.
Title: Re: LateralGM Update
Post by: IsmAvatar on May 26, 2013, 03:52:56 PM
LateralGM is designed to work back to Java 1.5 (although 1.5 requires an additional jar). If a person wants to use 1.5 or 1.6 for whatever reason, we will support them as best we can. Some day we may stop supporting older versions, but for now, we support them.

As for gra's problem, actually I followed the exception stack trace that he provided, and it indicated that he was using an older version, as it pointed to code that has since been corrected. If he can reproduce the problem and have the stack trace indicate that it is the latest version, I'll believe it.
Title: Re: LateralGM Update
Post by: TheExDeus on May 31, 2013, 08:04:06 AM
I sometime get this bug: https://dl.dropboxusercontent.com/u/21117924/lgm_bug2.png
So no icons. It also doesn't open room editor etc. When I change the theme from the default I get it working again (also when I set it to something else and then back to default (which is native), but I get different problems (like some icons still not showing up or truncated text). When I change the icon set however, then everything seems to work.
Title: Re: LateralGM Update
Post by: Goombert on May 31, 2013, 08:10:11 AM
Interesting ExDeus, uhm someone earlier had a similar bug as did I myself and it was related to the icon pack still being stored as "Standard" instead of "Calico" I changed the name but they are still stored in your Java preferences so the IDE is looking for "Standard" when it needs to look for "Calico" I do not know however if this is related to what you are doing, I believe it was zesterer and I had to have him clear his browsing history or something.
Title: Re: LateralGM Update
Post by: time-killer-games on June 02, 2013, 05:39:45 PM
I'd appreciate it if you re-uploaded this - thanks!
Title: Re: LateralGM Update
Post by: Goombert on June 03, 2013, 02:32:48 AM
Uhm, did you try the link? I just updated it a few hours ago, everytime I make more bug fixes I upload it here, I haven't taken the link down once.
Title: Re: LateralGM Update
Post by: gra on June 03, 2013, 03:20:49 AM
Quote
37) Preferences can now be overriden by placing "preferences-en_US.properties" file directly next to the jar file allowing access to preferences not appearing in the prefs. panel you should also note "-en_US" may be different depending on your locale
if this include the edit of font of code editor, Robert explain this, i have:
1 create enigma-dev/preferences-it_IT.properties
2 start enigma
but the file not is modified
Title: Re: LateralGM Update
Post by: The 11th plague of Egypt on June 04, 2013, 03:52:00 AM
Enigma/Settings/API/Author name cannot be changed.

This is starting to look very nice.

One feature that I'd like to see is refactoring (eg changing the name of a variable everywhere without breaking something).
Title: Re: LateralGM Update
Post by: TheExDeus on June 04, 2013, 05:11:29 AM
Double clicking on an event still doesn't open the code. I have to click Edit manually at the bottom.
Title: Re: LateralGM Update
Post by: polygone on June 04, 2013, 06:05:38 AM
Double clicking works fine for me...
Title: Re: LateralGM Update
Post by: Goombert on June 04, 2013, 06:30:17 AM
@Gra, yah for some reason the internal Java preferences keep overriding it I will have to look at it later, you could download Eclipse Java IDE and build the jar file with it set in the internal preferences gra. :P

@11th Plague, I have no idea what you mean.

@Deus ya double clicking works fine on both OS's for me too
Title: Re: LateralGM Update
Post by: polygone on June 04, 2013, 06:54:52 AM
This is why I said the edit button is pretty useless and the add/replace buttons should be put back : p
Title: Re: LateralGM Update
Post by: Goombert on June 04, 2013, 08:17:08 AM
Polygonz, if there is no edit button, THERE IS NO ABILITY TO DISABLE DRAG AND DROP.  >:(
Title: Re: LateralGM Update
Post by: Josh @ Dreamland on June 04, 2013, 08:50:57 AM
11th plague:
The Author field under "API" is the name of the person that wrote the specific system you're trying to use, in case you need to contact them (especially if it's third-party). It's not added to the game or anything.
Title: Re: LateralGM Update
Post by: polygone on June 04, 2013, 10:21:58 AM
Polygonz, if there is no edit button, THERE IS NO ABILITY TO DISABLE DRAG AND DROP.  >:(
You are crazy, it's called double click the event still.
Title: Re: LateralGM Update
Post by: Goombert on June 04, 2013, 11:08:59 AM
Im gone stop responding to you because you are pretty much arguing semantics.

Edit: Just to make you happy polygonz I readded add/replace/duplicate under Modify if you right click the events, download the new jar problem solved. I also added the preference to override and make event panel docked again, now tell Ism to fix the preference overriding.
Title: Re: LateralGM Update
Post by: The 11th plague of Egypt on June 05, 2013, 07:41:56 AM
@11th Plague, I have no idea what you mean.
They are the buttons to click, from the menu bar to the field that is not working in the UI.

11th plague:
The Author field under "API" is the name of the person that wrote the specific system you're trying to use, in case you need to contact them (especially if it's third-party). It's not added to the game or anything.
Thanks, but I've never seen something like that in other IDEs I've used.
Also, it looked just like the "author" in the Game Preferences of Game Maker.
Confusing IMHO.
Title: Re: LateralGM Update
Post by: Goombert on June 05, 2013, 07:43:33 AM
Quote
11th plague:
The Author field under "API" is the name of the person that wrote the specific system you're trying to use, in case you need to contact them (especially if it's third-party). It's not added to the game or anything.
@11th plague, oh yessss as Josh said they are not meant to work they are just the columns XD I am thinking of removing those or replacing them with another control.

Title: Re: LateralGM Update
Post by: TheExDeus on June 05, 2013, 08:53:51 AM
Quote
Thanks, but I've never seen something like that in other IDEs I've used.
Also, it looked just like the "author" in the Game Preferences of Game Maker.
Confusing IMHO.
Well it's because IDEs don't have actual systems or extensions for an engine. And if there are, they are not maintained by a random bunch of people. API's are something like extensions, you can select the ones you want and deselect the ones you don't. Extensions in GM mention Authors name, ENIGMA for space reasons doesn't. But it does mention the API's Author. The one you want is "Game Settings->Info". But I don't think any of that is written yet. Basic things like adding a freaking icon or writing meta data for exe is something that takes about 30min to do, but 5 years to actually start doing.
Title: Re: LateralGM Update
Post by: Goombert on June 05, 2013, 09:11:20 AM
Ya Deus is right, I had to use ResHack to get the ENIGMA icon on the Windows installer. Also Deus, I added a preference for the event panel anyway it is in Ism's hands now to work out why Java preferences can not be overriden. But please file an issue regarding the left clicking of events on LGM's tracker with the two PC's platforms and specs you ran it on and exact steps to replicate.

https://github.com/IsmAvatar/LateralGM/issues

Edit: NEVERMIND!!!

I'm sorry Deus, now I know what you mean, I never added double clicking to events to bring up the code window, I'll do that now.
Title: Re: LateralGM Update
Post by: TheExDeus on June 05, 2013, 09:28:14 AM
Well I am glad that finally was resolved. For a minute I thought I was mad. I thought that was what we all talked about because it's logical to have that when D&D is disabled (so you don't have to move your mouse a lot).

And if you didn't compile the installer (you create it with 7zip right?) then you must use something like ResHack. But I can't get why we can't have icons on exe's still. The icon is extracted to temp folder, it is (as far as I know) passed to the compiler, all it has to do is create a .res file and use winres to pass the icon. While I personally haven't done that, I don't think it is particularly hard. I haven't done that because I haven't really studied or modified Compiler much. Others, like poly who has modified it, probably can do it easily.
Title: Re: LateralGM Update
Post by: Goombert on June 05, 2013, 11:00:45 AM
There you go Deus redownload I have added it to both the object and timeline editors. As for the icons with exe's I guess nobody just really found it important to do yet, I just fixed the compile button on Linux not that long ago. Not to mention Linux does not even put icons on Exe's you only see them in the task launcher and the majority of us are of course on Linux, it is a sort of preventive measure because a lot of Windows viruses will disguise trojans as regular executable files.
Title: Re: LateralGM Update
Post by: Josh @ Dreamland on June 06, 2013, 08:59:49 AM
We could rename that field from "Author" to "Maintainer" to avoid confusion.
Title: Re: LateralGM Update
Post by: Goombert on June 08, 2013, 03:16:50 PM
I have fixed the game information bug and game settings bug, they now load and save properly as of my latest commit...
https://github.com/IsmAvatar/LateralGM/pull/70

Gra, we need to figure out a new preferences system, I found out the Java ones can not be overriden, rest assured we are going to add preferences for the code editor. But I will announce something big very very soon, that will solve everyones problems.
Title: Re: LateralGM Update
Post by: gra on June 09, 2013, 11:19:24 AM
great Robert... i try to make asteroid clone  ;D
Title: Re: LateralGM Update
Post by: gra on June 09, 2013, 11:36:16 AM
Quote
01_move.lgl 02_main1.lgl 03_main2.lgl 04_control.lgl
 05_score.lgl 06_extra.lgl 07_draw.lgl
Exception in thread "main" java.lang.NoSuchFieldError: lnfFont
   at org.enigma.EnigmaRunner.populateMenu(EnigmaRunner.java:363)
   at org.enigma.EnigmaRunner.<init>(EnigmaRunner.java:132)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
   at java.lang.Class.newInstance0(Class.java:374)
   at java.lang.Class.newInstance(Class.java:327)
   at org.lateralgm.main.LGM.loadPlugins(LGM.java:455)
   at org.lateralgm.main.LGM.main(LGM.java:733)

problem with new lateral gm, it stop to load plugin

EDIT
i have see this i try to update openjdk
Title: Re: LateralGM Update
Post by: Goombert on June 09, 2013, 01:49:09 PM
No gra, that don't have anything to do with the JRE. lnfFont is a variable containing the font to use for the plugin and the GUI it is declared in lateralgm.jar, so it looks like you did not copy the files right or are trying to use the old LGM with the new plugin. You have to overwrite them.
Title: Re: LateralGM Update
Post by: gra on June 10, 2013, 02:27:31 AM
sorry i have owerwhite always but this error not is present :D , thanks
Title: Re: LateralGM Update
Post by: cheeseboy on June 11, 2013, 11:10:06 PM
ROBERT! PUT THE FUCKING EVENT PANNEL BACK WHERE IT WAS RIGHT NOW; ALSO CHANGE "BUILD" BACK TO ENIGMA. THESE CHANGES ARE RETARDED. STOP DOING STUPID SHIT LIKE THAT KTHX.
Title: Re: LateralGM Update
Post by: gra on June 14, 2013, 10:15:43 AM
for me problem to write caption in room editor
Title: Re: LateralGM Update
Post by: egofree on June 15, 2013, 10:11:27 AM
The menus are displayed in bold now. Is this on purpose ? I don't mind, but also the fonts size are sometimes different :

(http://nsa34.casimages.com/img/2013/06/15/130615050423583337.jpg)

You see that the 'Enigma' menu is smaller, and in the 'Edition' menu the 'Insérer' and 'Ajoute' items are bigger.

A small typo in the french version :
In the 'save' button , it is should be written 'Enregistrer' instead of 'Enregristrer'.

Also, i've found that the 'Start moving in one of the direction'  icon doesn't work anymore (http://enigma-dev.org/forums/index.php?topic=1305.0 (http://enigma-dev.org/forums/index.php?topic=1305.0)). It was not the case before.

I am using Windows 7 64 bits.
Title: Re: LateralGM Update
Post by: Goombert on June 15, 2013, 03:05:25 PM
The fonts are not actually my fault, they are fault of the JDK, I implemented an override for them, and you also have an out of date version, please download the new LGM Ego, but that will not fix the action exception, that needs investigated.

This is what the latest version looks like...
(http://enigma-dev.org/docs/wiki/images/a/a2/Lgm_ide.png)
Title: Re: LateralGM Update
Post by: egofree on June 19, 2013, 08:17:34 AM
....and you also have an out of date version, please download the new LGM Ego...

Are you talking about the 'Repository' version  ? I tried but i had several error messages when i try to run it. For the moment i don't want to spend too much time trying to fix this, so i will wait. 
Title: Re: LateralGM Update
Post by: Goombert on June 21, 2013, 05:36:36 AM
@ego

Code: [Select]
sudo apt-get remove fonts-unfonts-coreRun that one line to fix fonts. I can not say much about the french translations, because I do not know french. As I said the font issue is not with LGM it is with the JDK, its a Linux problem only.
Title: Re: LateralGM Update
Post by: egofree on June 22, 2013, 10:07:41 AM
@ego

Code: [Select]
sudo apt-get remove fonts-unfonts-coreRun that one line to fix fonts. I can not say much about the french translations, because I do not know french. As I said the font issue is not with LGM it is with the JDK, its a Linux problem only.

No sudo command in my system. In fact, i belong to the 'dark side of the force' (Windows 7 64 bits)  :D
Title: Re: LateralGM Update
Post by: egofree on June 22, 2013, 10:31:25 AM
My fault, i didn't use your update correctly. ::)  I had to copy the enigma.jar in the plugins dir, and i did a mistake last time.  :D
Title: Re: LateralGM Update
Post by: Goombert on August 12, 2013, 12:51:35 PM
Hey, just a little update everyone, if you download the new Jar file I just uploaded and perform the instructions provided, there is a new version with several bug fixes. I got that dang Windows maximized glitch and the red drag and drop action fixed and some other bugs.  (Y)
Title: Re: LateralGM Update
Post by: polygone on August 12, 2013, 01:48:12 PM
Thank God that stupid maximizing shit has gone.
Title: Re: LateralGM Update
Post by: Goombert on August 12, 2013, 03:38:40 PM
If you downloaded earlier I would advise downloading again as I have fixed resource names not syntax highlighting or showing in auto completion.
Title: Re: LateralGM Update
Post by: Goombert on August 15, 2013, 09:30:48 PM
Just, want to update everyone here exerimental GMX loading has been added...

WARNING! Use it at your own caution. There is no writer yet and you can not save and it has not been thoroughly tested, but here is a demo game I have manged to load from Studio and compile with the latest LGM...

(http://oi41.tinypic.com/25pmiow.jpg)

Also note that the proper shader implementation is under way.
Title: Re: LateralGM Update
Post by: time-killer-games on August 16, 2013, 01:19:53 PM
Dang!!!!!!!! YOOOOOUUUUUUUUUU PPPPPPEEEEEEEERRRRRRRRRSSSSSOOON!!!!!!

HOW THE CRAP DID YOU ADD GMX SUPPORT THIS QUICKLY????? OMG YOU BRAINIAC!!!!

...In all seriousness it is no exageration YOU ARE FREAKING EPIC ROBERT YOU DA MAN THE BOMB DOT COM!!!!
Title: Re: LateralGM Update
Post by: TheExDeus on August 16, 2013, 04:55:41 PM
GMX is not encrypted and is basically an xml based format that is zipped. So it's not really hard to reverse engineer it. But YYG has so much inconsistencies in it that Robert probably had to sweat a little. Good job nonetheless.
Title: Re: LateralGM Update
Post by: Goombert on August 20, 2013, 02:06:54 PM
TKG, its not hard at all its just a lot of code pretty much, but there was a lot of other LGM improvements I had to make such as the code editor for the shader syntaxing and stuff.

If anyone wants to be able to double click GMK's and EGM's or GMX's and have them auto open in LGM, simply redownload the latest portable ZIP and set enigma.exe as the default program for the filetypes either by double clicking the file and setting open with or going to control panel.
Title: Re: LateralGM Update
Post by: intygamer on August 20, 2013, 03:34:50 PM
Is there a way to set the default size of the code editor window in a config file some where?

The new LGM looks sweet!

Thanks
Joe
Title: Re: LateralGM Update
Post by: Goombert on August 20, 2013, 04:45:48 PM
@intygamer, no there is not, I have been trying to get it to a good standard size, perhaps I could make it memorize the size when last closed though?
Title: Re: LateralGM Update
Post by: intygamer on August 20, 2013, 06:34:37 PM
That would work Robert.  Every time I open code editor, I have to down size it to get to the scroll bar on the right or close button.  My screen is 1280 x 1024.

Thanks
Joe
Title: Re: LateralGM Update
Post by: Goombert on August 20, 2013, 08:29:15 PM
You mind uploading a screenshot for me? There's is a context to which they have different sizes, you are of course aware you can disable drag and drop? By disabling drag and drop you should get smaller code windows.

Edit: I now have it working with double clicking GMK's/etc with spaces in the file names.
Title: Re: LateralGM Update
Post by: intygamer on August 21, 2013, 08:27:57 AM
Robert, I have attached 2 screen shots.  The first LGM18_01.jpg is what the window looks like when I double click to open it.  The second LGM18_02.jpg is to show how far I have to move the window to get to the scroll bar or close button.  Sorry I don't know how to insert these images of the attachments.

I turned off the drag and drop, the windows are much better in that mode.  I am still going to use drag and drop till I get the programming down.

Is there anyway to write all the code for your game in one script or code snippet organizing the code in objects and events?

Thanks
Joe
 

Title: Re: LateralGM Update
Post by: TheExDeus on August 21, 2013, 10:53:54 AM
Can't you resize the code window (left click on an edge and drag)?

Also, you can just write everything in 1 script if you want (in GM there was a "one script game challenge" which was quite fun). But for usability I don't think you should do that. The current method of having objects, events and 1 script per event (when you disable D&D) is quite good and usable.
Title: Re: LateralGM Update
Post by: intygamer on August 21, 2013, 12:24:30 PM
TheExDeus,  I can resize the window, just a pain when you go back and forth quick change to code and run to see what happens serval times.  No big deal, you guys got bigger fish to fry with LGM.  I will just switch off D&D when working on parts I will manually code.

Thanks for info on 1 Script

Thanks
Joe
 
Title: Re: LateralGM Update
Post by: Goombert on August 21, 2013, 12:42:57 PM
@intygamer, hmmm ya ok instead of hardcoding the size maybe I should get the dimensions as a fraction of the resolution, ima 1336x768 or something, just give me a bit because I just figured out how to fix exe icons and copyright info so you can set the icon in Global Game Settings

@harri, ya that'll be even more possible with ENIGMA, because of structs, etc.

Edit: Game icons and copyright info now get compiled into the exe on Windows, so you can make final builds of your games now.

NOTICE! You are black listed from using Game Maker 8.1 or GameMaker: Studio icons for your game, if you try to you'll just get the default LGM icon.
Title: Re: LateralGM Update
Post by: intygamer on August 24, 2013, 05:55:04 PM
Thanks Robert,  I just updated LGM 1.8 and see you have made the windows smaller.  You Rule!

Thanks
Joe
 
Title: Re: LateralGM Update
Post by: Goombert on August 24, 2013, 06:00:10 PM
intygamer, I still needa make em a ratio of your display resolution tho :P

Edit: I have fixed the Game Info and Settings bug with them not opening once and for all, the frames should also open instantly now.

Edit 2: I have now fixed EGM's not being loaded from command line and made them double clickable as well.
Title: Re: LateralGM Update
Post by: Goombert on September 03, 2013, 09:43:06 PM
Sprite editor revamp is nearly completed, I have uploaded the Jars and you can take it for a test run, be careful though Undo and Redo are not implemented yet.

(http://oi43.tinypic.com/15ftb2r.jpg)

You can also zoom in and out now.
(http://oi44.tinypic.com/ifaool.jpg)

(http://s22.postimg.org/h0jbb1eg1/segalogo_metalhead.gif)

Also, GIF images now load all subframes instead of just the first one and composites them correctly, GameMaker: Studio can't even handle importing the above GIF. You can also cut copy and paste sub images between sprites now as well as use multiple selection and deletion for subimages.
Title: Re: LateralGM Update
Post by: cheeseboy on September 04, 2013, 12:26:14 AM
Robert you're so lucky you didnt accept my bet;

Not only can I not run any games because my "platform is not supported" but when I save as egm I get this:

Code: [Select]
_Scripts/any_integer
_Scripts/out_bounds
_Scripts/raptor_colllisions
_Scripts/img_index
>Shader
_Shader/shr_lava
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: entry
at java.util.zip.ZipFile.getInputStream(ZipFile.java:342)
at org.enigma.file.EFileReader$EGMZipFile.asInputStream(EFileReader.java:228)
at org.enigma.file.EFileReader$ShaderReader.readDataFile(EFileReader.java:722)
at org.enigma.file.EFileReader$ShaderReader.readDataFile(EFileReader.java:1)
at org.enigma.file.EFileReader$DataPropReader.read(EFileReader.java:359)
at org.enigma.file.EFileReader$DataPropReader.readUnknown(EFileReader.java:347)
at org.enigma.file.EFileReader.readResource(EFileReader.java:609)
at org.enigma.file.EFileReader.processEntries(EFileReader.java:586)
at org.enigma.file.EFileReader.readNodeChildren(EFileReader.java:564)
at org.enigma.file.EFileReader.processEntries(EFileReader.java:579)
at org.enigma.file.EFileReader.readNodeChildren(EFileReader.java:564)
at org.enigma.file.EFileReader.readEgmFile(EFileReader.java:509)
at org.enigma.file.EFileReader.readEgmFile(EFileReader.java:497)
at org.enigma.file.EgmIO.read(EgmIO.java:56)
at org.lateralgm.main.FileChooser.open(FileChooser.java:536)
at org.lateralgm.main.FileChooser.open(FileChooser.java:520)
at org.lateralgm.main.Listener.actionPerformed(Listener.java:235)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
at java.awt.Component.processMouseEvent(Component.java:6505)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3311)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Heres the file: https://dl.dropboxusercontent.com/u/26289275/GM%20Stuff/Games/Raptor%20Blasters/Raptor%20Blasters2.egm

P.S. Robert you're worst dev ever.
Title: Re: LateralGM Update
Post by: Goombert on September 04, 2013, 12:37:09 AM
Jeesus fuck, it was a typo in the GMK reader, supposed to be "Shaders" not "Shader" anyway, fixed.

Edit: In other news, the sprite editor is coming along...
(http://oi43.tinypic.com/nb5aw.jpg)
Title: Re: LateralGM Update
Post by: time-killer-games on September 05, 2013, 09:20:04 AM
Nice work Robert! Are you going tto implement more features that reflect GM's sprite editor? Are there going to be features that GM doesn't have (other than gif loading support)? Or is this just new layout for the current lgm editor? Either way I look forward to this update! :-)
Title: Re: LateralGM Update
Post by: Goombert on September 05, 2013, 09:26:08 AM
(http://s9.postimg.org/uoycs5oq6/soundeditor.jpg)
(http://s22.postimg.org/u1sbkk2ts/spriteeditor.jpg)
(http://s14.postimg.org/kikqzs5gg/backgroundeditor.jpg)

Yes, I have revamped the background editor as well, now sound, sprites and background resources will display the current size of their resource data in memory. This is not the file size but likely the memory usage that would be used by your game at runtime, the filesize would be useless information, Studio just rounds it off mine is accurate and holds decimal places, Studio reports a 6.8MB sprite as only 6MB's. I will upload when I feel it is stable enough to release.

Now as for an image editor, there is already JEIE which is on Github when they started LGM's image editor, but I have no idea how to compile it, nor do I have any interest since LGM just opens the default system image editor which is my preference to open PaintDotNet which is free, and there is gimp for Linux and Mac, so really a 0 need for us to make an image editor or for me to waste my time with it, you can also do multiple selection and hit the edit button in my new sprite editor and it will open all the selected subimages for you in the operating system default editor.
Title: Re: LateralGM Update
Post by: time-killer-games on September 05, 2013, 06:49:57 PM
I don't think I was thinking clearly when I asked that. You're right you have better things to worry about and if you created an image editor would be pointless anyway like you said.

Nonetheless. Thanks for everything.
Title: Re: LateralGM Update
Post by: Goombert on September 06, 2013, 02:53:25 PM
I have updated the Jar files with the latest version and the editor redesigns. Please update, also the sound editor can now actually play back WAV's and OGG's but not mp3, mp3 sucks anyway, convert to OGG. Also beware the undo/redo buttons for sprites and backgrounds are not working yet and neither is "Add Effects".

(http://s18.postimg.org/u7rtygh53/playback.png)
Title: Re: LateralGM Update
Post by: Benxamix2 on September 06, 2013, 05:32:46 PM
Oh, I was going to report the bug regarding unability to open Game Information and Global Game Settings more than once, but I see you have fixed it now. Thanks, and good job :33333

EDIT: I can't seem to preview audio nowadays. The buttons for preview and stop seem disabled...

(https://dl.dropboxusercontent.com/u/52212606/imagenes/capturas%20de%20pantalla/enigmasc2.png)
Title: Re: LateralGM Update
Post by: Goombert on September 06, 2013, 05:54:45 PM
@Ben, were you able to before my update? If so please send me an OGG audio file to regression test with.
Title: Re: LateralGM Update
Post by: Benxamix2 on September 06, 2013, 06:11:04 PM
Uhmmm, before the update, those buttons were "working" (they didn't do anything, but they were clickable at least).
Title: Re: LateralGM Update
Post by: Goombert on September 06, 2013, 06:18:47 PM
@Ben ahhh ok then I can rest assured its not a regression, IsmAvatar said that it is supposed to play OGG though, I have tested it on multiple games with WAV files, I know mp3 dont work, but she said OGG should, it just uses the default Java AudioStream player, please try to load and play a wav file with it for me, can you do that?
Title: Re: LateralGM Update
Post by: Benxamix2 on September 06, 2013, 06:21:47 PM
Ok, tried with WAV and it works ^^
Title: Re: LateralGM Update
Post by: Goombert on September 06, 2013, 06:24:37 PM
Alright Ben, I am sorry but apparantly its just OGG not supported by the Java audio player >:

http://odoepner.wordpress.com/2013/07/19/play-mp3-or-ogg-using-javax-sound-sampled-mp3spi-vorbisspi/

To get mp3 and OGG we would have to add a huge dependency to LGM, I have to discuss with IsmAvatar first. You can still load them into your project and play them when your game runs it just means the preview button don't work for right now. Thanks for send me the file to test!
Title: Re: LateralGM Update
Post by: Benxamix2 on September 06, 2013, 06:31:55 PM
Woah, that's so ridiculously messy.
Thanks for your hard work anyway, mate; keep it up!
Title: Re: LateralGM Update
Post by: Goombert on September 06, 2013, 06:46:52 PM
Thanks, but heh thats nothing the improvements to LateralGM over the past 4-5 months have totaled around 13000 additions, IsmAvatar is currently reviewing it to be merged into the main source code repository for everyone.

https://github.com/IsmAvatar/LateralGM/pull/89

Edit: I have added text alignment options to the Game Information editor.
Title: Re: LateralGM Update
Post by: gra on September 22, 2013, 02:25:29 AM
hey lateralgm in trunk give me core dump, but your version work  (Y)
Title: Re: LateralGM Update
Post by: Goombert on September 22, 2013, 05:00:58 AM
Ya TGMG put the wrong one in the Linux package I think gra.

Anyway, I updated the GMX reader now it properly reads events and all drag and drop actions.
Title: Re: LateralGM Update
Post by: gra on September 27, 2013, 08:53:02 PM
now jna error : ehhmm not now five days ago
Code: [Select]
Exception in thread "main" java.lang.Error:

There is an incompatible JNA native library installed on this system.
To resolve this issue you may do one of the following:
 - remove or uninstall the offending library
 - set the system property jna.nosys=true
 - set jna.boot.library.path to include the path to the version of the
   jnidispatch library included with the JNA jar file you are using

at com.sun.jna.Native.<clinit>(Native.java:142)
at com.sun.jna.Structure.<clinit>(Structure.java:145)
at org.enigma.EnigmaRunner.<init>(EnigmaRunner.java:123)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:374)
at org.lateralgm.main.LGM.loadPlugins(LGM.java:536)
at org.lateralgm.main.LGM.main(LGM.java:806)
Title: Re: LateralGM Update
Post by: Goombert on September 28, 2013, 07:33:04 PM
I don't even know wtf gra I haven't touched the JNA dependency :\
Title: Re: LateralGM Update
Post by: gra on September 28, 2013, 08:58:16 PM
wait, on my netbook, the program start, strange , is possible a java istallation system problem?
EDIT
i try to update netbook and report if is present this error
EDIT2
the differences between two system is the updates
SOLVED
ok i remove openjdk ppa and istall the official ubuntu openjdk
Title: Re: LateralGM Update
Post by: Goombert on September 30, 2013, 08:42:12 AM
Oh good gra, I was going to say,  :D
Title: Re: LateralGM Update
Post by: orange451 on October 08, 2013, 08:25:43 AM
I get this error:
Oct 08, 2013 9:23:46 AM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Java Version: 10700 (1.7.0_25)
Loading lib files in C:\Users\Andrew Hamilton\Desktop\Enigma\ENIGMA\enigma-dev\lateralgm.jar
01_move.lgl 02_main1.lgl 03_main2.lgl 04_control.lgl
 05_score.lgl 06_extra.lgl 07_draw.lgl

It's saved in the output log. I found that if I remove the enigma jar file from the plugins folder, the problem fixes itself.
Title: Re: LateralGM Update
Post by: Goombert on October 08, 2013, 02:55:36 PM
Sorry about that, that was a long time issue with installing ENIGMA in a path with spaces, I have fixed the installer, please redownload.
Title: Re: LateralGM Update
Post by: cheeseboy on November 10, 2013, 04:29:15 AM
Robert you're such a nigger. I spend 30 min importing sprites then delete one and what does lgm fucking do? It deletes the whole tree. Now Irritated I update lgm. And I'm created with? Some ugly ass bold resource folders. Now that I've Imported my sriptes again time to create an object. Oh wait:
Code: [Select]
file:/../home/root/army.gm81
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at org.lateralgm.main.Listener.addResource(Listener.java:107)
at org.lateralgm.main.Listener.addResource(Listener.java:90)
at org.lateralgm.main.Listener$ResourceAdder.actionPerformed(Listener.java:84)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6505)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Time to restart lgm for the thrird fucking time. Fuck you Robert go die in a hole.
Title: Re: LateralGM Update
Post by: cheeseboy on November 10, 2013, 05:00:09 AM
Time to add a draw event.

Hmm where is it?
(https://dl.dropboxusercontent.com/u/26289275/where.png)

Quit destroying lgm.
Title: Re: LateralGM Update
Post by: cheeseboy on November 10, 2013, 05:23:27 AM
Finally Time to build this thing.. Owait:

Code: [Select]
Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h:57:3: error: redefinition of ‘Greg_Die’
   Greg_Die = 9,
   ^
Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h:49:3: error: ‘Greg_Die’ previously defined here
   Greg_Die = 1,
   ^
Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h:58:3: error: redefinition of ‘Greg_Down’
   Greg_Down = 10,
   ^
Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h:50:3: error: ‘Greg_Down’ previously defined here
   Greg_Down = 2,
   ^
Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h:59:3: error: redefinition of ‘Greg_Jump’
   Greg_Jump = 11,
   ^
Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h:51:3: error: ‘Greg_Jump’ previously defined here
   Greg_Jump = 3,
   ^
Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h:60:3: error: redefinition of ‘Greg_Run’
   Greg_Run = 12,
   ^
Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h:52:3: error: ‘Greg_Run’ previously defined here
   Greg_Run = 4,
   ^
Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h:61:3: error: redefinition of ‘Greg_Crouch’
   Greg_Crouch = 13,
   ^
Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h:48:3: error: ‘Greg_Crouch’ previously defined here
   Greg_Crouch = 0,
   ^
Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h:62:3: error: redefinition of ‘Greg_Down’
   Greg_Down = 14,
   ^
Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h:50:3: error: ‘Greg_Down’ previously defined here
   Greg_Down = 2,
   ^
Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h:63:3: error: redefinition of ‘Greg_Run_Shoot’
   Greg_Run_Shoot = 15,
   ^
Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h:53:3: error: ‘Greg_Run_Shoot’ previously defined here
_horz + 1 << 1)+ (k_vert + 1 << 2));
   Greg_Run_Shoot = 5,
                                     ^
   ^
Preprocessor_Environment_Editable/IDE_EDIT_objectfunctionality.h:68:56: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
     room_caption = toString((k_horz + 1 << 1)+ (k_vert + 1 << 2));
Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h:68:3: error: redefinition of ‘Greg_Up’
   Greg_Up = 20,
                                                        ^
make[1]: Leaving directory `/home/root/enigma-dev/ENIGMAsystem/SHELL'
   ^
make: *** [Game] Error 2
Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h:55:3: error: ‘Greg_Up’ previously defined here
   Greg_Up = 7,
   ^
Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h:69:3: error: redefinition of ‘Greg_Up_Still’
   Greg_Up_Still = 21,
   ^
Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h:56:3: error: ‘Greg_Up_Still’ previously defined here
   Greg_Up_Still = 8,
   ^
Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h:70:3: error: redefinition of ‘Greg_Swim’
   Greg_Swim = 22,
   ^
Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h:54:3: error: ‘Greg_Swim’ previously defined here
   Greg_Swim = 6,
   ^

Brb. off to PA to murder robert
Title: Re: LateralGM Update
Post by: cheeseboy on November 10, 2013, 05:32:33 AM
Hmm. Guess I'll play my other game. Owait:
Code: [Select]
.eobjs/Linux/Linux/Run/Universal_System/roomsystem.o: In function `enigma_user::window_views_mouse_set(int, int)':
roomsystem.cpp:(.text+0xf4a): undefined reference to `enigma_user::window_mouse_set(int, int)'
roomsystem.cpp:(.text+0xf5c): undefined reference to `enigma_user::window_view_mouse_set(int, int, int)'
collect2: error: ld returned 1 exit status

Title: Re: LateralGM Update
Post by: TheExDeus on November 10, 2013, 06:35:21 AM
Yeah, Robert sadly does 1000 things at the same time and so very often things break. It's also our fault, as poly and me don't usually thoroughly test the commits before we merge. That is actually the point why Robert cannot merge to ENIGMA master directly. But I would really want that backwards testing though. I think forthevin was the one making it. Would be cool if he finished it.

Also, I do see draw event in that event selector. Don't get the problem there.
Title: Re: LateralGM Update
Post by: cheeseboy on November 10, 2013, 06:39:40 AM
the draw event doesnt appear unless you manually stretch it.
Title: Re: LateralGM Update
Post by: TheExDeus on November 10, 2013, 06:48:30 AM
Stretch it? I though you must scroll it. If the scroll is broken then that truly is a bug. Though it works for me. My screen is big enough for the event selector to be full height by default, but if I shrink it and then scroll it works fine.
Title: Re: LateralGM Update
Post by: Goombert on November 10, 2013, 12:51:17 PM
Harri he's just being lazy, Greg if you don't like the scroll I put the dock event panel option for you in preferences just go back to the old way you're used to.

Quote
Finally Time to build this thing.. Owait:
That's the parser that has nothing to do with the IDE.  (Y)

Quote
undefined reference to
Yah, sorry I had to fix that from Windows with no way of testing. mouse_x is supposed to come from window_views_mouse_get_x() (notice that it is plural; not singular) the old mouse_x and mouse_y code was broken then I attempted to fix it and broke it worse, now I fixed it and it works on Windows, somebody just fix it for XLIB and commit.

However, it should be working, it is defined right here in XLIB and included from platforms_mandatory.h too.
Code: [Select]
void window_mouse_set(double x,double y) {
XWarpPointer(disp,None,win,0,0,0,0,(int)x,(int)y);
}

void window_view_mouse_set(int id, double x,double y) {
XWarpPointer(disp,None,win,0,0,0,0,(int)(view_xview[id] + x),(int)(view_yview[id] + y));
}


As for your NPE, good news, guess what, it wasn't my fault, it was pre-existing code and the same thing would have happened to you regardless of my multiple selection and deletion because my code is not the problem.
Code: [Select]
protected static void addResource(JTree tree, Class<?> r, Resource<?,?> res)
{
ResNode node = (ResNode) tree.getLastSelectedPathComponent();
if (node == null) return;
ResNode parent;
int pos;
if (node.getAllowsChildren()) {
parent = node;
pos = parent.getChildCount();
} else {
parent = (ResNode) node.getParent();
//TODO: Following line causes an NPE for Greg when trying to create a new sprite after deleting several pre-existing ones in his project.
pos = parent.getIndex(node) + 1;
}
putNode(tree,node,parent,r,pos,res);
}

Also, stop replying to this topic LateralGM 1.8.2 is old, I will announce the new one soon enough.