Objective
Starting with the Lua5.1 version, new support is added to modules and packages, but modules and packages are defined and used using require and module. Require is used to use modules, and module is used to create modules. Simply put, a
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
In reality, game development often faces two conflicting pressures: Testing and verifying new ideas, and fast development and delivery.Integrating the scripting language into a game project can improve the development efficiency of the team and
First we choose to use Openresty, which consists of a nginx core plus a number of third-party modules, the biggest bright spot is the default integration of the LUA development environment, so that nginx can be used as a Web server. With Nginx event-
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
You can debug the Lua plug-in on vs, that is, vslua. Vslua can not only debug independent Lua scripts, but also debug Lua functions called in C ++, such as luabind and luaplus. You only need to set the vslua compiler to a DLL with the Lua export
LUA Development environment settings
If you are willing to set up your LUA programming locale, you need to use the following two software on your computer, (a) text editor, (b) Lua interpretation, and (c) the LUA compiler.Text Editor
This will be
scripting language, you probably need Lua more.Different scripting languages have different characteristics, and the first-contact scripting language may affect your understanding of the entire scripting language. The scripting language I used to
Lua is fairly easy to learn, so let's start by creating the first LUA program!First LUA ProgramInteractive mode Programming:
A model named interactive mode is provided in Lua. In this mode, you can type one command after another and get an
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.