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.
16
Issues Help Desk / Can't save to egm without errors.
« on: July 28, 2013, 03:00:22 pm »
Hi
I have been working on a game that I have been saving in gm81. Now that it is done, I would like to post it in the games saved under egm. It will save with errors. Maybe there are differences in the 2 formats and you can't do this? I think I read somewhere that it was compatiable but egm had additional abilities?
Here is the terminal output.
EGM
file:/home/joey/Desktop/JoeysGames/Pong/Intygamers_pong_v1.egm
java.net.UnknownServiceException: protocol doesn't support output
at java.net.URLConnection.getOutputStream(URLConnection.java:809)
at org.lateralgm.main.FileChooser.save(FileChooser.java:647)
at org.lateralgm.main.FileChooser.save(FileChooser.java:620)
at org.lateralgm.main.FileChooser.saveNewFile(FileChooser.java:581)
at org.lateralgm.main.Listener.actionPerformed(Listener.java:229)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:829)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:873)
at java.awt.Component.processMouseEvent(Component.java:6288)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6053)
at java.awt.Container.processEvent(Container.java:2045)
at java.awt.Component.dispatchEventImpl(Component.java:4649)
at java.awt.Container.dispatchEventImpl(Container.java:2103)
at java.awt.Component.dispatchEvent(Component.java:4475)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
at java.awt.Container.dispatchEventImpl(Container.java:2089)
at java.awt.Window.dispatchEventImpl(Window.java:2587)
at java.awt.Component.dispatchEvent(Component.java:4475)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:675)
at java.awt.EventQueue.access$300(EventQueue.java:96)
at java.awt.EventQueue$2.run(EventQueue.java:634)
at java.awt.EventQueue$2.run(EventQueue.java:632)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:108)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:119)
at java.awt.EventQueue$3.run(EventQueue.java:648)
at java.awt.EventQueue$3.run(EventQueue.java:646)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:108)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:645)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Thanks
Joe
I have been working on a game that I have been saving in gm81. Now that it is done, I would like to post it in the games saved under egm. It will save with errors. Maybe there are differences in the 2 formats and you can't do this? I think I read somewhere that it was compatiable but egm had additional abilities?
Here is the terminal output.
EGM
file:/home/joey/Desktop/JoeysGames/Pong/Intygamers_pong_v1.egm
java.net.UnknownServiceException: protocol doesn't support output
at java.net.URLConnection.getOutputStream(URLConnection.java:809)
at org.lateralgm.main.FileChooser.save(FileChooser.java:647)
at org.lateralgm.main.FileChooser.save(FileChooser.java:620)
at org.lateralgm.main.FileChooser.saveNewFile(FileChooser.java:581)
at org.lateralgm.main.Listener.actionPerformed(Listener.java:229)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:829)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:873)
at java.awt.Component.processMouseEvent(Component.java:6288)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6053)
at java.awt.Container.processEvent(Container.java:2045)
at java.awt.Component.dispatchEventImpl(Component.java:4649)
at java.awt.Container.dispatchEventImpl(Container.java:2103)
at java.awt.Component.dispatchEvent(Component.java:4475)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
at java.awt.Container.dispatchEventImpl(Container.java:2089)
at java.awt.Window.dispatchEventImpl(Window.java:2587)
at java.awt.Component.dispatchEvent(Component.java:4475)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:675)
at java.awt.EventQueue.access$300(EventQueue.java:96)
at java.awt.EventQueue$2.run(EventQueue.java:634)
at java.awt.EventQueue$2.run(EventQueue.java:632)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:108)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:119)
at java.awt.EventQueue$3.run(EventQueue.java:648)
at java.awt.EventQueue$3.run(EventQueue.java:646)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:108)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:645)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Thanks
Joe
17
Issues Help Desk / Input box popup
« on: June 10, 2013, 05:20:19 pm »
I am trying to make an input box, where the player enters his name and it is kept in database for preferences.
In obj_input game start event
I get error message unknown fuction or script "get_string"
Please help.
Thanks
Joe
In obj_input game start event
Code: [Select]
var = str;
{
do
{
str = get_string("Enter your character name.", " ");
}
until (str = "character1" || str = "character2 || str = "character3");
}
room_goto_next;
I get error message unknown fuction or script "get_string"
Please help.
Thanks
Joe
18
Issues Help Desk / How to prevent a collision to a player for 3 seconds after he has respawned.
« on: May 17, 2013, 12:30:45 pm »
Hi all.
I am trying to make an asteroids type of game. After the players ship gets killed and respawned to the center of the screen, there maybe be other asteroids in the area that kill him as soon as he respawns and continues till he loses all of his lives. I would like to allow the player 3 seconds after he respawns to move out of that spot or kill a couple of asteroids to get out of the hot spot without being killed.
In the asteroid object in the event collision with player ship I have.
1.) set lives to -1
2.) Change instance ship into object explosion
3.) Create new instance of ship
I need to set up some decision loop to bypass those 3 actions for 3 seconds. I know this event only gets processed on a collision with player ship, so I'm not sure how to do this.
Please help. I have not found this answer on this forum or gamemaker forum.
Thanks
Joe
I am trying to make an asteroids type of game. After the players ship gets killed and respawned to the center of the screen, there maybe be other asteroids in the area that kill him as soon as he respawns and continues till he loses all of his lives. I would like to allow the player 3 seconds after he respawns to move out of that spot or kill a couple of asteroids to get out of the hot spot without being killed.
In the asteroid object in the event collision with player ship I have.
1.) set lives to -1
2.) Change instance ship into object explosion
3.) Create new instance of ship
I need to set up some decision loop to bypass those 3 actions for 3 seconds. I know this event only gets processed on a collision with player ship, so I'm not sure how to do this.
Please help. I have not found this answer on this forum or gamemaker forum.
Thanks
Joe