Game Development Community

Can I Give Behaviors Without Source?

by Michael Dawson · in Torque Game Builder · 03/04/2009 (3:40 pm) · 0 replies

I’d like to be able to give behaviors to students using TGB without revealing the source code. I thought I might accomplish this by handing out the DSO files (rather than the CS files), but this doesn’t work. If I simply copy a DSO file, like shooterControls.cs.dso, to the behaviors folder, the corresponding behavior doesn’t show up in the TGB drop-down list. Is there some way to give students access to a behavior without revealing the source for it?

(You may ask why I’d want to do this – it’s because I’d first like students to get comfortable with the game-building part of TGB. Afterwards, I’d like the pull back the curtain and have them code behaviors — in some cases, the very behaviors I’d handed out earlier. )

Thanks for any insights,

--Mike