Sign in to follow this  

Question About GameMonkey script

Recommended Posts

I'm trying to come up with a way to script game objects in GameMonkey. I have a function for each event that an object should perform in a certain order, that being Create, Step, Draw, and last Destroy. The thing is that they are all global functions. I want each of my objects to have that same structure for simplicity. So when I execute all of the objects' scripts will there be some kind of error? If so, how should I redesign my entity system to do this properly because right now i'm just using gmCall::BeginGlobalFunction.

Share this post

Link to post
Share on other sites

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

Sign in to follow this