Jump to content

Search the Community

Showing results for tags 'math matrix rotation'.

  • 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. How do you find an image center without arcade physics ? As an example I am using a matrix as exported by inkscape , but elements order looks different. -45 degrees rotation about (0,0) of a 10 by 10 px image square es ( can't figure out if correct) : var tank = this.add.image(-5, 5, 'testImg'); var ar = [0.70710678,0.70710678,0,-0.70710678,0.70710678,0];//svg inkscape matrix var mat = new Phaser.Matrix(); console.log(tank.getBounds(mat.fromArray(ar)));
×
×
  • Create New...