Jump to content


  • Content Count

  • Joined

  • Last visited

About martiniti

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Ivan, I`m sorry if I hurted you. Your help is really awesome and thank you so much for all you doing, I`m sure that it`s very important for many-many people !!! It`s strange, but after reloading my docker - everything started work! Filters showing correct video/image without deformation. This is really awesome! I`ll do my best to upgrade this module and make it much better, so anyone can use it and maybe it will help someone, I hope so. I`ve already updated module with instruction how to use it, for those who searching for solution, you can find it here: https://www.npmjs.com/pa
  2. Hi Ivan! Can you help me with global.d.ts file? I checked some examples in other plugins (heaven, pixi picture...), but still don`t get how it works. Or can you give me some advise how can I export my new module "applyFsMixins" correctly?
  3. Hello Ivan! Yes I see that now it contains Rectangle extension (fitY) only. What is global.d.ts for? Except to hack pixi interfaces?
  4. But inside "compile" folder everything seems to be ok: import { applyFsMixins } from './filters/FilterSystemMixin'; applyFsMixins(); export { applyFsMixins }; //# sourceMappingURL=index.js.map
  5. I see that for some reasone index.d.ts compeleted into this two lines: export declare function applyFsMixins(): void; export { } This happened in both cases
  6. When this will be completed I will publish correct and tested version for any sizes and proportions of the media content. I think it may help those one who will be searching for correct size autofiting for Filter in PIXI and everyone who will want to create they own PIXI plugin. Therefore, thank you again, Ivan!
  7. Hello Ivan! Sorry for late response. I so appreciate your help, just can`t find the words to thank you for the so much helping me and other people who wants to use PIXI.JS!!! And about plugin. I did everything using your detaled instruction, even learned how to publish npm packages, it`s really awesome ๐Ÿ˜„: https://www.npmjs.com/package/pixi-autofit-y But for some unknown for now reasone it writes me in both cases (in your pixi-plugin-example and my pixi-autofit-y versions๐Ÿ˜ž Module not found: Can't resolve 'pixi-plugin-example' When I importing this module: imp
  8. Hello! In my project I also have a lot of videos that I using as scenes. For me it is quite enough to use method below. Hope this help you. .... scenes.map((scene, index) => { videoBgs[index] = PIXI.Texture.from(`some_url`); videoSprites[index] = new PIXI.Sprite(videoBgs[index]); videoControllers[index] = videoSprites[index]._texture.baseTexture.resource.source; app.stage.addChild(videoSprites[index]); .... }); After this I starting rendering and play one each one video using VideoController parameters (duration and current time of the video): let cu
  9. Hello Ivan! Thank you so much again for your support!!! Is there any other ways to implement this few hacks? I found it little bit complicated for me. I installed PIXI-HEAVEN but unfortunately I couldn`t run it. It always writes me: "Module not found: Can't resolve 'pixi-heaven'" But I definetly know that I installed this module. About half of the day I tryed a lot of different hacks but still have no result It`s really ease to extend PIXI.Rectangle but I don`t get how modify FilterSystem because it inside PIXI.Filter For my project I using pixi-leg
  10. Hello everyone! I founded solution with correct croping images/videos inside PIXI app. I created test appliction and made some hacks inside pixi-legacy.js and it successfully works for me. When I started implement it inside npm module I found it not so easy. Tryed a lot of everything but still have no luck. Could somebody explain me how correctly hack PIXI and make it work as NPM module? Do I need make some module extensions? My current code definetly cause some core changes because I entered 3 new parameters. So how can I put it all together? Bellow my code:
  11. Hello guys! Finally I found and make some hacks with PIXI code, thank you Ivan so much for your support! But I still have a little question. For my hacks I used pixi-legacy.js file inside test environment. For my current project I using NPM system with node_modules. How can I hack them? There are a lot of similars files, also pixi-legacy.js that load @pixi have some core files too. I tryed make some tracing with console.log(''Olololo ๐Ÿ˜ƒ"); to understand what exactly should I patch but still have no effect... Below I share my solution: Inside this function
  12. Here is my next question. Thats all great if you not using a PIXI.Filter. Unfortnatelly autoFit parameter deformate my media content with size of application. I noticed that autoFit based on bounds of canvas and fit my images/videos according to canvas size. Is there way to autoFit for example by maxHeight and by maxWidth sizes of canvas?
  13. Hey guys! I have solution for those who searching answers for this question. But I still have one question. First of all you need to create canvas exactly with sizes that you want. For example for square proportion you can set vw (1080) x vh (1080) PIXI.settings.RESOLUTION = 2; app = new PIXI.Application({ width: vw, height: vh, backgroundColor: bgColor, }); videoContainer.appendChild(app.view); const renderer = PIXI.autoDetectRenderer({ width: vw, height: vh, resolution: 2 }); renderer.view.style.width = `${vw}px`; renderer.view.style.height = `${vh}px`; Then I
  14. Hello everyone! Maybe someone has experience and can share with it. The question is how you guys croping media content inside PIXI Application. I have a lot of different stock video and images with different sizes. User can choose aspect ratio of final result: landscape (1920x1080), square (1080x1080), vertical (607,5x1080). The size of main container always is 1920x1080. Also there should be good resolution, let`s say: PIXI.settings.RESOLUTION = 2; I made some images to demonstrate how I want to make it. For example, user can choose vertical ratio and w
  15. Wow! Thank you so much, Ivan, for such a detailed explanation! I will try! Is it important what I'm trying to upload, a video or a picture?
  • Create New...