Jump to content

Search the Community

Showing results for tags 'nine-patch'.

  • 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. I finally finished writing the plugin implements the nine-patch image. A feature of this plugin is the relevant standards adopted among Android-developers. About this standard, you can read here. Plugin on GitHub: https://github.com/VitaZheltyakov/phaser-nine-patch-plugin How plugin works First, you create a special image according to the standard. Then, add the plugin: <script src="js/phaser-nine-patch.js" type="text/javascript"></script> Then you can create an nine-patch image as follows: game.add.ninePatch(x, y, width, height, key, keyInCache); or new Phaser.NinePatchImage(x, y, width, height, key, keyInCache); This object behaves like an image, but may contain information about the padding box (read standart) I also prepared 4 examples.
×
×
  • Create New...