FreezingMoon / Gummy-Turbo-Tunnel

Game based on the BattleToads Turbo Tunnel 🏎
https://dreadknight.itch.io/Gummy-Turbo-Tunnel
GNU General Public License v3.0
4 stars 2 forks source link

autokill obstacles #12

Open DreadKnight opened 8 years ago

DreadKnight commented 8 years ago

Phaser 2.4.7 has some new toys, including this, which should simplify optimizations:

outOfCameraBoundsKill is a new boolean property that all Game Objects with the InWorld component has. If autoCull and this property are both true then the Object will be automatically killed if it leaves the camera bounds (thanks @jakewilson #2402)