GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

What is "Better Collisions" Attribute and "Random Seed" attributes?

four8gamesfour8games Posts: 14Member, PRO

Feel like this is a dumb question to be posting here but here goes. I have been a Pro user of Game Salad for years and have just recently published my first game on IOS but I do not know what the "Better Collisions" or "Random Seed" attributes are or how there used in a game build? Any care to enlighten? Thanks

Comments

  • tatiangtatiang Posts: 11,796Member, Sous Chef, PRO, Senior Sous-Chef
    edited July 28

    You can find more information by Googling gamesalad [term]. When I used the two quoted phrases above that way, the first result for each explained them.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • ArmellineArmelline Posts: 4,756Member, PRO

    In crude terms, better collisions allows the actor to use more CPU to have more precise collisions. It's one of those things that you'll want to turn on for important actors but if you turn it on for everything you'll lose framerate.

    Computers cannot really make truly random numbers. When a random number is generated, it's "seeded" with a number that is semi-random, like the current time. As the current time changes all the time, you'll get different patterns of random numbers each time you run your game. Setting a "random seed" allows you to give a consistent number for the computer to use to generate random numbers with. This allows you to generate the same sequence of random numbers each time the game is played. Realistically, this is only useful for certain testing, and it's unlikely you'll want to use it in your game (though not impossible).

Sign In or Register to comment.