include

Ideas for Game Editor evolution.

include

Postby zoiba » Mon Aug 23, 2004 10:50 pm

what about an INCLUDE command in GE script?
Let's say you made a game with several levels and every level is a ged file. Now, if you discover a bug (or you simply want change something) in a script used to behave a the player (or particular enemy) that is repeated on each level, it would be tedious to edit every script inside geds. If, instead, the script is included from a file on disk, changes on file will be reflected on each level.
Hope it make sense :roll:
bye :D
User avatar
zoiba
 
Posts: 45
Joined: Mon Aug 09, 2004 9:44 am
Location: Italy
Score: 1 Give a positive score

Postby makslane » Thu Aug 26, 2004 1:13 pm

In the current version this can be made only in the global code.

But you can create multi level games by using Activation Regions
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby jazz_e_bob » Mon Jun 27, 2005 5:46 am

I am interested in programming games in a more modular fashion.

Interesting thread.
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby ingsan » Mon Jun 27, 2005 7:34 am

Yes, indead that's very interesting. The proposed INCLUDE file reminds me of the MERGE module in GE.

Actually, merging files in GE is limited. For example, I have a Main_actor ged file. I merge it in another ged (call it A). I alter my Main_actor file and try to remerge it in ged A. The modifications are not considered.

Maybe when merging two or three times the same file, a MERGE panel that shows something like this : An actor in scene is already named "Main_Actor" - Rename - Delete Old - Skip could popup :wink:
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Postby jazz_e_bob » Mon Jun 27, 2005 8:45 am

What she said.

A.
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby jazz_e_bob » Mon Jun 27, 2005 12:35 pm

I would LOVE to be able to declare data definition/function libraries.

ie:

declaration of global and actor variables
constants
functions and procedures

That way if GEDs utilise the same library they should be able to merge OK.

8)
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby jazz_e_bob » Tue Aug 09, 2005 4:51 pm

EDIT:

Perhaps the solution is simple.

A .ged may include a list of other geds.



Example:

You need an energy meter?

include quickMeter.ged

meter.value = x; // Sets the meter.

Jobs done mate.

Here is the GED too. :wink:

http://www.artsystems.com.au/game%20editor/quickMeter.zip
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby brutalDeluxe » Wed Aug 10, 2005 10:09 pm

Elegant solution.

This idea paves the way for a library of ready-made game objects.
User avatar
brutalDeluxe
 
Posts: 43
Joined: Sun Dec 12, 2004 7:43 am
Score: 0 Give a positive score


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest