Package tiled.core

Examples of tiled.core.Sprite


                    frames[framesx*y+x] = createImage(new FilteredImageSource(img.getSource(), new CropImageFilter(x*map.getTileWidth(), y*map.getTileHeight(), map.getTileWidth(), map.getTileHeight())));
                  }
                }
               
                //TODO add delay input through dialog
                newTile.setSprite(new Sprite(frames, 10)); //chopped up animation
                newTile.setImage(id); //complete animation
                tileset.addNewTile(newTile);
                queryTiles();
                queryImages();
                // Select the last (cloned) tile
View Full Code Here

TOP

Related Classes of tiled.core.Sprite

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.