[cpp]有谁在游戏中嵌入过ruby吗?

LoLitter mikeluo2000 at 126.com
Mon Oct 29 16:58:10 CST 2007


我是第一次尝试在游戏中嵌入脚本语言。选择的是ruby,游戏主体是用C++编写的
已经用swig把接口做了包装。但是不知道该怎么样让游戏程序调用一个脚本。
例如我要在ruby中写一些函数,函数可以向C++程序中的对象发送消息。
并可以在C++中调用这些函数。该怎么做啊。。。。
哪位好心人帮帮忙呃。。

2007-10-29 



LoLitter 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codingnow.com/pipermail/cpp/attachments/20071029/4c5bf1d8/attachment.html


More information about the Cpp mailing list