How to make gacha/banner system

Hello devforum. I’ve been wanting to make a gacha/summoning/banner system for a long time and could you explain it?

This is in Anime Last Stand, Toilet Tower

Thank you for every answer

3 Likes

It’s been a while, but no one answered so I thought I’d leave my two cents.

What I did for my small Cookie Run-inspired game, “Cookie Run: Pup-Cakery!” was take an Object-Oriented approach to the prize characters I was trying to randomize, which in this case are called Cake Hounds.

Here were my steps:

  • Use module scripts to create a special Hound type, see this thread about Object-Oriented Programming with Lua.
  • Create a function within Hound module that returns a randomized Hound, see math.random.
  • Use a RemoteEvent to detect when a player clicks the “Roll Gacha” gui
  • Generate a randomized Hound when the RemoteEvent is fired and add it to the player inventory

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.