yellowsilikon.blogg.se

Spriteilluminator libgdx
Spriteilluminator libgdx











Therefore you want to merge many small images into one big image that is downloaded with a single http request. Downloading many small images (especially on mobile devices) does increase the download time and bandwidth usage. In practice it is not recommended to download many images one by one from a web server. A web application like a game often uses dozens or even hundreds of images. TexturePacker is probably the most commonly used tool to work with graphical assets. What is TexturePacker and why should i care? The Dart language is fun to use, easy to learn, highly productive and should be considered by every developer who wants to write apps for the modern web. In fact the default texture atlas format in StageXL is the JsonArray format of TexturePacker - you will learn more about this in a short while.Įven if StageXL started as an alternative to Flash, it is used by many developers who have no prior experience with Flash or ActionScript. One of those features in StageXL is the support for TexturePacker. Today, StageXL not only provides an API that is very similar to the Flash API (DisplayList, EventDispatchers, Sounds, Filters, Masks, etc.) but also adds many features to make it easier to work with HTML5 and the Web.

#Spriteilluminator libgdx code

If you are used to work with ActionScript 3 you definitely don't want to write code in JavaScript.

spriteilluminator libgdx spriteilluminator libgdx

The project started in late 2012 with one goal: Providing an HTML5 framework for Flash developers that is familiar to use and does not require to write code in JavaScript. StageXL is a 2D render framework for the Dart programming language.

spriteilluminator libgdx

Get the source for this side scrolling demo here. Getting started with StageXL and Texture Packer











Spriteilluminator libgdx