TechSkylander1518 submitted a new resource:
Random ID from GameData - Guide to creating a small-scale randomizing mechanic
Read more about this resource...
Random ID from GameData - Guide to creating a small-scale randomizing mechanic
This is a guide on how to create a method that gets a random ID from game data. (items, Pokemon, etc.) This is most commonly used for events that give the player a random item out of a set, like the tree in the default maps that gives the player a random Apricorn.
PoolThe basic idea here is pretty simple -
- Create an empty array
- Add the ID of each entry in the data to the array
- Sample the array
Ruby:pool = []...
Read more about this resource...