A few months ago in the Cocos2D-X project, there is a problem more tangled: Do you want to use Lua? Carefully looked at the Cocos2D-X engine itself Lua support, can be said to be very mature. Why do we have to struggle? We used Lua in the previous client game project. debugging is a big problem (A Nb brother wrote a client built-in debugger ). Compared with some independent ides of Lua, there are still many problems, most of which are unstable and may crash during debugging. Later, I accidentally found this plug-in and used it for several months. The more I use it, the better I use it. I recommend it to you!
Babelua
Https://babelua.codeplex.com/
- Supports Visual Studio 2012 and 2013
- Supports syntax highlighting, Automatic Code Completion (of course limited), debugging (breakpoint, variable viewing, call stack viewing), and so on.
The configuration is also very simple. After installation, the Lua menu will appear. First, you need to configure the menu, and the rest will be very simple. :)
In short, it is too easy to use, is the first choice for the development of Cocos2D-X Lua!
We recommend a Lua plug-in for Visual Studio.