Comments (9)
ping @bitnenfer as well, since I noticed you worked on this a little bit.
from phaser-ce.
Is there a reason it can't be setup to work the same way as image and texture? We were in the process of setting up compressed texture support until noticing that it doesn't work with atlasJSONHash
as you mentioned, which is what we use as well.
from phaser-ce.
I think we won't know until someone looks into it. 😃
- https://github.com/photonstorm/phaser-ce/blob/master/src/loader/Loader.js#L2233
- https://github.com/photonstorm/phaser-ce/blob/master/src/loader/Loader.js#L2818
Can anyone provide a set of atlas/texture files (to test an implementation)?
from phaser-ce.
Here's a very simple texture/atlas: https://cloudup.com/cWXKCYhDLnL
from phaser-ce.
Here's a very simple texture/atlas: https://cloudup.com/cWXKCYhDLnL
"The download of this file has been disabled" 😞
from phaser-ce.
Hmm, that's odd. How about this? https://www.dropbox.com/s/jgjrukxg5quh11l/Compressed%20Atlas%20Test.zip?dl=0
from phaser-ce.
Have you tried using Phaser.Cache#addTextureAtlas like http://codepen.io/samme/pen/ybLpdJ ? (Not a compressed texture, but it may work the same.)
from phaser-ce.
@samme Thanks for that sample, I think that should work for us; however, I've run into a different issue trying to get this setup with the actual loading of the compressed textures (#162).
from phaser-ce.
Just a heads up that we've gotten this approach implemented now in https://github.com/goldfire/phaser-webpack-loader.
from phaser-ce.
Related Issues (20)
- Multiple timers, but Timer.duration only returns to first one currently running HOT 2
- Different frame rate for each frame of an animation HOT 1
- Possible Bug in moving an image HOT 2
- bad performance in webGL version 2.15+ HOT 4
- Error thrown when destroying the game too early and using WebAudio HOT 8
- TweenManager.frameBased not working as expected HOT 1
- Game loop runs slow when setTimeout() is used HOT 1
- Why was createStaticLayer deprecated? HOT 1
- Adaptability enhancement: daltonization filter for people with colorblindness HOT 1
- The same page is very slow when I use phaser ce After v2.6.2, why? HOT 1
- Filters not rendering on Android or with multiTexture: true
- timer loop events in create function get error
- v2.19.1: WebGL: INVALID_OPERATION on game start HOT 1
- iOS 15.1 huge web-gl performance drop. HOT 1
- Image hover not working for first time if image was clicked HOT 1
- DOCS.md link path error HOT 1
- Cannot create and destroy games in quick succession HOT 5
- RenderTexture can crash if games are created and destroyed in quick succession. HOT 6
- Custom fonts render with glitches on certain Windows devices HOT 4
- Phaser CE API docs are offline HOT 1
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 phaser-ce.