Jump to content

Search the Community

Showing results for tags 'weapon fireangle'.

  • 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
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • 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. excuse me,i have wrote the code below var weapon = game.add.weapon(30, 'bullet10'); weapon.bulletKillType = Phaser.Weapon.KILL_DISTANCE; weapon.bulletKillDistance = 1000; //weapon.bulletSpeed = 500; // weapon.fireRate = 600; // weapon.bulletGravity.y = -300; weapon.fireAngle = 180; weapon.bulletAngleOffset = 0; weapon.trackSprite(sprite, 5, 5, false); weapon.bullets.dam = 30000; weapon.bulletAngleVariance = 0; console.log(weapon.fireAngle); but hte fireAngle dose not work,the bullet never change its angel in the page,why? bug? thank you
×
×
  • Create New...