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

Developing ENIGMA / Re: LateralGM
« on: November 09, 2014, 04:25:25 AM »
The drag and drop component that is on the timeline frame and object frame? Drag and drop actions, hence Action List editor.

Issues Help Desk / Re: LateralGM seems to have just... stopped compiling?
« on: November 09, 2014, 12:49:43 AM »
Just an update here onpon, sorlok has fixed the ico reader to be able to properly handle the icon in that game now. You can get the new LGM from my other topic.

The GitHub ticket will be automatically closed December 7th if no new issues arise in the interim.

Developing ENIGMA / Re: LateralGM
« on: November 09, 2014, 12:37:11 AM »
Here's another update that took me a while to complete. As always python to update or manually download the jars from Extra Packages.

* Icon reading exception fixed by sorlok for some ico files that have empty/fake masks.
* Implemented undo and redo to the action list editors you can undo multiple actions such as move, cut, copy, paste, delete, and clear. The only thing that does not yet get undone is changes to the actions values, not even recognized yet as an undo operation.
* Fixed exceptions for some file open dialogs when you enter a filename for a file that does not exist. This needs further cleaned up.
* Added APNG loading to the sprite and background editor, the file extension will need to be ".apng" for LGM to load all the subimages from it, or it will think it's a regular PNG. It can be used to mix GIF's and APNG's in the sprite editor. This required moving the APNG reader/writer from the plugin to LGM.

In the following image you can see I mixed a sonic GIF with another APNG image, and also loaded another APNG image separately.

I encourage everyone to experiment with the action list undo implementation and ensure that everything works as you would expect and that undoing/redoing does not throw any exceptions, try as hard as you can to break it. And remember, try to also make an example with steps that I can easily reproduce for me to fix it. This is a very tricky feature and requires careful analysis.

Quote from: egofree
can't reproduce the error anymore. But why this event selector is in the main toolbar ? It's only for objects. It should be in the objects window. If you don't have an object open, it can't be used. This doesn't seem logical to me. This icon seems useless to me in this place. It is also displayed when you are in the objects events and you click on the modify button.
It has been in there since LGM was first started egofree, it's kind of unique to the application, occasionally I click on the button as well to get the panel. If you think it should be removed you should discuss it with everyone else, I personally don't have an opinion on it either way because if you don't use it, it's not in your way so it shouldn't bother you.

Ideas and Design / Re: In need of a Sonic fangame engine for Enigma
« on: November 08, 2014, 05:10:09 PM »
Hey you're welcome HitCoder!  (Y)

Developing ENIGMA / Re: LateralGM
« on: November 08, 2014, 04:46:21 AM »
If you click that button, it should raise the event tab, unless you set the preference to undock it in which case it shows the frame. Also, the latter error log does not help me, I have no way of reproducing that and failed in doing so, everything seems to be working here, I need exact steps.

Developing ENIGMA / Re: LateralGM
« on: November 07, 2014, 04:29:24 PM »
Quick update with some small changes. You can update via python or by manually downloading the new jars.

* The MDI area scrollbars are now only shown when needed, so when you maximize a frame they will not be visible, just like normal MDI managers and the one in GM8.1, giving just a little more space on screen.
* Hardware acceleration is now forced off by default again, though I still need you guys to run it with it on and report issues to me because regardless of whether or not we fix them they still exist and only get worse as time goes on, the whole point of what I'm trying to do is fix these bugs and eliminate them for good which I can't do if you guys don't report them.
* Fixed a regression I accidentally left in the source code that caused the MDI frames to have skinny title panes under some look and feels, when testing I was setting the UI property "isPalette" on the frames.
* Fixed class cast exception when changing the window decorations preference caused by having open MDI frames.

Quote from: egofree
But i am not 100% sure. This week i had several updates for my Nvidia graphic drivers, and this could be the problem also.
From my research it seems that users with Nvidia graphics cards have the most problems with Java2D's hardware acceleration. Regardless, I still need issues reported to me because either way I can try to fix what needs to be fixed, I do not want to sweep issues under the rug, that's how LGM got so buggy in the first place.

Developing ENIGMA / Re: LateralGM
« on: November 07, 2014, 03:47:07 AM »
Heh, you don't understand, the default by the JVM is actually on if the hardware supports it. The real issue is further bugs down inside LGM like executing GUI/Swing code on the EDT. But I will be turning the default to forcing it off in the next release.

Developing ENIGMA / Re: LateralGM
« on: November 06, 2014, 10:19:27 PM »
That's great to hear, the next release I'll force Direct3D back off by default, and hide these preferences. The majority of our issues now reside in the plugin I'd say.

But it would also still help to know if these issues with hard acceleration do not happen as badly when you use LGM separate from the plugin, as in download it to your desktop and run it without ENIGMA.

Developing ENIGMA / Re: LateralGM
« on: November 06, 2014, 07:31:33 PM »
NOTE: Please guys let me know if forcing off hardware acceleration after a few hours addresses most of your crashes or if the same problems still persist.

Here's another small update with some look and feel bugs fixed. I have not included the proposed change above, because it requires some more work by me to make it more native like, I want it to also hide the title pane and move the restore/max/close icons into the ancestor window menubar only if it exists, just like Qt Framework, just requires a little hacking is all.

As always you can update via python or manually from the Extra Packages page.

* Switching look and feels no longer breaks layouts, I have a special wrapper class for this. So switching from say native or Windows lnf to Nimbus or Swing will no longer screw up the search filter or event panel, as reported by egofree
* Switching window decorations will always update immediately for all dialogs and frames and no longer leads to frameless borders, and this was tested extensively and it will also not unnecessarily update the preference if it hasn't changed.
* Stopped a look and feel change from readding the icons to the Preferences tree, just had to make a custom class as a wrapper and basically an empty shell to fix it.

Developing ENIGMA / Re: LateralGM
« on: November 06, 2014, 01:57:12 PM »
Don't worry Harri & Polygone, you're not crazy, I've noticed the green run button freezing as well, and I have to close through task manager. I believe it is the hardware acceleration, go to File->Preferences->Appearance and force all hard acceleration off. The reason it's probably freezing is because of us doing more GUI stuff on the EDT. Additionally let me know if that fixes some of the segfaults and crashes, I have not been getting those, only the green run button occasionally freezing.

So far all of the major issues now seem to be due to the plugin, without the plugin, LGM is extremely stable.

Quote from: The 11th Plague
On Windows there's a gray gap in the obj_player window.
IMHO it doesn't really look maximized if there's such a gap.
It still looks more maximized, and I don't know what you mean by gray gap exactly. Do you mean that the title bar is still visible? Or do you mean how there is like a dark shadow on the edges of the whole MDI area?

GM8.1 also has somewhat of a gap, ours just seem to be darker depending on look and feel.

Quote from: egofree
When i import Lateralgm into Eclipse from the main Github repository, i've a lot of errors in Eclipse : What is the problem ?
We don't redistribute JoshEdit anymore, you have to cd to the submodule and initialize it, then open Eclipse and refresh and move all the JoshEdit sources into the package org.lateralgm.joshedit

Quote from: egofree
When i do a find, there is a toggle button : 'Highlight all', but it doesn't seem to do anything. Is the button already implemented ?
That's not a regression, that highlight button has never worked, go back and test the old versions and you'll see. A large portion of the find dialog is incomplete, which is JoshEdit's fault, not really LGM's

Developing ENIGMA / Re: LateralGM
« on: November 06, 2014, 03:30:32 AM »
Additionally I would like to know everyone's opinion on another feature which I haven't committed yet.

I figured out how to hide window borders for the MDI frames when they are maximized. This is very similar to MDI's provided by native DWM's, and I've tested the feature and it works on all platforms. Not only does it look more native for all platforms and more consistent with other frameworks it also gives you a little more room on screen and looks less tacky. It also works for all look and feels.

What do you guys think about this feature? Do you want to see it in the next update?

Developing ENIGMA / Re: LateralGM
« on: November 06, 2014, 01:13:07 AM »
As I said it was a better idea to just test LGM by itself without ENIGMA hooked up or any ENIGMA stuff first.

1) If you can, send me the EGM's and I will fix them
2) Also try building this simple GMK
3) A copy of enigma-dev/output_log.txt would help as well

I am honestly surprised for the rest of us the transition has gone pretty smooth.

Developing ENIGMA / Re: LateralGM
« on: November 06, 2014, 01:05:43 AM »
Quote from: Darkstar2
What the bloody hell did I miss ?
You downloaded both the new plugin and LGM jar correct? Open git-bash and enter "cd enigma-dev" "git fetch" and "git pull"

You also need the engine updates, the EGM format has had some changes, I can fix your projects and PM them back to you.

It would also help if you could or some of these errors after attempting the above.

Developing ENIGMA / Re: LateralGM
« on: November 06, 2014, 12:02:48 AM »
Quick update with some small changes. As always you can update using python or manually downloading the new jars.

Josh made the find dialog behave like it does in Eclipse, it will center to the window the first time it is shown and then stay where the user closed it the next time it opens. JoshEdit also now prints the line numbers. I still recommend sending to OneNote or some similar program to preview before printing until this feature is further tested.

Developing ENIGMA / Re: LateralGM
« on: November 05, 2014, 06:55:15 PM »
What are you saying Harri? That you want to type in "obj_player" and have it find it in the tree? It already does that... That other menu has already become deprecated basically, just not removed, I am leaving it there because some people from old GM's may be upset when they look for it and can't find it. It can stay around until it gets stale.