Jump to content
Sign in to follow this  
  • entries
    37
  • comments
    46
  • views
    22088

AeroScript

Sign in to follow this  
Drakkcon

258 views

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.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!