AeroScript

Published August 01, 2005
Advertisement
I started working on the scripting engine of my RPG today. So far, I have created the 'Variable' and 'Instruction' classes with no hitch. I have never planned my code out like this before, it seems to be working well....

Anyway, if anyone wants to contribute a few comments based on the diagram it would be more than welcome.

UPDATE: I just realized that I will probably need to have different kinds of arguments :) I replaced argument list with Variable argument1, Variable argument2 etc.

UPDATE2: Silly me. I just realized that I don't need to keep the argument data in the instruction itself. easier this way.

UPDATE3: I reconsidered. Since the commands will be added to a vector in the Script class, it would be a lot easier for them to carry their data with them.
Next Entry Aerial Stratus
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

..............

550 views

Untitled

991 views

Untitled

1014 views

Back

1006 views

I'm finally back

1040 views

Random updates

916 views

Hou zhou bu jien

941 views

Update

1032 views
Advertisement