Jump to content


  • Content Count

  • Joined

  • Last visited

1 Follower

About 3ddy

  • Rank
    Advanced Member
  • Birthday 08/03/1992

Profile Information

  • Gender
  • Location
    Warsaw, Poland

Recent Profile Visitors

1901 profile views
  1. I don't remember correctly, but you have probably compiled something called "Developer App" or whatever it is called right now . Try normal "Compile" option.
  2. chat [*][*][*] @rich it would be awesome to have the chat rewritten, because it was randomly kicking ppl from time to time, also there were some troubles with users list in chat, but we miss that place, even with those bugs
  3. From Phaser docs: "Note that killing a Game Object is a way for you to quickly recycle it in an object pool, it doesn't destroy the object or free it up from memory." It shouldn't be deleted from group. You can easily debug it using some console.logs.
  4. I don't understand your problem exactly, but -1 is responsible for infinite loop, change it to 0 if you don't want "move non stop". If you don't want the tween to go back to starting position (yoyo effect), change last true to false; Check documentation for list of parameters : http://phaser.io/docs/2.4.4/Phaser.Tween.html#to
  5. As far as I remember you have setText function in this plugin.
  6. If you have object.events.onInputDown.add( someFunction, this ); Then you can just object.events.onInputDown.dispatch(); If you want, you can add parameters to dispatch
  7. You can make custom Phaser build -> https://phaser.io/tutorials/creating-custom-phaser-builds
  8. init -> preload -> create https://phaser.io/docs/2.6.2/Phaser.State.html#methods you can learn more here, I think there was some Phaser StateManager ebook or smth like that and there was some nice diagram showing what is called in order
  9. There is some protection on iPhones that allows to play sound only after some user input (touch event, button click etc.). Can't help you with some workaround, but there were plenty of similar topics here.
  10. Just use game.input.onDown and on callback check where was the 'touch', then move the player according to touch position
  11. Try game.input.onDown.add(this.changeStateFunction, this);
  12. Hello, I'm trying to call the keyboard on click (InputDown) event. Everything works fine in Android, but on iOS the keyboard doesn't show. I'm running the app through Cocoon Developer App using .zip file openKeyboard: function() { Cocoon.Dialog.showKeyboard({ type: Cocoon.Dialog.keyboardType.TEXT, }, { insertText: function(inserted) { console.log(inserted); }, deleteBackward: function() { console.log("deleteBackward"); }, done: function() {
  13. tl;dr when I move parent, child position is updated too late, how to manually force to update child position when I move parent? Hello, in my game I have a group of sprite objects (Ships) this.shipsGroup = game.add.group(); Each Ship before adding to this.shipsGroup have two other groups as children : var actualShip = game.add.group(); var surrounding = game.add.group(); for (var m = 0; m < 3; m++) { var temp = game.add.sprite(-halfSize - 50 + l*50, tempy, 'red'); temp.anchor.setTo(0,1); tempy+=50; if(m == 1 && l > 0 && l < ship.unitS
  14. Hey, maybe you should use https://phaser.io/docs/2.3.0/Phaser.Animation.html#stop with onComplete event?
  15. Why not add http://phaser.io/docs/2.2.2/Phaser.Events.html#onInputOver to character, instead those update loop you made? You are calling playCharacterDialogue every frame if pointer is over character
  • Create New...