Jump to content


  • Content Count

  • Joined

  • Last visited

About nduhu

  • Rank

Contact Methods

  • Twitter

Recent Profile Visitors

1257 profile views
  1. HI ALL,,,, I have the same problem did u fix it and how? THANKS..
  2. hi, i found the problem. if i remove the red code , i'm not get an error again. however i'm still don't know the reason why like that. now i must remove this code, but i need use a pixel perfect for only click in painted area of image . whether i do wrong in this code or i do wrong in my method? createObject: function(x,y, figure, color, status){ // console.log('figure :'+figure+' color : '+color); var comparisonObject; var assetFix= 'object'+color; // console.log(assetFix); comparisonObject = this.add.sprite(x, y, assetFix); comparisonObject.cro
  3. hmm i have some game in my server,however if this problem in a server,why just one game have this error
  4. nduhu

    volume slider

    hey all , i want to make volume audio control in my game, how to make volume slider like this ? i dont know how to make it. does anyone in here ever make it and help me? ty
  5. Hi All. do you know cause from error Uncaught TypeError: Cannot read property 'sprite' of undefined , i just kill and try to make sprite again.after i remove sprite, i want remake that sprite again in different place, but the error always show ,i don't know what the causes from, because that, i can't solve my problem
  6. hi, i have same problem. how you can fix it?
  7. Hi can i make fliping animation with pasher like this ? http://css3.bradshawenterprises.com/flip/
  8. can you help me again.. i have another problem, i make some sprites with array. and the problem is..when i move sprite by drag the sprite, i want sprite move to the beginning position,if sprite drop in incorrect positition, but i confuse to do that, because i dont know indentity from sprite i move, and i dont know too position sprite.x and sprite.y in the beginning because i random it,can you solved my problem,pleasee?
  9. it works, thankyou so much.....
  10. i confuse thinking about it, i want to able drag sprite and if i drop to the another sprite will call the function? can you help me? var game = new Phaser.Game(800, 600, Phaser.AUTO, 'phaser-example', { preload: preload, create: create }); function preload() { game.load.image('ilkke', 'assets/sprites/atari800xl.png'); game.load.image('lala', 'assets/sprites/atari800xl.png'); } var sprite; var sprite2; function create() { game.stage.backgroundColor = '#2d2d2d'; game.physics.startSystem(Phaser.Physics.ARCADE); game.physics.arcade.gravity.y = 100; sprite = game.add.sprite(100, 96, 'il
  11. How to identify button click from array of buttons?
  12. how i can make image bounce in center place? var game = new Phaser.Game(800, 600, Phaser.CANVAS, 'phaser-example', { preload: preload, create: create, update: update, render: render }); function preload() { game.load.image('flyer', 'assets/sprites/phaser-dude.png'); } var image; function create() { game.physics.startSystem(Phaser.Physics.ARCADE); image = game.add.sprite(0, 0, 'flyer'); game.physics.enable(image, Phaser.Physics.ARCADE); image.body.velocity.setTo(200,200); image.body.collideWorldBounds = true; image.body.bounce.set(1); } function update () { } function render
  13. i want to disable button after clicking to prevent double-click and enabled again after specific time ? how i can do it ?
  • Create New...