• Content Count

  • Joined

  • Last visited

About aurelien974

  • Rank

Contact Methods

  • Website URL
  • Twitter

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

960 profile views
  1. aurelien974

    Stretching the middle of a sprite

  2. aurelien974

    Stretching the middle of a sprite

    Hi I would like to know if there is a way to stretch easily only the middle of a sprite with Phaser, or will it be implemented in the future ? If you know Unity, it's like the GUITexture border settings which specify how many pixels on each edge of a sprite will be unstretched. Thanks and have a nice day !
  3. aurelien974

    Uncaught TypeError: Cannot set property '6' of undefined

    Ok, my bad... : I forgot to change this when I did a copy/paste : BEFORE : (while creating a group class) NP.Obstacle.prototype = Object.create(Phaser.Sprite.prototype);AFTER : NP.Obstacle.prototype = Object.create(Phaser.Group.prototype);
  4. aurelien974

    Uncaught TypeError: Cannot set property '6' of undefined

    I have the same problem, did you solve it ?
  5. aurelien974

    Lack of turn-based multiplayer games

    I'm glad to find you here too !
  6. aurelien974

    Question about scale mode SHOW_ALL in 2.2

    Hi! I noticed the same problem : it comes from the game parent, try without your div, just ' '.
  7. aurelien974

    Error when trying to apply filter

    Hi there ! I had the same problem with the same error when I wanted to apply a pixelating filter to a sprite. I found a solution, here is what I do : I'm using a filter from Pixi.js. I load it : this.load.script("pixelate", "PixelatePIXI.js");I apply it on my sprite like that : MyGame.pixelate = new PIXI.PixelateFilter(); // name of the filter function in PixelatePIXI.jsMyGame.mySpriteToPixelate.filters = [MyGame.pixelate];(Note that I didn't use the "pixelate" string name I chose when loading the script, so it may not be the right way to do it, but it works fine...) Hope this helps
  8. Hi everybody ! Here is the 2nd game I made with Phaser : Candy Mirror Ninja ! The originality is that you don't see things as they are, you only see the images of them on mirrors which are the walls of the levels. You will need some time to get used to it, it's a bit special to master. Controls : Use the arrows to move the Ninja and the mouse to aim and shoot when you get the Laser. Information : The game is based on the themes of the Global Game Jam 2014 ("We don't see things as they are, we see them as we are") and the Candy Jam.It's why there is a King which protects the Candy from you. He shoots avocados (because the french for avocado is also the name for lawyer, little joke ^^) in each direction, faster if you get closer to the Candy. These avocados can kill you.Finally, you can get a Laser to shoot at the King or mirrors to make reflections. Notes : The game uses masks for the mirror images, so it requires WebGL.The game doesn't work on Internet Explorer.Firefox doesn't render well the texts.You need to activate WebGL in Safari.Chrome is the best browser for this game. >> The link of the game on : << >> The source on GitHub : << Hope you have fun even if it's a little difficult and a bit ugly ^^ Let me know what you think of it !
  9. aurelien974

    Phaser.Text vs Phaser.BitmapText

    I see, thank you What is your problem exactly ? You can't find a font with Cyrillic letters ? (For the game I'm working on, I used a JSON with the different languages I translated; and I downloaded the font I chose on the internet with the Webfont Generator of It works well.)
  10. aurelien974

    Phaser.Text vs Phaser.BitmapText

    This topic's name perfectly fits my question : Can someone explain the pros and cons of using a Bitmap Font ? and a normal font ? Especially the Pros of a Bitmap Font ? Except for faster rendering when the text always change (as rich said in another topic), or easy loading with Phaser, i don't see any others...
  11. aurelien974

    Camera - rendered area / Move TilemapLayer

    Hi! I'm also very interested in the solution to move the tilemap in order to make a HUD in the canvas. Currently my hud may be on the right or at the bottom because the tilemap is smaller than the canvas and is placed by default at x =0 and y = 0. I'll try cropping for now but let me know if you find a better solution
  12. Hello everybody !! I know it's been a long time since GitHub Game Off II finished (November 2013) but i haven't shown you my game yet. I just put it on and that's the occasion to present it ! The rules are simple : follow the rules !... ...To be clear : when in game, follow the rules displayed on the left board and make the fewest mistakes. The originality and difficulty are that these rules change !! ("Change" was the theme of the GitHub game jam) The game is especially fun and interesting while playing the 2-player versus mode : the most responsive one to change will win !The single-player mode is here for training or personal challenge. It was the first game i made using libraries. At this time i didn't know Phaser and wanted to try CreateJS. (For information, i have changed for Phaser with my second game Save Flappy Birds and i love it ) >> The link of the game on : <<(also on my website, in french for the moment) >> And here is the source on GitHub : << Hope you have fun (try it with someone else!) and let me know your feedback
  13. aurelien974

    [Phaser] Save Flappy Birds

    Oh, and i forgot : here is the link to rate my game for the Flappy Jam : !!
  14. aurelien974

    Game list of phaser games

    Here is the source for Save Flappy Birds : Have a nice day !
  15. aurelien974

    Mask staying when state changing

    Thank you