Jump to content

Search the Community

Showing results for tags 'tilesprites'.

  • 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. Im using Phaser 2.6.1 If I load the frame from a texture on a tileSprite it shows bigger than the graphic from the file. if I load the same frame on a regular sprite it shows the correct size. //this shows bigger than the real size from the texture file this.backLayer01 = this.add.tileSprite(0,0, this.game.width, this.game.height, "scene1", "nubes"); //this shows to be the same size as in the texture file this.backLayer02 = this.add.sprite(0,0, "scene1", "nubes"); On top is the sprite and bottom the tileSprite. I suppose they have to be the same size and have the same position. I'm not doing anything to them in other parts of the code. To load the texture I'm using this code on the preloader: this.load.atlasJSONHash("scene1", "assets/texturas/Escenario01_01.png", "assets/texturas/Escenario01_01.json"); Is this the normal behavior? How can I avoid it? Thanks!
×
×
  • Create New...