Search the Community

Showing results for tags 'padding'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • HTML5 Game Coding
    • News
    • Game Showcase
    • Coding and Game Design
  • Frameworks
    • Phaser
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Found 4 results

  1. Hi guys, I'm having an issue with a tileSprite I'm using to cover my game screen. It looks like the repeating texture has spacing/margin added on all sides which creates this grid like effect in the screenshot below. I have no idea how this has happened because yesterday when I was working on the game (and all times previously) the tileSprite formed a solid texture the size of the game world. I've tried this with 2 separate textures, in different states/browsers and I'm starting to think I'm going crazy. Any help advice would be greatly appreciated. Thanks!
  2. DisplacementFilter padding

    Hi, I'm trying to utialize filters to create visual-effects in my game. But when I apply the filters to my stage, It offsets the entire picture, and streatches the border pixels. The effect plays as expected. It looks like this (This is with displacementFilter.scale 200): Any ideas why this is happending?
  3. Text horizontal padding, bug?

    I've spotted an issue with text being cut off I can't resolve with padding.x Here's some screenshots of the text. First with 0 padding And with 40 padding Is there a way to add padding to the start of the text ? Or split the horizontal padding to both sides of the sprite? FWIW - I'm using Phaser 2.4.3
  4. Sprite collision area

    Greetings. Is there a way to define a sprite collision area, such as a rectangle or a polygon? For example a sprite's image is 64x64 pixels, but that contains some padding and/or the actual image is of a complicated shape. Thanks for any help!