speedtouch
-
Posts
3 -
Joined
-
Last visited
Content Type
Forums
Store
Gallery
Downloads
Posts posted by speedtouch
-
-
Nice benchmarks
I've been trying to use the API but I've run into a few errors when I try. First, under sammyjoeosborne/spriter/load/SimpleAssetLoader.as (38), _totalItems (uint) is passed to a new SimpleLoadItem(), but it expects a String.
Next in sammyjoeosborne/spriter/load/SimpleLoader.as (23) url is not defined anywhere.
Now seeing as how these haven't been updated in 10 days on git, I figure that I must be missing something, considering things seem to be working for you guys.
I only have flashdevelop on hand so I haven't been able to check out the .fla files, and I'm new to starling. Anything I should know about getting this API up and running?
EDIT: Looking further into some of these errors, it seems like these are legitimate issues that your compiler seems to be hiding away from you guys. After patching the ones I found, and loading an the scml file, and its textures, it seems to have gotten confused with trying to load an event.
Scml files and folders parsed. Sending to TexturePack
loading textures from individual files
START LOAD CALLED
ScmlData ready
TexturePack hero loaded all textures successfully.
TexturePack hero loaded all textures successfully.
[Fault] exception, information=TypeError: Error #1034: Type Coercion failed: cannot convert starling.events::Event@478b041 to flash.events.Event.
Fault, invokeEvent() at EventDispatcher.as:138Can I get a fix?
EDIT2: Disregard that last part, that was my fault. My main class that took the sprite ready callback was importing the wrong library :) Hopefully this will help other people
-
Can we get an updated implementation for plain/raw AS3 for the new file format?
I looked at Oddysee's change for Flashpunk but I had a hard time finding what would need to be changed for just the raw as3.
SpriterMC - An AS3 Starling Implementation with Bones
in Spriter Implementations
Posted
Oop! Thanks for the quick reply, I managed to solve it, and it was user-error of course.
My main starling class had: import flash.events.Event;
When it should have been: import starling.events.Event;
Easy mistake to make, I just hope my mistake might help someone in the future that runs into something similar.
There were a few more errors I had to fix to get the library to work flashdevelop. I'm running it on air SDK 3.5 so perhaps it's more strict. I just implemented what I would expect the compiler would have done: