QLNEO

Members
  • Content Count

    64
  • Joined

  • Last visited


Reputation Activity

  1. Like
    QLNEO got a reaction from samme in Sound element duration is 0   
    This is a very old thread, but since it popped up on search (I'm having the same problem as OP but I'm pretty sure my sound is decoded <EDIT: That was solved as well >) I want to add that Sound.onDecoded sends a signal that you can use when you want to wait for a sound to be decoded.
    Not sure if that was available on the time this thread was made, but for anyone searching, this is a thing.
  2. Like
    QLNEO got a reaction from in mono in TypeError: this.game.add is not a function   
    game.add is indeed not a function. It's a reference to GameObjectFactory, which itself has methods like .sprite(), .group() and, as gauravD mentioned, .existing(), which is great when you have to add a generic GameObject.
  3. Thanks
    QLNEO got a reaction from Capitaine Herlock in Can't collide sprite and tilemap   
    Well the Discord server saved my butt  turns out there was something you did there that I forgot to do.
    Namely, put the .collide() on the update function. Problem solved, and I have to seriously write that up somewhere so I never ever forget that again.
    Thanks for the assistence though!
  4. Haha
    QLNEO got a reaction from Capitaine Herlock in Can't collide sprite and tilemap   
    Well, the foreground is the collision layer. I forgot to change the names though, gonna fix that real quick
  5. Like
    QLNEO got a reaction from YuPi in The Phaser 3 Wishlist Thread :)   
    I'm currently working with lots of groups, and I really miss a kill() for groups. Not killAll(), I mean kill(). Since groups have alive, exists and visible properties, and that applies to children, it would be just natural to be able to kill groups as well.
    Of course... I'm still a newbie with Phaser. I apologize if there's already something like it, but surfing the docs there appears to be nothing.
  6. Like
    QLNEO got a reaction from samme in The Phaser 3 Wishlist Thread :)   
    I'm currently working with lots of groups, and I really miss a kill() for groups. Not killAll(), I mean kill(). Since groups have alive, exists and visible properties, and that applies to children, it would be just natural to be able to kill groups as well.
    Of course... I'm still a newbie with Phaser. I apologize if there's already something like it, but surfing the docs there appears to be nothing.