代码搜索:Lua
找到约 9,588 项符合「Lua」的源代码
代码结果 9,588
www.eeworm.com/read/295391/8167144
lua tile graphic test.lua
-- Tile graphic test
function main ()
if mappy.msgBox ("Graphic test", "This is a test LUA script which generates a new block and graphic and shades it. In 8bit, the palette is set to greyscale
www.eeworm.com/read/295391/8167145
lua find block in map.lua
-- Find block in map
function main ()
local w = mappy.getValue(mappy.MAPWIDTH)
local h = mappy.getValue(mappy.MAPHEIGHT)
if (w == 0) then
mappy.msgBox ("Find block in map", "You need to
www.eeworm.com/read/295391/8167156
lua show mouse coords.lua
-- Show mouse coords
function main ()
if (mappy.getValue(mappy.MAPWIDTH) == 0) then
mappy.msgBox ("Show mouse coords", "You need to load or create a map first", mappy.MMB_OK, mappy.MMB_ICONINF
www.eeworm.com/read/295391/8167159
lua set colourkey transparency.lua
-- Set colourkey transparency
function main ()
mappy.msgBox ("Set colourkey transparency", "This will change the colourkeys to the current still block which has the transparent colour in the top
www.eeworm.com/read/295391/8167162
lua set text strings.lua
-- Set Text Strings
-- For this example, keep the strings in a table, you could parse a textfile
textstrings = {}
textstrings[0] = "This is text string 0"
textstrings[1] = "Text string 1"
texts