do people set platform one by one when making a game like doodle jump?

guillefaceguilleface Member Posts: 1,014
edited November -1 in Working with GS (Mac)
i once download a template,when i played i could go really high, it seems to me that all the platforms were at different location, but when i saw the scene i only saw like 5 platforms,i thought when you make a game like this i have to put one by one the way i wanted all the way to the top, i ask this because iam planning making a airplane shooting game left to right, so do i have to place all the enemies airplanes in the scene, or is better to keep the outside the scene and spawn them?

Comments

  • DimensionGamesDimensionGames PRO Posts: 993
    No, this would be terrible for memory and take ages! What you need to do is randomise where and how often monsters appear etc. so random(1,100) when attribute=1 spawn or recycle monster. This is basically the same for the platforms so when they go off screen you randomise their x/y coordinates. Look at the code in some of the free templates to help you understand and yes recycling is better than spawning.

    Cheers.
  • simo103simo103 Member, PRO Posts: 1,331
    best practice is to move them back to the other side of the screen once they have passed through.
  • guillefaceguilleface Member Posts: 1,014
    ah ok guys thanks cuz i do was thinking making a scene like 3000 wide and place my actors in their position lol
Sign In or Register to comment.