Jump to content

Search the Community

Showing results for tags 'accelerateToXY'.

  • 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 Everyone, I am currently working on my first game using Phaser but I am having an issue with using accelerateToXY. I am developing a space invaders type game and for the bullet code I am following parts of the tanks example to try and fire a bullet. Here is the line it seems to be stuck on: bullet.rotation = game.physics.arcade.accelerateToXY('playerBullet', this.player.x, this.player.y + 10, 40, 100, 100);However when trying to fire the bullet I get the following error message in the console from phaser.min.js: "Uncaught TypeError: Cannot read property 'acceleration' of undefined" If anyone could offer any assistance with this issue it would be greatly appreciated Thanks, Jaymeh Edit: I am currently running phaser version 2.0.6
×
×
  • Create New...