Tiled C++ 地图编辑器 Cocos2d-x 支持的地编


Tiled C++ 地图编辑器,cocos2d-x支持该地编导出的地图格式,现在cocoStudio也已经完全支持该地编了!
资源截图
代码片段和文件信息
/*
 * Copyright 2004-2006 Thorbjørn Lindeijer 
 * Copyright 2004-2006 Adam Turk 
 *
 * This file is part of libtiled-java.
 *
 * This library is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License or (at
 * your option) any later version.
 *
 * This library is distributed in the hope that it will be useful but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
 * License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this library;  If not see .
 */

package tiled.core;

/**
 * Animated tiles take advantage of the Sprite class internally to handle
 * animation using an array of tiles.
 *
 * @see tiled.core.Sprite
 */
public class AnimatedTile extends Tile
{
    private Sprite sprite;

    public AnimatedTile() {
    }

    public AnimatedTile(TileSet set) {
        super(set);
    }

    public AnimatedTile(Tile[] frames) {
        this();
        sprite = new Sprite(frames);
    }

    public AnimatedTile(Sprite s) {
        this();
        setSprite(s);
    }

    public void setSprite(Sprite s) {
        sprite = s;
    }

    public int countAnimationframes() {
        return sprite.getTotalframes();
    }

    public int countKeys() {
        return sprite.getTotalKeys();
    }

    public Sprite getSprite() {
        return sprite;
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1816  2011-07-21 04:54  地图编辑器Tiled C++版AUTHORS.txt

     文件        740  2011-07-19 01:20  地图编辑器Tiled C++版COPYING.txt

     文件       1240  2011-07-19 01:20  地图编辑器Tiled C++版LICENSE.BSD.txt

     文件      18320  2011-07-19 01:20  地图编辑器Tiled C++版LICENSE.GPL.txt

     文件      27032  2011-07-19 01:20  地图编辑器Tiled C++版LICENSE.LGPL.txt

     文件       7116  2011-07-21 04:54  地图编辑器Tiled C++版NEWS.txt

     文件       2399  2011-07-21 04:54  地图编辑器Tiled C++版README.txt

     文件       4247  2011-07-19 01:20  地图编辑器Tiled C++版examplessewer_automap
ules.txt

     文件       1383  2011-07-21 04:54  地图编辑器Tiled C++版examplessewer_automap
ule_001.tmx

     文件       1019  2011-07-19 01:20  地图编辑器Tiled C++版examplessewer_automap
ule_002.tmx

     文件       1130  2011-07-19 01:20  地图编辑器Tiled C++版examplessewer_automap
ule_003.tmx

     文件       1141  2011-07-19 01:20  地图编辑器Tiled C++版examplessewer_automap
ule_004.tmx

     文件       1198  2011-07-19 01:20  地图编辑器Tiled C++版examplessewer_automap
ule_005.tmx

     文件       1474  2011-07-19 01:20  地图编辑器Tiled C++版examplessewer_automap
ule_006.tmx

     文件       1337  2011-07-19 01:20  地图编辑器Tiled C++版examplessewer_automap
ule_007.tmx

     文件       1274  2011-07-19 01:20  地图编辑器Tiled C++版examplessewer_automapsewers.tmx

     文件        314  2011-07-19 01:20  地图编辑器Tiled C++版examplessewer_automap
ules_sewers.png

     文件        856  2011-07-21 04:54  地图编辑器Tiled C++版examplesdesert.tmx

     文件       1022  2011-07-21 04:54  地图编辑器Tiled C++版examplesisometric_grass_and_water.tmx

     文件        861  2011-07-19 01:20  地图编辑器Tiled C++版examplesperspective_walls.tmx

     文件       1091  2011-07-21 04:54  地图编辑器Tiled C++版examplessewers.tmx

     文件        466  2011-07-19 01:20  地图编辑器Tiled C++版examplesperspective_walls.tsx

     文件     104828  2011-07-21 04:54  地图编辑器Tiled C++版examplesisometric_grass_and_water.png

     文件       3700  2011-07-19 01:20  地图编辑器Tiled C++版examplesperspective_walls.png

     文件      22249  2011-07-19 01:20  地图编辑器Tiled C++版examplessewer_tileset.png

     文件      37830  2011-07-19 01:20  地图编辑器Tiled C++版examples mw_desert_spacing.png

     文件     795648  2011-07-21 04:37  地图编辑器Tiled C++版 iled.exe

     文件      81920  2011-07-21 04:38  地图编辑器Tiled C++版 mxviewer.exe

     文件     122136  2011-09-23 10:08  地图编辑器Tiled C++版uninstall.exe

     文件     129536  2011-07-21 04:37  地图编辑器Tiled C++版plugins ileddroidcraft.dll

............此处省略90个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)