Game Development Community

How do I edit my game in runtime with eclipse...

by Symbols · in Torque Game Engine · 01/30/2005 (11:22 am) · 2 replies

I have downloaded the TBE and am using eclipse to make little changes, but i find i have to constanly quit and restart my game to see any of the saved changes changes from eclipse.

Is there anyway to have my game running, make a change in eclipse, and see its effect without having to reload the game?

#1
01/30/2005 (11:32 am)
It depends on what types of changes you mean.

--If you are changing source (C++) code, then no, you cannot make "live" changes to your executable, since you have to recompile a new executable.
--If you are making script changes, some people have success with dynamically re-loading changed script files via the console built in to the executable (use the ~ key to enter the console from the game), but this is not really trivial and requires some pretty good understanding of how script files are loaded, and how they work.
--If you are making art asset changes, you should be able to use the World/Mission editor within the game itself (F-11, and then drop down to the appropriate editors) to make your changes, and these are "live" changes (you do have to save the mission file after you are happy with your changes).
#2
01/30/2005 (11:38 am)
Ok, thats what I expected, thanks for that clarification Stephen. I glad to say I've got my imagination ahead of me now.