These are chat archives for pixijs/pixi.js

25th
Sep 2017
Ivan Vodopiviz
@ivodopiviz
Sep 25 2017 08:17
thank you, I'll recheck my environment then :)
Ivan Popelyshev
@ivanpopelyshev
Sep 25 2017 08:40
try just load single dds file
there are things that required for plugin to work
i thionk this one is reequired: PIXI.compressedTextures.detectExtensions(renderer);
is there any error messahe?
Ivan Vodopiviz
@ivodopiviz
Sep 25 2017 09:22
first of all, I'm a rendering guy and my webdev knowledge is... lacking
all I did was to stick both pixi and the loader's minified files, add them in the html header and that's it
I'm getting a warning from pixi-compressed-textures: "Invalid asm.js: Invalid member of stdlib"
I know what asm.js is, I just have no idea what this issue is
but I'm not detecting available extensions, so I'll start there :)
Ivan Vodopiviz
@ivodopiviz
Sep 25 2017 09:28
also, is the "@x1" part mandatory?
1x I mean
Ivan Popelyshev
@ivanpopelyshev
Sep 25 2017 09:35
its difficult. There's logic inside that benefits from using @x1 in some cases :)
i cant explain it , it just how code works. If you study that code you
*if you have a problem with resolutions, then @x1 might be solution that helps internal logic of plugin to understand what do you want
if you dont use resolutions at all - forget about it and dont use @x1 @x2 and other suffixes
just use ".dds"/ ".pvr" stuff
Ivan Vodopiviz
@ivodopiviz
Sep 25 2017 09:37
yeah, I was planning on ignoring that for now
Ivan Popelyshev
@ivanpopelyshev
Sep 25 2017 09:38
yeah, i just put everything in one example ;)
even more - you dont have to use extension chooser at all
Ivan Vodopiviz
@ivodopiviz
Sep 25 2017 09:38
that'd be perfect actually
Ivan Vodopiviz
@ivodopiviz
Sep 25 2017 09:39
anyway, extension query seems to be ok, it shows dds as a potential extension
Ivan Popelyshev
@ivanpopelyshev
Sep 25 2017 09:39
the only part of extension chooser that is required is
PIXI.compressedTextures.detectExtensions(app.renderer);
Ivan Vodopiviz
@ivodopiviz
Sep 25 2017 09:40
oooh, I was using loader.before and not loader.pre
Ivan Vodopiviz
@ivodopiviz
Sep 25 2017 10:12
ok, got it working
I'm still unsure about the asm.js warning but it's loading corretly :)
thanks a lot Ivan. cool name by the way ;)
Ivan Popelyshev
@ivanpopelyshev
Sep 25 2017 19:44
:)