Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views


Sign in to follow this  


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  


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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!