External Global Code

Ideas for Game Editor evolution.

External Global Code

Postby Kodo » Tue May 15, 2007 3:15 pm

I’d like to be able to keep groups of functions in a text file (or several text files), place them in a ‘plugins’ directory and have GE read them in automatically so that I can easily re-use functions across several projects without having to cut and paste everything every time. I would love for GE to look for a ‘Plugins’ folder in the same directory as the ‘Data’ directory for a game, import the text files when GE starts and make them available in the Global Code section! The filenames could even be used as names for the different sections of global code. This would be so incredibly useful and would also allow us GE users to upload functions and expand on GE more freely! I know it’d make a big difference in my projects with keeping code up to date across several different GEDs. Just a thought :)
Inogames: http://www.inogames.com iOS gaming
Firetop Adventure (app store): http://itunes.apple.com/us/app/firetop- ... ?mt=8&ls=1
User avatar
Kodo
 
Posts: 449
Joined: Thu Oct 20, 2005 8:20 pm
Location: UK
Score: 23 Give a positive score

Postby Sgt. Sparky » Tue May 15, 2007 3:27 pm

that would be nice! :D:D:D
but it could create problems, like when would it update the file?
it would most likely be when you saved so it would make the game you saved the dominant code,
so it may just be easier to copy and paste the code.
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Postby Kodo » Tue May 15, 2007 3:33 pm

I wouldnt mind if the code in the txt files wasnt changable in GE. So long as they were .txt fiels you could open them in anything (notepad etc) and edit your code, then just copy those files into however many project folders you want to affect.

My point about not wanting to copy and paste is because you need to copy the working code into say notepad (or the clipboard), then load the new project, select the actor or go into global code, select the relevant section then delete whats there and paste in the new code. You might need to do this multiple times which takes a long time and is a real pain :( Imagine just updating the one txt file, loading up your game and hitting export knowing that the code had auto-updated!
Inogames: http://www.inogames.com iOS gaming
Firetop Adventure (app store): http://itunes.apple.com/us/app/firetop- ... ?mt=8&ls=1
User avatar
Kodo
 
Posts: 449
Joined: Thu Oct 20, 2005 8:20 pm
Location: UK
Score: 23 Give a positive score

sounds good

Postby kyensoftware » Tue May 15, 2007 11:42 pm

Sounds good.
Yeah that would be nice!
Games for Windows, Linux, and PPC
Bin dosnt stand for "Binary";
it stands for Bin.
You know, where the junk goes...
User avatar
kyensoftware
 
Posts: 198
Joined: Thu Oct 26, 2006 7:49 am
Score: 5 Give a positive score

Postby morcior » Fri May 18, 2007 1:13 am

good idea
morcior
 
Posts: 83
Joined: Fri Jan 12, 2007 12:16 am
Location: UK
Score: 9 Give a positive score


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest