Random Spawn actors in scene overlapping

rommaromma Member Posts: 114
edited March 2012 in Working with GS (Mac)
Hey

I have several actors spawning in my scene, I have a problem where they overlap each other. How can I avoid this? I know there is a way using tables and giving predetermined spawn points but is there a way to do this without it?

Thanks!

Best Answer

  • mrglocklingmrglockling Posts: 258
    Accepted Answer
    Yes but its more complicated and may slow your game down.

    Tshirtbooth makes wonderful and helpful videos! This one should help you out.



    Just dont put anything random in it and it should be fine.

Answers

  • rommaromma Member Posts: 114
    Yes, I ended up using this same method, after I advanced more in my game, it pushed me more to this solution, right now Im actually wrapping it up. This solves 2 of my issues, overlaping aswell.

    Thanks again!
  • MotherHooseMotherHoose Member Posts: 2,456
    tables are best! … as the computer just reads the data there and applies when need

    you could add rule for when overlaps/collides with actors of the same name
    change the X positions … but rules and behaviors use resources

    tables are not that hard to do … you just type in the positions you want
    it is worthwhile playing with them to learn new ways to save yourself time and frustration
    watch Tshirtbooth's videos on tables gshelper.com
    and try making some in a new playProject

    image MH
Sign In or Register to comment.