代码搜索:Lua
找到约 9,588 项符合「Lua」的源代码
代码结果 9,588
www.eeworm.com/read/171168/9768445
lua export flash actionscript.lua
-- Export Flash actionscript
-- Thanks to Andre Michelle for the idea
function main ()
if mappy.msgBox ("Export Flash actionscript", "This will export the current layer as an actionscript (ani
www.eeworm.com/read/171168/9768454
lua swap palette indexes.lua
-- Swap palette indexes
function main ()
local w = mappy.getValue(mappy.MAPWIDTH)
local h = mappy.getValue(mappy.MAPHEIGHT)
if (w == 0) then
mappy.msgBox ("Swap palette indexes", "You ne
www.eeworm.com/read/171168/9768460
lua set palette index.lua
-- Set palette index
function main ()
local w = mappy.getValue(mappy.MAPWIDTH)
local h = mappy.getValue(mappy.MAPHEIGHT)
if (w == 0) then
mappy.msgBox ("Set palette index", "You need to
www.eeworm.com/read/171168/9768462
lua export binary file.lua
-- Export binary file
-- Thanks to Jerzy Kut for the num_to_char function
function num_to_char ( number )
return ( string.char ( math.mod ( math.mod ( number, 256 ) + 256, 256 ) ) )
end
func
www.eeworm.com/read/171168/9768467
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/171168/9768469
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/171168/9768481
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