• Advertisement

Archived

This topic is now archived and is closed to further replies.

calling lua functions in c++

This topic is 5571 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i cant find anywhere how to call lua functions from c++. The reason i want this is so i can have functions that will be called for events such as initialization of the game and the main loop function but all written in lua. Another question is: How do you use classes in lua?

Share this post


Link to post
Share on other sites
Advertisement
Look at the source code for this article

http://gamestudies.cdis.org/~amatheson/LUA-Part01/Part01-section01.html

Shabadoo

[edited by - Shabadoo on January 19, 2003 3:39:16 AM]

Share this post


Link to post
Share on other sites

  • Advertisement