Jump to content

Search the Community

Showing results for tags 'nested groups'.

  • 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 2 results

  1. Hi all, I cannot add a group in an another group. for example; var mainGroup=this.add.group(); var subGroup=this.add.group(); var bg=this.add.sprite(200,300,"background"); var bonusImg=this.add.sprite(200,300,"bonusImage"); subGroup.add(bonusImg); subGroup.add(bg); mainGroup.add(subGroup); This was working on Phaser 2 but not working on Phaser 3. Is there any way to solve it?
  2. Hello, I have tried Phaser for a couple of weeks and I am trying to create something like a zoom in zoom out functionality on a 2D platformer. I am having trouble with setting the view of the game. I am using Phaser 1.1.3 First Approach: this.camera.screenView.width *= 5;I tried giving a different value for the camera's screenview. Screenview values changed but there are no changes with the camera's view. Second Approach: this.game.world.scale.x = 10I tried giving a different value for the world's scale, but the result is the same with the first approach. Nothing happend Third Approach: gameGroup.setAll('scale.x', 5);platforms.setAll('scale.x', 5);gameGroup.add(platforms);I tried creating a nested group but I was receiving an undefined errors. TypeError: e is undefined @ filephaser.min.js:2 Any ideas, suggestions or samples on how I should do this are welcomed. Thank you
×
×
  • Create New...