Jump to content

m2jalali

Members
  • Posts

    10
  • Joined

  • Last visited

m2jalali's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. i used this code moveIndex = game.input.addMoveCallback(this.moveTile, this); console.log("moveIndex :"+moveIndex); in console show moveIndex :undefined
  2. hi i used this code game.input.deleteMoveCallback(moveIndex); it is working phaser 2.3.0 but it is not working in phaser 2.4.4 how can i solved my problem?
  3. hi i am trying to design a game like Close Up game(https://itunes.apple.com/us/app/close-up-pics-guess-whats/id632311326?mt=8) how can i zoom image in the fixed box? when i set sacle property ,it change width and Height image. i want to fix width and height when i change scale property. and show like below image. i see this link http://phaser.io/examples/v2/display/round-pixels ,that code change size of image box. i need to scale my image in the fixed box . please guide me thanks.
  4. Hi i am using phaser 2.0.7, and my boot.js file include bellow code this.input.maxPointers = 1; this.stage.disableVisibilityChange = false; this.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL; this.scale.minWidth = 270; this.scale.minHeight = 480; this.scale.pageAlignHorizontally = true; this.scale.pageAlignVertically = true; this.stage.forcePortrait = true; this.scale.setScreenSize(true); this.scale.refresh(); my problem when occur : mobile device rotate and start button . my stage render indirect . a part of game out of screen load. please see this pictures incorrect correct How can i resolve it?
  5. m2jalali

    spine Sloppy

    Hi.there are two problems when i trying to change data(my.png & my.json & myspindata.json) in "example 12 - Spine" it show me Sloppy. my example uploaded in this post. another problem this is when add event listener click for my Spine . when click on spine not fire and when click out of spine fire!!! please guide me sample.zip
  6. Stages as levels of the game I've read several times this tutorial http://ezelia.com/20.../pixi-tutorial/ but when update library ezelia tutorial not working (pixi.dev.js 1.0 ) -> (1.6) " play button " not working when back from game scene !! Ezelia "please do not use that tutorial with new pixi version. the tutorial is outdated and do not apply to new version." is there a example with muti level with pixi 1.6?
  7. m2jalali

    Manage stages

    hi i can not know manage my stages. i create two stage and add sprite image for each stage. stage1 -> button1 and stage2 -> button 2 (when stage1 invisible and showing stage2 .events in stage1 fire!!!) i want to click button1 go stage 2 and click button2 go stage 1 how do i do? please guide me
  8. hi alex when i use phaser 2.0.7 show this error Phaser v2.0.7 | Pixi.js v1.6.1 | WebGL | WebAudio | http://phaser.iophaser.min.js (line 8)TypeError: this.texture.frame is undefinedhow can i resolve it?
  9. m2jalali

    add.group()

    hello i am trying to build concentration Game. but I can not add listener event(mouseDown and touchDown) to tilesprite my custom code : this.load.atlasJSONArray('images','assets/images.png','assets/images.json'); this.bunnygroup = this.add.group(); this.bunnygroup.enableBody = true; var tile = this.bunnygroup.create(0,0,64,64,, 'images', 7); How can i MouseDown listener to tile?? another question why i used images.png and images.json not working ? i attach those files ... when i use example files that is ok but when replace my files not workong images.json.txt images.png.txt
×
×
  • Create New...