Spawner Help

jehd1914jehd1914 Member Posts: 21
edited November -1 in Working with GS (Mac)
I need help with spawning new actors. I am using 320X480 and want actors to fall down from the top of the screen. What should the position be???

Comments

  • jstrahanjstrahan Member Posts: 498
    X 240, y 160
  • jehd1914jehd1914 Member Posts: 21
    thanks!
  • jehd1914jehd1914 Member Posts: 21
    It's coming out of the same place! I need it so it comes out from the top at random places!
  • liao_chi_fuliao_chi_fu Member Posts: 13
    try x random(100, 400) and y 320. Make sure position is relative to the scene
  • design219design219 Member Posts: 2,273
    You might need to make your Y a little higher depending on the size of you actor. The positioning will be based on the center of you actor, so if you actor is 40 pixels tall, you would want the spawning Y position to be 340 instead of 320.
Sign In or Register to comment.