Need some help with spawning actors

777ideas.com777ideas.com Member, PRO Posts: 895
edited November -1 in Working with GS (Mac)
Hey guys I sorta need help like spawning actors coming down-word the screen I dont know how to position it. The game I'm creating is kinda like doodle jump where they come down while jumping. Thanks

Comments

  • scitunesscitunes Member, Sous Chef Posts: 4,047
    I have a demo on my wall
  • 777ideas.com777ideas.com Member, PRO Posts: 895
    I tried it before, I just need help like spawning my platforms randomly.
  • 777ideas.com777ideas.com Member, PRO Posts: 895
    anyone
  • UtopianGamesUtopianGames Member Posts: 5,692
    One way could be to make an actor and put it in the middle at the top of screen that spawns a random (-160,160) that will cover the 320 area.

    You could use a timer so every 3 seconds spawn actor.

    It might be best instead of using a set number to make an integer then you can spawn more or less depending on what you want.

    So if score >100 integer spawnrate=3, if score>200 spawnrate=4 etc etc.

    Hope this helps.

    Darren.
  • 777ideas.com777ideas.com Member, PRO Posts: 895
    I'm developing the game on the iPad.
  • 777ideas.com777ideas.com Member, PRO Posts: 895
    It tried utopiangames theory and It does not work.
  • 777ideas.com777ideas.com Member, PRO Posts: 895
    Any other theory's
  • 777ideas.com777ideas.com Member, PRO Posts: 895
    edit:Just tried it again to tweak it but still not working
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    I worked on this for a long time and the demo on my wall was the closest I could come up with. The only other choice would be to have a very long scene, but that would not be random. To make it sort of random you could have some of the platforms change their horizontal position to a random number.
Sign In or Register to comment.