Original address: Http://blog.segmentfault.com/hongliang/1190000000631630Cocos2d-x best practices for invoking custom C + + classes and functions under LUAAbout Cocos2d-x under the LUA call C + + documentation looked a lot, but no one really to
This article is reproduced in http://www.cnblogs.com/zisou/p/cocos2dx-lua1.htmlOne of the above questions I think we need to think about before we use LUA, what are the advantages of LUA? What are the drawbacks? Find your own project positioning
[Lua] Getting Started tutorial, lua getting started tutorialWhat is Lua?
Lua is a small scripting language. It is a research group at the Pontifical Catholic University of Rio de Janeiro in Rio de Janeiro, developed in 1993 by Robert Ierusalimschy,
This series of tutorials mainly describes how to embed Lua scripts in C + + programs, and I intend to introduce them in the following ways:
1. How to embed a LUA script in C + +
2.Lua access to C + + data structures (here you will introduce
This article is the last tutorial on C + + and Lua interaction, after which we will combine cocos2d-x to introduce LUA bindings. This article mainly describes how to bind a simple C + + class into Lua and provide LUA object-oriented access.
Binding
A string or series (string) is a string of characters that consist of numbers, letters, and underscores.Strings in the Lua language can be represented in the following three ways: a string of characters between single quotes . a string of characters
LuaThe programming language is a simple, lightweight, and scalable scripting language. Lua reads/'lua/(Lu Ah), which means "Luna" (Moon) in Portuguese.
Directory[Hide]
1 goal
2 features
3 program examples
4 types
A. Brief introductionThis article describes the fact that in a real game development project, binding a custom C + + class to Lua allows Lua to invoke the C + + class. Creates a Python script that executes the Python script to automatically bind our
What is LuaLua is a small scripting language. A research group in the Catholic University of Rio de Janeiro, Brazil (Pontifical Catholic University of Rio de Janeiro), by Roberto Ierusalimschy, Waldemar Celes and Luiz Henr Ique de Figueiredo was
I have been resting since GF came back in May middle August. Angelscript is followed at most. By the way, bind the HGE 2D engine to the script language. You can see the running results without compiling.
Recently, I started to contact Lua again. I
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.