Skip to content

How to use Texture Atlas with TexturePacker

Olivier Biot edited this page Sep 25, 2015 · 41 revisions

[WIP]

In this tutorial we are gonna to see how to :

  • use TexturePacker to create a texture atlas
  • import the generated texture into a melonJS project
  • add a static sprite
  • add an animation

create a Texture atlas

create new project

imported files

melonJS boilerplate

add the static background

add the cap guy animation

source code

https://github.com/melonjs/melonJS/tree/master/examples/texturepacker

Clone this wiki locally