Hacker News new | ask | show | jobs
by iandanforth 5177 days ago
I really like this! One thing that wasn't shown is having variables in the CPP code get modified from in game. Would that be possible?
1 comments

Definitely possible, though you would store those tweakable variables in special MyVariable objects (rather than have them be normal C++ variables). With Circa you could grab the object that holds then variable's data, and then have C++ code that reads it as often as you want.

Game devs love to have tweakable variables, so there's a lot of libraries that will help with this. One example: http://www.antisphere.com/Wiki/tools:anttweakbar