Comments (11)
oh right because Tilemap
doesnt have tileAnim by default... :) Just register it, it costs nothing anyway
from tilemap.
I'll look into this today. Was gone on vacation.
from tilemap.
https://github.com/pixijs/tilemap/releases/tag/v3.2.1
from tilemap.
OK, found bug, if you want to try fast fix, apply this to your @pixi/tilemap file in node_modules or where is it 7938df8
also, you wont need to register canvas renderer after this
from tilemap.
thanks for the prompt response! that does seem to work, but it seems i still need the registerPlugin call for it to work.
if I remove the PIXI.CanvasRenderer.registerPlugin('tilemap', CanvasTileRenderer);
then I get a separate error I got prior as well (tileAnim is undefined
):
when I inspect the breakpoint there, it seems my tileAnim
is actually null. presumably since both this.tileAnim
is null and renderer.plugins.tilemap.tileAnim
is undefined.
perhaps registerPlugin is still just required? or maybe the tileAnim
fallback a few lines up is missing something?
from tilemap.
great! btw, it took me a bit of sleuthing to realize I needed to register that. seems like its only documented in the actual tilemap/src/CanvasTileRenderer.ts
source. a section in the readme on "enabling canvas support" might be worthwhile. I'd write it but honestly I'm not sure I have a full enough grasp on how it works just yet :)
from tilemap.
Anyway, its fixed in latest release, but still needs to register plugin
thank you for the report!
from tilemap.
sounds good. when will it be published to npm?
from tilemap.
it wasnt? Oh, I just have to call @ShukantPal again. I cant build new version for some reason :(
from tilemap.
correct, on github and npm the latest version is still 3.2.0
from tilemap.
@ShukantPal sorry to be annoying, but any update on publishing a new build to npm? hoping to get this integrated in my game upstream.
thanks!
from tilemap.
Related Issues (20)
- tileAnim does not work for negative offsets HOT 1
- Tiles are reset to original, after x amount of changes HOT 2
- collision
- Update to newer PIXI version HOT 1
- Not working with new `cullable` property from `PIXI 6.3.0`. HOT 4
- Not working since PIXI 6.4.0 HOT 2
- Not compatible with Pixi 7 HOT 9
- Importing pixi tilemap does not work HOT 4
- Missing dependencies
- Texture ID is only set when composite parent is true.
- Request for the updating of rpgmaker.js
- Demos aren't loading
- `Cannot find module '@pixi/tilemap' or its corresponding type declarations` HOT 4
- Position doesn't follow parent, when parent is using isRenderGroup : true HOT 2
- tileWidth and tileHeight doens't seems to work
- Question: Is there a way to use this with `@pixi/spritesheet`? HOT 7
- Cleaning or updating Tilemap is not working without running renderGroup.onChildUpdate `PIXI 8` HOT 2
- `PIXI 8` Tilemap doesn't apply `roundPixels` renderer settings HOT 1
- `PIXI 8` Multiple Tilemap movement interfere eachother on `webgpu` HOT 1
- `PIXI 8` tilemap moves the wrong distance when `app.stage.position` updated
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 tilemap.