Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Vizions last won the day on September 4

Vizions had the most liked content!

About Vizions

  • Rank

Profile Information

  • Gender
  • Location
  • Interests
    Human things

Recent Profile Visitors

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

  1. Hello, So the example provide from Ivan and one that I did myself works great in code sandbox. However, when this is in TS files with the exact code I am still getting "Uncaught (in promise)" Event error. It does not load the textures. I am so boggled with this one. With the limited time I've had and banging my head on stuff I just got to the point where I figure I would just tack it on to this thread. Here is the project https://github.com/420visions/spritesheet_issue The only node modules I have added are Parcel and Pixi. I really do not understand why this is not working. If
  2. Sorry for the delay in response, here is the code sanbox https://codesandbox.io/s/empty-hooks-9g8j6?file=/src/index.ts
  3. I am trying to do something very simple with PIXI and Typescript. I decided to switch to using texture packer from loading individual png files and ran into this issue. The issue is when trying to access the texture that is loaded through the spritesheet json file I get a promise error. The code is very simple and I have tried various ways of doing this with no luck. This example is the simplest and uses the example from CodeAndWeb (Texture packer devs site) but in an attempt to translate it to typescript and separated the functionality a bit. Any advice is highly appreciated. Thanks.
  4. Thanks @ivan.popelyshev. Do you know of any libraries that might make this possible?
  5. Hello all, Does anybody know if it is possible to detect when a video that is loaded has completed? Or even some basic detection and control (onComplete, onStart, play, stop). I am trying to create a media slideshow that supports images and mp4's. I have built a similar slideshow in the past with Timeline Max but it appears that there is no support for videos in the JS version. This is what I have so far (Just a quick prototype to build on). let renderer; let stage = new PIXI.Container(); let button; const loader = PIXI.loader; renderer = new PIXI.CanvasRenderer(1024, 768);
  6. Vizions

    Slot game

    Have you tried TweenLite delayedCall? I have worked on slots before. For the "Anticipation" effect we just increased the speed of the spin (increase y speed on ticker). Careful how you implement this. It can create a tearing effect. Hope this is helpful.
  7. Thank you @bubamara. Your help is highly appreciated.
  8. Thanks for the responses here is the link to the playground: https://www.pixiplayground.com/#/edit/IUF~i2xGirtSSntnn~O3d
  9. Hello, First time posting on this forum. Issue: I am having issues using TweenMax when rendered in WebGL with PIXI. Nothing happens at all. If I change my code to use canvas it works just fine. Is anybody having similar or the same issues? Thanks for any help. let app = new PIXI.autoDetectRenderer(1920, 1080); document.body.appendChild(app.view); let stage = new PIXI.Container(); let testGraphic = new PIXI.Graphics(); testGraphic.beginFill(0x18FF10); testGraphic.drawRect(0, 0, 500, 500); stage.addChild(testGraphic); TweenMax.to(testGraphic, 1, {pixi: {alpha: 0}}); ap
  • Create New...