0

As the title says so i've been making some mini games from my early years in college but it's written in c++ i want to translate it to lua but not really expert with it, so i discovered how to bind the codes, can i bind it to lua and develop it to lua game engine like love2d and moai?

1 Answers1

1

Yes you can.

There are rules you need to follow to get the function signature (C++ function to be called from Lua Script) right.

There are plenty of tutorials (e.g. here and here) and libraries that help you to do that.

Griffin
  • 716
  • 7
  • 25