triptych Posted October 26, 2015 Share Posted October 26, 2015 Is this true? I see the Pixi.js library being included in RPG Maker MV projects. -Andrew Quote Link to comment Share on other sites More sharing options...
Kushi Posted October 27, 2015 Share Posted October 27, 2015 Yep, sure is. Here is the JS directory of a fresh project: Without pixi there is no MV triptych 1 Quote Link to comment Share on other sites More sharing options...
rich Posted October 27, 2015 Share Posted October 27, 2015 Nice Is all the code obfuscated, or could you patch / extend it if needed? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted November 2, 2015 Share Posted November 2, 2015 1) They dont use texture.destroy() AT ALL (search found nothing). That means they have memory leak when switching between scenes, because they dont re-use tilemap bitmaps.2) For tilemaps they use pure canvas2d, which they wrap in BaseTexture. I found this performance bug: http://jsperf.com/tilemap-optimization3) 40% CPU time is spent in the engine. I saw how they create a lot of arrays in update/render cycle, that's awful. I dont know how to fix this, and I'm afraid of breaking plugins while optimizing this shit. Im working on new tilemaps that will work for pixijs-Tiled, pixijs-Rpgmaker and Gameofbombs.com . I'm confident in myself, because gameofbombs renders 1920x1080 at 60FPS easily, even on canvas2d. Quote Link to comment Share on other sites More sharing options...
rich Posted November 2, 2015 Share Posted November 2, 2015 That's quite frightening. Either they aren't very good at JavaScript or their desktop versions are just as bad internally, but you don't notice it because you can't see the source. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted November 2, 2015 Share Posted November 2, 2015 That's quite frightening. Either they aren't very good at JavaScript or their desktop versions are just as bad internally, but you don't notice it because you can't see the source.Their code is ok, they have good architecture, but they dont know much about webgl and javascript specifics. Also, they use a lot of one-liner functions, because that way it will be easier to write plugins above the core.One guy is porting it on pixiv3 and I'm trying to help him: http://forums.rpgmakerweb.com/index.php?/topic/47102-pixi-v2-to-pixi-v3/ , https://github.com/holywyvern/mv-pixi-upgrade , and your forum doesnt highlight https links , WTF? But I'm focusing on tilemaps, because that's the only think that I know I can fix for sure Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted November 2, 2015 Share Posted November 2, 2015 btw, that's related to rpgmaker: http://www.html5gamedevs.com/topic/18261-a-migration-problem-from-pixi-v2-to-pixi-v3/ Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted November 4, 2015 Share Posted November 4, 2015 Yeah, Im making a progress: https://github.com/ivanpopelyshev/pixi-tilemap Its much faster in webgl but much slower in 2d than rpgmaker vanilla. I'll implement 2d optimizations too, and it will work with Tiled too Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted May 17, 2016 Share Posted May 17, 2016 Update: https://github.com/ivanpopelyshev/pixi-tilemap will be official implementation of tilemap in rpgmv 1.3. Pixiv4 rules! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.