Spawn actor in iPad?

EminemEminem Member Posts: 667
edited November -1 in Working with GS (Mac)
Hello i am making a portrait iPad app and i want to spawn an actor but i want them to be spawned at the very top of the ipad screen has anyone done this?

Thanks in advance

Comments

  • WeswogWeswog Member Posts: 1,171
    Sure here is a file to download for that
    http://gamesalad.com/game/play/82336

    Cheers, Weswog
  • EminemEminem Member Posts: 667
    thanks weswog but do you know how i can randomly do this? like make them fall randomly on the top of the ipad?
  • chosenonestudioschosenonestudios Member Posts: 1,714
    Eminem said:
    thanks weswog but do you know how i can randomly do this? like make them fall randomly on the top of the ipad?

    use the random function
  • EminemEminem Member Posts: 667
    I would but iv never done it without the ipad this is the first iPad app I'm making and not sure how to spread the spawning across the top of the screen
  • quantumsheepquantumsheep Member Posts: 8,188
    I believe the ipad's width, in portrait mode, is about 768 pixels

    So you'd spawn at rnd (10,760)

    Hope that helps,

    QS :D
Sign In or Register to comment.