polygone
 Joined: Mar 2009
Posts: 794
|
 |
Posted on: December 21, 2010, 06:39:09 PM |
|
|
|
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.
|
|
|
Josh @ Dreamland
Prince of all Goldfish
 Joined: Feb 2008
Posts: 2,950
|
 |
Reply #1 Posted on: December 22, 2010, 01:17:16 AM |
|
|
|
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.
|
|
|
IsmAvatar
LateralGM Developer
 Joined: Apr 2008
Posts: 877
|
 |
Reply #2 Posted on: December 22, 2010, 10:59:58 PM |
|
|
|
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.
|
|
|
|
|
polygone
 Joined: Mar 2009
Posts: 794
|
 |
Reply #4 Posted on: August 30, 2011, 01:04:45 AM |
|
|
|
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.
|
|
|
Josh @ Dreamland
Prince of all Goldfish
 Joined: Feb 2008
Posts: 2,950
|
 |
Reply #5 Posted on: September 03, 2011, 07:37:54 PM |
|
|
|
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.
|
|
|
IsmAvatar
LateralGM Developer
 Joined: Apr 2008
Posts: 877
|
 |
Reply #6 Posted on: September 04, 2011, 06:19:29 AM |
|
|
|
I'm gonna side with Josh on this one cuz I have no idea with polygone just said.
|
|
|
TheExDeus
 Joined: Apr 2008
Posts: 1,860
|
 |
Reply #7 Posted on: September 04, 2011, 10:08:12 AM |
|
|
|
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.
|
|
|
polygone
 Joined: Mar 2009
Posts: 794
|
 |
Reply #8 Posted on: September 04, 2011, 12:16:45 PM |
|
|
Quote from: HaRRiKiRi on September 04, 2011, 10:08:12 AM 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.
|
|
|
Josh @ Dreamland
Prince of all Goldfish
 Joined: Feb 2008
Posts: 2,950
|
 |
Reply #9 Posted on: September 04, 2011, 02:56:23 PM |
|
|
|
Then we blast them?
|
|
|
|