Page 1 of 1

Script Editor & Scripting

PostPosted: Mon May 03, 2004 3:40 pm
by Just4Fun
Hmm,
It is always easy to say "I'd like this or that feature added." It isn't always so easy to "Accomplish this or that."

Keeping in mind that I think GE is an absolutely fantastic programming and 'C' language learning tool, here are a couple of more requests for feature add-ins (some of which you've heard before).

1. A more powerful Editor or the ability to use Notepad or some other editor as a replacement to the Editor.

2. If no provision can be made to use other tools, at a minimum, "Cut & Paste" should be added to the editor. Also, backspacing doesn't always work on WindowsXP and selecting a line to delete is also non-existent. I like the idea of a completely integrated Editor, but in the real world, it can be a pain to keep going between Notepad and GE.

3. Better documentation. Better documentation. Better documentation.

It would be nice to see how to apply the 'C' script-like language to GE. I'd love to see examples of how to call the 'C' script:

Instead of the documentation: "char *strcpy(char * dst, const char * src)" Have an example of where and how to use it in GE or have a link to a demo file that shows only how to use the strcpy function. The specifics for these can be found in a C manual, but using the calls from GE needs a better description.

For Example, if I use a C language Manual, and type example strcpy() script from the manual into GE global code, the code doesn't work because some of the functions are not recognized or needed in GE.

A listing of how to use the C script as well as GE's built in functions would be quite useful. Especially for the Newbies to 'C' out there--like me. :oops:

Now, I know there are only so many hours in the day and a programmer needs to work on the program, but sales will be built on how well the program can be understood by the user. That is where good documentation is a must. If I knew more about 'C', I'd volunteer to help... Docs are easy for me, but "C", well, that is a whole 'nother' story.

Thanks again for this fine program. I want it to become the most popular on the planet because I want to use it for a long time to come... :wink:

PostPosted: Mon May 03, 2004 4:51 pm
by ingsan
GO GE GO 8)

PostPosted: Mon May 03, 2004 10:17 pm
by jazz_e_bob
Highlight, cut, copy and paste in the editor would speed things up considerably! I spend heaps of my time exporting, editing and importing... :-( I think the GE script editor should be updated because it includes handy tools such as the actor and var/function lists...

This is the demo code I refer to for copying strings:

strcpy(myTextActor->text, newText);

This might be the kind of simple example that could be added to docs.

Game Editor Forever. :-)

PostPosted: Mon May 03, 2004 11:40 pm
by Just4Fun
jazz,
Dang! You're good! :lol:

The little demo snip answered my problem in quick order. That simple snip would have saved me days of struggling through all kinds of books on how to read files with *pointers, etc. Argh! -->Brain ache.
If only each GE function had samples in the docs like that.

One thing that I did have to do to get the demo snip to work was to change the snip from strcpy(myTextActor->text, newText); to strcpy(myTextActor.text,"newText"); Is this what you had in mind? or Am I still missing something?

PostPosted: Tue May 04, 2004 12:17 am
by jazz_e_bob
No, you are right. :-)