Jump to content
  • Advertisement

Archived

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

sigma490

calling lua functions in c++

This topic is 5662 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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!