91游戏 · 游戏地图

《愤怒的小鸟》DIY 修改地图编辑器

《愤怒的小鸟》DIY 修改地图编辑器

使用说明:

国外牛人反编译并且重建LUA,
然后通过如下网页,制作自己的小鸟地图!http://acme.badboll.nu/able/

地图编辑完成后,把代码复制下来,新建一个文本文件,粘贴进去,改扩展名为 .lua,替换 Angry Birds⁄data⁄levels⁄pack1⁄ 下的 Level*.lua(游戏的关数)即可。



(附上)反编译内容参数:MOD高手们来啊~~~直接做个地图编辑器~~让大家玩玩MOD~~
physicsToWorld = 20
theme = "theme1"
joints = {
}
birdCameraData = {
    ipad = {
        bottom = 122.18199920654,
        left = -655.24298095703,
        px = 48.054100036621,
        py = -369.68798828125,
        right = 1953.7199707031,
        screenHeight = 768,
        screenWidth = 1024,
        sx = 0.72799998521805,
        sy = 0.72799998521805,
        top = -897.16101074219
    },
    iphone = {
        bottom = 58.935001373291,
        left = -627.74499511719,
        px = 40.922298431396,
        py = -355.47198486328,
        right = 1921.3100585938,
        screenHeight = 968,
        screenWidth = 1280,
        sx = 0.95712798833847,
        sy = 0.95712798833847,
        top = -861.15100097656
    },
    version = "0.02"
}
castleCameraData = {
    ipad = {
        bottom = 122.18199920654,
        left = 547.12298583984,
        px = 1250.4200439453,
        py = -405.29098510742,
        right = 1953.7199707031,
        screenHeight = 768,
        screenWidth = 1024,
        sx = 0.72799998521805,
        sy = 0.72799998521805,
        top = -932.76397705078
    },
    iphone = {
        bottom = 47.576000213623,
        left = 583.97302246094,
        px = 1245.1300048828,
        py = -452.42401123047,
        right = 1906.2900390625,
        screenHeight = 968,
        screenWidth = 1280,
        sx = 0.96799999475479,
        sy = 0.96799999475479,
        top = -952.42401123047
    },
    version = "0.02"
}
counts = {
    RedBird = 1,
    YellowBird = 1,
    WoodBlock9 = 2,
    KingPiglette = 1,
    ExtraBlockFlag01 = 1
}
world = {
    ground = {
        angle = 0,
        definition = "Ground",
        name = "ground",
        x = 55.188701629639,
        y = 5
    },
    RedBird_1 = {
        x = -35.44444444444444,
        y = -1.3333333333333357,
        name = "RedBird_1",
        definition = "RedBird",
        angle = 0
    },
    YellowBird_1 = {
        x = -32.66666666666667,
        y = -1.4444444444444429,
        name = "YellowBird_1",
        definition = "YellowBird",
        angle = 0
    },
    WoodBlock9_1 = {
        x = 62.111111111111114,
        y = -2.1111111111111143,
        name = "WoodBlock9_1",
        definition = "WoodBlock9",
        angle = 0
    },
    WoodBlock9_2 = {
        x = 62.111111111111114,
        y = -6.111111111111107,
        name = "WoodBlock9_2",
        definition = "WoodBlock9",
        angle = 0
    },
    KingPiglette_1 = {
        x = 62.22222222222222,
        y = -11.666666666666664,
        name = "KingPiglette_1",
        definition = "KingPiglette",
        angle = 0
    },
    ExtraBlockFlag01_1 = {
        x = -29.000000000000004,
        y = -3.499999999999993,
        name = "ExtraBlockFlag01_1",
        definition = "ExtraBlockFlag01",
        angle = 0
    }
}

还有自己随便制作的一张地图,给大家演示:

第一关的地图: 替换 Angry Birds⁄data⁄levels⁄pack1⁄ 下的 Level1.lua文件按即可。

by: uiptjj

----------------------------------------------

kcalf_z 补充:

补充几点使用说明:
1、这个地图编辑的网页需要支持HTML5特性的游览器来打开才能正常使用。(最新版的Chrome,Firefox,Opera,Safari,甚至是N900的游览器)
2、反编译地图文件的命令格式:lua.exe decompile_levels.lua Level1.lua

地图编辑器特性:
1、按住Ctrl可选中多个物品
2、按键J :连接两个物品。
3、按键R :取消物品连接。
(连接可以使两个物体关联,比如炸药箱和气球)
4、按键D :复制所选物品。
5、选中物品后按鼠标右键,旋转物品。

制作好的地图既可以使用在PC上,也可以使用在移动设备的游戏上。(比如:/opt/rovio/angrybirds/data/levels/packX)

相关下载

取消
下载此应用的人还喜欢