polygone
|
|
Posted on: December 21, 2010, 01:39:09 pm |
|
|
Location: England Joined: Mar 2009
Posts: 794
|
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.
|
|
|
Josh @ Dreamland
|
|
Reply #1 Posted on: December 21, 2010, 08:17:16 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
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
|
|
|
|
polygone
|
|
Reply #3 Posted on: December 22, 2010, 06:22:59 pm |
|
|
Location: England Joined: Mar 2009
Posts: 794
|
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.
|
|
|
polygone
|
|
Reply #4 Posted on: August 29, 2011, 08:04:45 pm |
|
|
Location: England Joined: Mar 2009
Posts: 794
|
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.
|
|
|
Josh @ Dreamland
|
|
Reply #5 Posted on: September 03, 2011, 02:37:54 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
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
|
|
|
|
|
polygone
|
|
Reply #8 Posted on: September 04, 2011, 07:16:45 am |
|
|
Location: England Joined: Mar 2009
Posts: 794
|
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.
|
|
|
Josh @ Dreamland
|
|
Reply #9 Posted on: September 04, 2011, 09:56:23 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
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
|
|
|
|