Skip to content

Migrating to Flambe 4

Bruno Garcia edited this page Mar 5, 2014 · 3 revisions

There are a few breaking changes in Flambe 4, but they are all simple renames:

Flambe 3.x Flambe 4.x
System.createTexture System.renderer.createTexture
System.hasGPU System.renderer.hasGPU
Playback.ended Playback.complete._
Graphics.drawImage Graphics.drawTexture
Graphics.drawSubImage Graphics.drawSubTexture
Manifest.build Manifest.fromAssets
Manifest.buildLocalized Manifest.fromAssetsLocalized
Mixer.newSound Mixer.createSound
flambe.swf.PlayMovie flambe.script.PlayMovie

These changes were made to make things more organized and consistent.

Clone this wiki locally