Jump to content

Search the Community

Showing results for tags 'outofbounds'.

  • 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. I'm trying to check if a whole group is outside of the visible bounds, so i can process it for cleaning up memory. I've got my world bounds set to this: var w = window.innerWidth, h = window.innerHeight;game.world.setBounds(0, 0, w, h);I've tried a few things, but i guess what i'm looking for is something like "group.events.onOutOfBounds()" I realise this doesn't exist, but is there anything that would do the job? Is it possible to check if a group is out of bounds, or do i have to check everything in the group individually? Thanks
  2. I've got npc's that can go offscreen when player moves left/right but as they go out of bounds collision stops working on ground and they end up colliding with the world bounds, what would be the best way to handle them? do i save their positions on outOfBounds? or disable gravity for them or somehow keep ground collisions working out of camera?
×
×
  • Create New...