• Content Count

  • Joined

  • Last visited

  • Days Won


Alvin last won the day on October 1 2013

Alvin had the most liked content!


About Alvin

  • Rank
    Phaser Moderator

Contact Methods

  • Twitter

Profile Information

  • Gender
  • Location
    London, UK

Recent Profile Visitors

2,063 profile views
  1. Alvin

    Danger Mouse HTML5 Game !

    Hey everyone, I know I haven't posted anything in this forum for a while, but I'd like to share with you guys the latest HTML5 treat from Goodboy Digital, the Danger Mouse Game ! We've made this game for the re-launch of a popular British TV show from the 80s that the BBC re-created, it's a fast-paced platformer featuring four worlds inspired by moments in the show, each of them finishing with an iconic boss to beat at the end. A lot of special effects and animations have gone into this game, we've also built a specific game engine and we're really proud of the end result, we even find ourselves playing it when we just wanted to test a specific feature Unfortunately, the game is only playable in the United Kingdom, and there isn't anything we can do about it. Play it here : And enjoy, happy Friday ! PS : There's also a cheat code that is yours to discover
  2. Alvin

    How does group.addMultiple work?

    Hi, It expects an array of children objects to be passed to it, it's exactly like doing group.add multiple times, it's just a for loop internally. So you use it like this : group.addMultiple([sprite1,sprite2,etc])
  3. Alvin

    Blur for Canvas

    I have used this blur script before and It's quite fast (for a canvas filter), but if you want to blur you whole game screen for a moment I would suggest using another blurred canvas on top.
  4. Alvin

    Phaser world to screen (local to global)

    Every Phaser sprites and images have a world property that gives you access to the sprite's coordinates relative to the game canvas and not the parent container. ( and I'm not sure if this is what you're looking for ?
  5. I don't know if Panda has a better way of doing it, but from Pixi.s point of view I would simply do this : for(var i = 0; i<container.children.length; i++){ container.children.interactive = true; } Which makes only the children of this container interactive Good luck
  6. Alvin

    Weird? problem with inputEnabled

    Hi Jorge, no worries dude
  7. Alvin

    Weird? problem with inputEnabled

    Does it still work properly even though the console logs 'false' ? You could also use :, this);
  8. Alvin

    Button text

    @ivanix, Just updated the link, and a custom class such as the one XekeDeath sent is also perfect.
  9. Alvin

    Where is the API Documentation?

    Hello, and welcome aboard ! So here are the links you will need to start your Phaser journey : The main website : The API documentation : The live examples : The getting started tutorials : and Good luck
  10. Alvin

    Moving a camera-fixed sprite

    Hi, In order to move a sprite that is fixedToCamera, you need to use the cameraOffset property. You can then position the sprite wherever you want using sprite.cameraOffset.x and sprite.cameraOffset.y
  11. Alvin

    #LOWREZJAM - Offical Thread

    @Ernesto : If you're using Phaser, you can use this to keep your pixels crips : game.stage.smoothed = false;If you're just using canvas, it is also possible via : context.imageSmoothingEnabled = false;context.mozImageSmoothingEnabled = false;context.oImageSmoothingEnabled = false;context.webkitImageSmoothingEnabled = false;Good luck
  12. Alvin

    Its posible to implement isometric objects?

    You could create isometric shapes using Phaser graphics if you want, but as to incorporate isometric maps into the engine, this is a whole other problem, for example, everything like collision detection, input etc would need to be adapted to work in an isometric environment. But nothing prevents from playing with obelisk.js
  13. Alvin

    add animation from range of frames

    Hi, yes there is defintely a better way to do it, there it is : sprite.animations.add('key', game.math.numberArray(0,11),24,false);You can also have a look at this function : which is even more powerful. Good luck PS : and yes it should work with your spritsheet.
  14. Alvin

    Custom font works oddly with game.add.text

    You just need to make sure that your font is properly loaded before you create your text object, there are several hacks to do that, but first make sure you put your Css before your DOM and your Js.