Forums

 
Active Topics

Event Scripting
MysticTrunks
#1 Posted : Wednesday, January 26, 2011 5:30:46 PM




Groups: Registered, Beta Tester

Joined: 5/9/2010
Posts: 132
Location: United States
While the source is available it's not documented to where you can just waltz right in, but for mundane things like battle formulas or just using scripting to enhance your AI or movement perse.

RMXP had this it was called Scripting"Advanced" or something like that, EGM should have something similar.

Proud EGM Beta Tester
-EGM Projects-
Dragon Ball Story
Join the Planet RPG Community, Express Game Maker, RPG Maker, Game Maker. Game Design in general community.
Planet RPG - You've landed on a creative planet.
http://rpgdev.org/forums/index.php
MrMo
#2 Posted : Saturday, January 29, 2011 2:17:36 PM




Groups: Registered, Administrators

Joined: 1/31/2010
Posts: 228
Location: United States
Can you give another example of what you mean? Thanks.
Need Help? Post here.
Found an error/bug? Read here and here.
Earn points and get EGM for free!

MysticTrunks
#3 Posted : Sunday, January 30, 2011 10:06:54 PM




Groups: Registered, Beta Tester

Joined: 5/9/2010
Posts: 132
Location: United States
Event Functions > Advanced Scripting > C# code

Proud EGM Beta Tester
-EGM Projects-
Dragon Ball Story
Join the Planet RPG Community, Express Game Maker, RPG Maker, Game Maker. Game Design in general community.
Planet RPG - You've landed on a creative planet.
http://rpgdev.org/forums/index.php
InfamousZ
#4 Posted : Monday, January 31, 2011 4:12:44 AM




Groups: Beta Tester, Registered

Joined: 8/1/2010
Posts: 37
Location: United States
i agree, i want to call code snippets from a event
J250
#5 Posted : Monday, January 31, 2011 2:12:53 PM




Groups: Registered, Beta, Administrators

Joined: 1/9/2010
Posts: 49
Location: United Kingdom
Unfortunately this kind of programming isn't possible - the advantages of things like Ruby/LUA etc. are that they are scripting languages - they can run live.
The problem with C# in this case is that it is a compiled language - hence code cannot easily be deployed at runtime. This may seem a disadvantage but when you consider things like the strong typed integrity the model gives you it makes a lot of sense. This is why most "script" interfaces are LUA based.

C# is the only option for EGM because of the Xbox support.

One alternative is to code in the engine directly using extension classes for instance, and using the comment system as an indicator for running code. This of course means some kind of string parsing etc, but it means for easily compilable code that is extendable too - so in general anyway this method should be preferred.

We will discuss the possibility of using some new C# features i.e. Method bags to make extending the engine much more component based? What would you think about that approach?

It may not fit your needs but it may be possible to invoke methods that have been pre-coded from events, again sticking to the rules of pre-compilation, but this is simply a GUI for the former method that may even be more restricted.

Sorry if this is all too programmer oriented, but I assume if you want to code in the first place you'll know how to do all of the above.
InfamousZ
#6 Posted : Monday, January 31, 2011 4:29:35 PM




Groups: Beta Tester, Registered

Joined: 8/1/2010
Posts: 37
Location: United States
lol im working on my degree in software engineering, it doesn't bug me.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

1.9.403 EGM Custom
This page was generated in 0.230 seconds.