Comments (13)
Thanks for the report.
Do you have any proposal? I think we could just remove the Type Parameter...or swap the new by a parse(fast:Fast) method?
from spriterhaxeengine.
I don't know. The Docs about it on haxe are not updated yet.
from spriterhaxeengine.
The new method is supposed to be defined like this:
typedef ConstructibleKey = {
public static var fast:Fast;
}
But this is creating other problems in other parts of the code
from spriterhaxeengine.
Thanks for your suggestion. What other problems are you talking about?
from spriterhaxeengine.
Maybe we could just replace
class Metaline<T:ConstructibleKey>
by
class Metaline<T>
(so no more ConstructibleKey)
Can you test?
from spriterhaxeengine.
Well it seems I got passed the constructible error but now there is an error with the tile layer lib. It is not compatible with openfl 4. It is calling a deprecated method:
openfl.display.Tilesheet
haxe/lib/tilelayer/0,2,0/aze/display/TileSprite.hx:175: characters 27-42 : aze.display.TileLayer has no field tilesheet
from spriterhaxeengine.
Are you using SpriterHaxeEngine from git or haxelib?
On git I've made a Tilemap library on the dev branch and have forgot to release it on master branch and haxelib. Can you try?
If it works I'll update SpriterHaxeEngine this weekend with a fix for haxe 3.4 and openfl 4.
Sorry for the delay. Thanks.
from spriterhaxeengine.
Using the one from haxelib.
I will give the Git version hopefully later today and give you some feed back.
from spriterhaxeengine.
I tested with the Git version and still getting a tilemap but on a different line. This is still related to the deprecated openfl.display.Tilesheet. The guys over at openfl say we should be using openfl.display.Tilemap. Unfortunately the tilelayer lib seems to be abandoned with not activity since 2013.
/usr/local/lib/haxe/lib/tilelayer/0,2,0/aze/display/TilesheetEx.hx:4: characters 7-31 : Type not found : openfl.display.Tilesheet
from spriterhaxeengine.
Haxeflixel is not compatible with openfl 4 yet. I think that I'll have to keep using older version of haxe and this library.
from spriterhaxeengine.
@frankhdz are you using flixel?
If not, the dev branch of SpriterHaxeEngine has a TilemapLibrary. I'll merge into the master branch this weekend after some tests to check if everything works correctly. But it would be great if someone else makes also some tests.
from spriterhaxeengine.
No, not using Flixel, I am trying to implement it with Starling.
from spriterhaxeengine.
Sorry for the long wait. I've fixed the issue.
@frankhdz To make it working you can use TilemapLibrary or create your own StarlingLibrary. You can import your atlas with openfl-atlas instead of using a deprecated library as Tilelayer.
from spriterhaxeengine.
Related Issues (20)
- addParticule (unique anim without loadings others from the SpriterEntity obj) HOT 3
- tileLayerLib does not work with recent html5 1.4.1-beta HOT 2
- tileLayerLib does not work with Neko target HOT 1
- cannot tileImages with TileLayerLib when targeing Windows, or Android HOT 3
- Easing tween implementation? HOT 2
- playAnimsStack problem when using looping animation
- pooling HOT 3
- What licence? HOT 1
- Flip Animation HOT 7
- Some bone animations explode HOT 19
- FlixelLibrary.hx - Type not found : flixel.graphics.frames.FlxAtlasFrames HOT 2
- Animation of Subentities aren't played HOT 9
- Curve Type of Key inside Mainline is not Loaded HOT 2
- Cannot get the points of an entity HOT 4
- Playing animations in reverse HOT 9
- add Context to Spriter/Libraries
- add Tilemap target HOT 1
- Placement is off. HOT 4
- openfl & haxeflixel examples HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spriterhaxeengine.