Using tables to build world, but its slow!
I'm using code based on TSB sample "Collisions with tables". I stripped out what i don't need. The table is 32x19 (im using 32px tiles, on a kindle screen) So my timer which fires every 0 seconds, gets the cell value, then a rule determines what to spawn so if cell value=1 then spawn this.actor. It works, but takes like 10 seconds. I suppose once one level is passed, during the "Great job you passed" image pops up i can immediately start building the next level before the user taps to continue (all levels will be on single scene, spawn/destroy the tiles) . Is there any quicker way to get the tiles spawned? Maybe i could try using 64px tiles.
Comments