Advertisement Jump to content

Archived

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

sigma490

calling lua functions in c++

This topic is 5842 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!