Jump to content

Search the Community

Showing results for tags 'draging the sprite.'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. HI can some one suggest me how can i drag the sprite image which I am creating on click of HUD object. i am able to drag the sprites which i have created from the tiled map within object layer by registering them like me.pool.register("mainPlayer", game.playerdrag); But i am not able to drag the sprite even if i am registering in pool. have a look on my code onClick: function (event) { console.log("clicked!"); // me.collision.check(); camera = new me.Sprite(500, 500, { image: "building_64_64-02", framewidth: 134, frameheight: 134, }); me.pool.register("camera", game.playerdrag); me.game.world.addChild(camera, 10, game.playerdrag); .... .... .... }
×
×
  • Create New...