Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 »
  Print  
Author Topic: LateralGM 1.8.6.844  (Read 42439 times)
Offline (Unknown gender) egofree
Reply #180 Posted on: November 28, 2014, 03:18:02 PM
Contributor
Joined: Jun 2013
Posts: 603

View Profile Email
Open game settings, click on ENIGMA setting, and click on cancel :

Quote
Operating System: Windows 7
Version: 6.1
Architecture: x86

Java Vendor: Oracle Corporation
Version: 1.8.0_25

Available processors (cores): 8
Free memory (bytes): 233636688
Maximum memory (bytes): 1013645312
Total memory available to JVM (bytes): 259588096

File system root: C:\
Total space (bytes): 999964012544
Free space (bytes): 924335046656
Usable space (bytes): 924335046656

File system root: D:\
Total space (bytes): 0
Free space (bytes): 0
Usable space (bytes): 0

Stack trace:
java.lang.NullPointerException
   at org.lateralgm.subframes.GameSettingFrame.actionPerformed(GameSettingFrame.java:887)
   at org.enigma.frames.EnigmaSettingsHandler.actionPerformed(EnigmaSettingsHandler.java:897)
   at javax.swing.JComboBox.fireActionEvent(Unknown Source)
   at javax.swing.JComboBox.setSelectedItem(Unknown Source)
   at org.enigma.frames.EnigmaSettingsHandler.setComponents(EnigmaSettingsHandler.java:742)
   at org.enigma.frames.EnigmaSettingsHandler.revertResource(EnigmaSettingsHandler.java:762)
   at org.lateralgm.subframes.GameSettingFrame.revertResource(GameSettingFrame.java:1023)
   at org.lateralgm.subframes.GameSettingFrame.actionPerformed(GameSettingFrame.java:875)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$400(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
Logged
Offline (Unknown gender) egofree
Reply #181 Posted on: November 28, 2014, 03:24:00 PM
Contributor
Joined: Jun 2013
Posts: 603

View Profile Email
Open LateralGm, and select menu Build -> design :

Quote
Operating System: Windows 7
Version: 6.1
Architecture: x86

Java Vendor: Oracle Corporation
Version: 1.8.0_25

Available processors (cores): 8
Free memory (bytes): 219113344
Maximum memory (bytes): 1013645312
Total memory available to JVM (bytes): 259522560

File system root: C:\
Total space (bytes): 999964012544
Free space (bytes): 924332777472
Usable space (bytes): 924332777472

File system root: D:\
Total space (bytes): 0
Free space (bytes): 0
Usable space (bytes): 0

Stack trace:

java.io.IOException: Unexpected end of file reached at filepos: 0
   at org.lateralgm.file.GmStreamDecoder.read(GmStreamDecoder.java:102)
   at org.lateralgm.file.StreamDecoder.read4(StreamDecoder.java:99)
   at org.enigma.utility.EnigmaBuildReader.readChanges(EnigmaBuildReader.java:44)
   at org.enigma.EnigmaRunner.compile(EnigmaRunner.java:756)
   at org.enigma.EnigmaRunner.actionPerformed(EnigmaRunner.java:786)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.AbstractButton.doClick(Unknown Source)
   at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
   at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(Unknown Source)
   at javax.swing.JMenuItem.fireMenuDragMouseReleased(Unknown Source)
   at javax.swing.JMenuItem.processMenuDragMouseEvent(Unknown Source)
   at javax.swing.JMenuItem.processMouseEvent(Unknown Source)
   at javax.swing.MenuSelectionManager.processMouseEvent(Unknown Source)
   at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(Unknown Source)
   at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Unknown Source)
   at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
   at java.awt.Toolkit.notifyAWTEventListeners(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$400(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
Logged
Offline (Male) Goombert
Reply #182 Posted on: November 28, 2014, 06:22:52 PM

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

View Profile
I just fixed the exception with ENIGMA settings, this is caused by me using the key instead of the key value for identifying tabs in the settings frame.
https://github.com/IsmAvatar/LateralGM/commit/f949a2aa9681d927030712fa2e8fb13656163f83

Update the same as always, also, Design mode hasn't worked since r3, so don't worry about it right now.
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) egofree
Reply #183 Posted on: December 02, 2014, 01:25:33 PM
Contributor
Joined: Jun 2013
Posts: 603

View Profile Email
There are problems for importing tiles from a GM project. For testing purposes, in GM studio, i created a background, and i use it as a tileset. Then in a room, i put several tiles :



You can download this test case here : https://dl.dropboxusercontent.com/u/29802501/TilesGM.gmx.zip

If you open this project in Enigma, it is not possible anymore to move the tiles. Also, if you save the project and try again to open it in GM studio, you've an exception :


Logged
Offline (Unknown gender) egofree
Reply #184 Posted on: December 02, 2014, 03:23:58 PM
Contributor
Joined: Jun 2013
Posts: 603

View Profile Email
I think i've found the problem for the exception within GM Studio : the name tag inside the tile element is always inst_ :

Quote
<tile bgName="bkg_0" colour="4294967295" depth="0" h="16" id="10000002" locked="0" name="inst_" scaleX="1.0" scaleY="1.0" w="16" x="144" xo="176" y="176" yo="112"/>

In GM Studio it needs the id. You can put the tile's id, and it should be ok :

Quote
name="inst_10000002"

But that doesn't fix the first problem where it's not possible to move tiles from a GM project.
Logged
Offline (Unknown gender) egofree
Reply #185 Posted on: December 02, 2014, 03:41:08 PM
Contributor
Joined: Jun 2013
Posts: 603

View Profile Email
I think i've found also the cause of the second problem. It seems to be related to depth : by default in GM studio the depth of tiles is 1000000. With this value it is not possible to move tiles within Enigma. By default it's zero in Enigma. If you set the tiles depth to zero and you save the project, it is possible again to move tiles.
« Last Edit: December 02, 2014, 03:50:29 PM by egofree » Logged
Offline (Unknown gender) TheExDeus
Reply #186 Posted on: December 03, 2014, 04:27:04 AM

Developer
Joined: Apr 2008
Posts: 1872

View Profile
Newest LGM continues to freeze when "Run" is pressed. No errors or anything. Just freezes.
Logged
Offline (Male) polygone
Reply #187 Posted on: December 03, 2014, 07:50:47 AM

Contributor
Location: England
Joined: Mar 2009
Posts: 803

View Profile
Newest LGM continues to freeze when "Run" is pressed. No errors or anything. Just freezes.
What does the enigmalog say when t his happens?
Logged
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
Offline (Unknown gender) egofree
Reply #188 Posted on: December 03, 2014, 08:24:19 AM
Contributor
Joined: Jun 2013
Posts: 603

View Profile Email
TheExdeus:
Try 'Build->Rebuild All', and see if it can fix the problem. I had to re-install ENIGMA and i had similar problems, and it seems 'Rebuild all' command has helped to fix the problem.
Logged
Offline (Male) Goombert
Reply #189 Posted on: December 03, 2014, 11:34:31 AM

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

View Profile
egofree I see your bugs but I don't have time to fix them atm, but I will get to them in my next update, I have another small feature I'm sneaking in.

Harri, Preferences->Appearance, what is hardware acceleration set to? As I said force it "off" that is the default in the newest version but you may have saved preferences and stuck it in as default. I too get the freezing but it seems to be only when hardware acceleration is allowed on. If you do have it off then I'll need to look into it further.
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) egofree
Reply #190 Posted on: December 04, 2014, 04:56:01 AM
Contributor
Joined: Jun 2013
Posts: 603

View Profile Email
I've fixed the problem with the tile's name. Very easy to fix :

Code: [Select]
String tileId = Integer.toString((Integer) props.get(PTile.ID));
tileelement.setAttribute("id",tileId);
tileelement.setAttribute("name","inst_" + tileId);

There is still the problem with the depth value.
« Last Edit: December 04, 2014, 02:12:19 PM by egofree » Logged
Offline (Unknown gender) egofree
Reply #191 Posted on: December 04, 2014, 08:34:18 AM
Contributor
Joined: Jun 2013
Posts: 603

View Profile Email
For the depth, i've found the problem : you can move only tiles which have the same depth as the current layer. The depth of the layer is set in the 'add' tab. This not intuitive and logical for modifying tiles. I will add a depth field in the modify tab. It will be a drop down will all the depths of the tiles in the current room. It is implemented more or less this way in GM Studio.
« Last Edit: December 04, 2014, 08:41:33 AM by egofree » Logged
Offline (Unknown gender) egofree
Reply #192 Posted on: December 04, 2014, 02:14:38 PM
Contributor
Joined: Jun 2013
Posts: 603

View Profile Email
As i understand the depth is useful to deal with tiles in the same position, but it should not be mandatory to select a tile. I would suggest that for selecting a tile first we test if there is a tile with the depth of the current layer and if no tiles are found we test if there is a tile regardless of its depth.
Logged
Offline (Male) Goombert
Reply #193 Posted on: December 08, 2014, 01:52:11 PM

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

View Profile
Here's another quick update, I've included some fixes from egofree, and I've finally finished that image effects frame!

You can update as usual using python install.py or manually from the Extra Packages page.
http://www.enigma-dev.org/docs/Wiki/Install:Extra_Packages

1) Image effects frame implemented and 12 basic effects including Colorize, Intensity, Outline, Emboss, Black and White, Invert Color, Remove Color, Remove Transparency, Sharpen, Blur, Opacity, and Edge detection. The little green spray paint can icon on the sprite and background frame will open the image effects frame. For sprites you can apply it to all selected subimages, otherwise just select 1 subimage, if no subimages are selected it will be applied to every subimage.
https://github.com/IsmAvatar/LateralGM/commit/c2388c0b4efea5a1f571092f050bd7a076abc605
https://github.com/IsmAvatar/LateralGM/commit/020ec6d7efbcc5b95ad9cfaa1e5c52bffb8642d2
https://github.com/IsmAvatar/LateralGM/commit/c45c1aa5dcf872398a7b6d35ec70ae9fb8385087
https://github.com/IsmAvatar/LateralGM/commit/a662aacbc0b5569754729d9266e242314547979b
https://github.com/IsmAvatar/LateralGM/commit/c64fba1edc448393ff80599ed20404e905675593


2) Fixed a bug in the search feature, resource action arguments will now be searched by name, useful for finding all uses of a script for instance.
https://github.com/IsmAvatar/LateralGM/commit/fec2200a92d2b761b60ece75eed4f5819d4e2a16


3) A fix was included by egofree for the GMX writer to give all tiles unique names using the id, which works with Studio though is less hash-like. A similar fix was previously included for instances by myself.
https://github.com/IsmAvatar/LateralGM/commit/c6f7a9d9e56646c2a1a85c54d148e030c957be1f

4) Fixed exception in instance list of the room editor when selected instance has a non-existant object reference. For example you create an instance of an object and then delete the object resource, the instance becomes of unlinked.
https://github.com/IsmAvatar/LateralGM/commit/fe40e656d1a577d0556d29505aad3fe8548f1dac

5) Moved transparency functions, such as for checkered patterns, to Utility class.
https://github.com/IsmAvatar/LateralGM/commit/b00c81e5fe5b78218d271f65309c954b335e461c
« Last Edit: December 08, 2014, 02:11:40 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 (Unknown gender) egofree
Reply #194 Posted on: December 08, 2014, 03:18:24 PM
Contributor
Joined: Jun 2013
Posts: 603

View Profile Email
6) In the rooms editor, move the tile's layer field above tabs : https://github.com/IsmAvatar/LateralGM/pull/179
Logged
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 »
  Print