boyliang / lua_badboy Goto Github PK
View Code? Open in Web Editor NEWSome useful tools for lua
Some useful tools for lua
UI.lua 53行
Label误写成Lable了,连type也是,所以导致识别不了是Label
ViewStyle = {
DEFAULT = "default",
CUSTOME = "custom"
}
中的 custome 替换成 custom 就行了
local content = getUIContent("ui.json");
local lua_value = json.decode(content);
lua_value.width = width;
lua_value.height = height;
lua_value.views[2].views[1].text = "谢谢谢谢谢谢";
上面最后一句话报错。attempt to index field 'views' (a nil value)
是不是解析json的时候,没办法解析数组。 还是我使用方法有问题?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.