Pages: [1]
  Print  
Author Topic: Editing Events Inside LGM  (Read 2171 times)
Offline (Male) polygone
Posted on: December 21, 2010, 01:39:09 PM

Contributor
Location: England
Joined: Mar 2009
Posts: 810

View Profile
It's great that you can alter the events.res file but it is rather 'messy' doing so. Could a feature be implemented into LGM which gives you an interface for altering events? This would make things a lot nicer, it could also perhaps give users the option to load/save/add from different sets of .res files.

Just a thought also if something like this was implemented could Ism not then just load GM8's trigger events as an extra event local to objects? This would then allow compatibility with trigger events without actually having to implement the horrible things.
« Last Edit: August 29, 2011, 04:46:54 PM by polygone » Logged
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
Offline (Male) Josh @ Dreamland
Reply #1 Posted on: December 21, 2010, 08:17:16 PM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2953

View Profile Email
At present Ism doesn't obey events.res. And this is very Java-oriented, which pretty much leaves me out. So I guess we'll see.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Female) IsmAvatar
Reply #2 Posted on: December 22, 2010, 05:59:58 PM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 891

View Profile Email
Due to the multi-platform nature of LGM-ENIGMA, I have been considering modifying LGM's events system, so you may see this implemented in the somewhat near future. I might work on it next. And good thinking about the Trigger system. We'll have to see what can be done there.
« Last Edit: August 29, 2011, 04:44:31 PM by polygone » Logged
Offline (Male) polygone
Reply #3 Posted on: December 22, 2010, 06:22:59 PM

Contributor
Location: England
Joined: Mar 2009
Posts: 810

View Profile
Quote
Due to the multi-platform nature of LGM-ENIGMA, I have been considering modifying LGM's events system, so you may see this implemented in the somewhat near future. I might work on it next. And good thinking about the Trigger system. We'll have to see what can be done there.
Neat. :)
« Last Edit: August 29, 2011, 04:47:15 PM by polygone » Logged
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
Offline (Male) polygone
Reply #4 Posted on: August 29, 2011, 08:04:45 PM

Contributor
Location: England
Joined: Mar 2009
Posts: 810

View Profile
Just been thinking the best way to do this would be that every object could just link to the event file it uses then in lgm you could just add / edit an event file in a text editor.

I think enigma should come with two events.res files; one plain events file using no constant local variable manipulation and one completely GM compatible for local variables. There should be an global option in LGM stating the default events.res file objects should use, I personally think this should be the plain file, so people naturally have the highest efficiency. Then people can change to the compatible events file for the objects that need it or if they don't know what they're doing just change the default events file to the compatible one so all object naturally use it, hopefully a decent warning system can be put in place to tell people that this is the problem. When loading a GM file the compatibility checker could scour the file for any local variables used and warn that it needs changing.
« Last Edit: September 01, 2011, 03:26:43 PM by polygone » Logged
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
Offline (Male) Josh @ Dreamland
Reply #5 Posted on: September 03, 2011, 02:37:54 PM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2953

View Profile Email
Ladies and gentlemen, I suggest that polygone is a nut.
Maybe EGM could include its own local copy of events.res. That would make confusion practically impossible and possibilities endless, but I'm not sure how it'd fit into our port scheme.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Female) IsmAvatar
Reply #6 Posted on: September 04, 2011, 01:19:29 AM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 891

View Profile Email
I'm gonna side with Josh on this one cuz I have no idea with polygone just said.
Logged
Offline (Unknown gender) TheExDeus
Reply #7 Posted on: September 04, 2011, 05:08:12 AM

Developer
Joined: Apr 2008
Posts: 1919

View Profile
polygone means that sometimes you don't need to update local variables, or draw default sprite and so on. In these cases you would use a modified events.res which don't have these things. That would speed things up.
Logged
Offline (Male) polygone
Reply #8 Posted on: September 04, 2011, 07:16:45 AM

Contributor
Location: England
Joined: Mar 2009
Posts: 810

View Profile
polygone means that sometimes you don't need to update local variables, or draw default sprite and so on. In these cases you would use a modified events.res which don't have these things. That would speed things up.
Actually what I was suggesting is that this should be used as default so people naturally see the best speed. Then people can change the event file to one that deals with locals for the objects that need it.

And EGM would include it's own local copies of whatever event files have been used.
« Last Edit: September 04, 2011, 02:30:50 PM by polygone » Logged
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
Offline (Male) Josh @ Dreamland
Reply #9 Posted on: September 04, 2011, 09:56:23 AM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2953

View Profile Email
Then we blast them?
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Pages: [1]
  Print