Custom Slots framework

Demo

Documentation

Asset Store Link

Custom Slots(CS) Framework is a lightweight, flexible modular slots framework that can be integrated to your project as a mini-game or as a standalone full-featured slot machine game.

While offering full customizability, CS tries to maintain its core simple and adaptable to any scene a spinning reel could participate. It is also built purely on UGUI to keep up with Unity updates and to make integration less painful.

Feature

  • Any number of reels, rows, symbols, lines, effects etc supported.

  • Automatically adjusts layout according to your setup.

  • Procedural symbol loadout generation and simulation.

  • Pop multiple instances of CS with smooth transition any moment should your game need.

  • Effects can be easily tweaked via inspector, or disabled to use your own.

  • Wilds, scatters, free spins, betting and other slots functions supported.

  • Change reel behaviours and swap symbols upon entering free spin, bonus etc.

  • High Performance, optimized C# codes, minimum Updates, no GC Allocation during updates.

  • Bonus pay table generator included.

  • Callbacks and runtime capability, extendability.

  • A full-featured complete slot game included as Demo.

  • Included free-for-commercial-use arts by Nz.

  • Detailed documentation.

CS is part of my other game-under-development and you can expect updates coming as the development progresses.

We are also available on the official CS thread on the Unity forum.

Please do not hesitate to ask a question or report a bug you found.

( CS uses Demigiant’s powerful Tween library DOTween. It is not necessarily to learn DOTween but desirable to fully understand and customize CS. )

You can manually put symbols to any position on your reels in CS though that may require lots of drag&drops.When a reel reaches the bottom line, it will repeat from the start in the same order.

Sorry for the late reply, I will check the forum more frequently.
Setting up reel is pretty simple, here’s the section of documentation meanwhile I make a short video( should be uploaded later today)

Manually Placing Symbols

To manually setup symbol loadout for your slot, first select a reel in your CS’s hierarchy to bring up inspector. Then drag a symbol from SymbolManager and drop it to the Symbols list.

It is not necessary to do this but to update sprite images in a scene view, click “Refresh Reel” button on the inspector after editing symbol loadout.

And here’s the tutorial vid!

( note that portion of the hierarchy structure is slightly different from the current version )

Perfect! Thank you very much.

Hi,
I like your slot machine demo, really good job!
Does it work well for android/ios game?
Have you an .Apk of this demo for test?

Have you any idea of a list of future features to be implement?
Possibility to have several different slot machines to unlock for example (with level progression)?

Smooth, dynamic and good slot machine spirit, I like it!

Hello there. Unfortunately, I haven’t a mobile development environment on my PC to test the performance atm. Most of drawcalls on the demo come from ugui text and it should run smoothly on older mobiles if optimized. I might be able to ask my friend to test it later today.

As for the future plans, we are kind of running out of ideas( as most of the features we wanted to have are already implemented) and eagerly waiting for user’s request/feedback. A generic lobby system might be a good feature to start with.

[Edit] Uploaded apk file made from Demo Note that this is not optimized for mobile. ( About 27 drawcalls when playing and 50 when intro animation is played due to color tweening.)

Thank you noanoa,

Even if it’s not optimized for mobile, good .apk demo on my Samsung Galaxy note 2.
Good Job! I really like your work.
One of the most interesting Asset for a Slot Machine here on Unity Asset Store. I have to think about it.

Thank you for your reactivity and feedback.

1 Like

Upon updating to Unity5.4, it seems Unity shows some error message related to editor windows but CS works fine after. Will try to fix the error message nonetheless if we can. Version 1.3 will have some interesting features like passive result display(no longer stops the gameplay), 243 ways style line generation and methods to land certain symbol at where you want on reels.

The required version of Unity will still remain at 5.3 for version 1.3. We appreciate any feedback or bug reports, thanks. Also, feel free to request text or video tutorials.

Hi noanoa,
I have a question. The reels and rows are Grid Layout Group. How to scale it with different screen resolutions? The UI canvas scales properly but the rows and reels doesn’t. Help.

Sorry for the late reply. Can you tell me your canvas setup?(UI Scale Mode, Screen Match Mode, etc).
It seems I never get to receive notification Email for new comments on this forum.

Please feel free to PM or Email me directly if not getting my response.

WOW!! I am absolutely stunned, amazed, and impressed with your asset!! I am sure that everyone agrees that yours is by far one of the best in the world as far as quality, the amount of work that you have put into it, and with your customer service!!

However, I do have a couple of inquiries.

First, I am trying to figure out a way(easiest possible) to make it so that when a player is done playing on a mobile device, and they close the program, their progress will be saved so that on the next time they play, they will start with the same amount of coins that they left the game with. This would also be handy to save the level that they have reached.

Second, I would love to find the easiest way to make it so that when they player reaches a new level, they can be rewarded with a certain amount of coins. I think this is an amazing way to help retention and to keep the players…playing!

I am pretty weak when it comes down to, from scratch coding, however I am pretty good at following instructions. If you have directions and/or any pictures or a video…That would be amazing!! I would be forever grateful!

Thanks for the compliment :slight_smile:

Save/Load methods using PlayerPrefs have been already added to the coming version of CS as part of Elos Demo. I will PM you shortly with the code and instruction. As for the event on leveling up, I’ve also added a simple example to start with.

On the second thought, I should probably send you the script(Elos.cs) rather than copy&pasting all the lines. If it’s okay with you, please drop me an Email at rfish(at mark here)mbg.nifty.com.

Updated the demo link since web service is no longer available at dropbox. It might take a few days for the link on the asset page to be updated.

Submitted version 1.3 to asset store and waiting for approval.

version 1.3

  • Added an option to display win results as passive playback. The result playback does not halt the gameplay and can be canceled any time. (Effects → Line Hit Effect → Displays Playback option on CustomSlot inspector).

  • Added a button to generate “243 ways” lines(Although not limited to regular 5x3 slots(243 lines)) on LineManager inspector.

  • Added an option for alternative payline check for “243 ways” style slot. When enabled, there will be only 1 win for each hit chain. (repeated/same chains are ignored).

  • Added a few helper functions to easily access/modify/swap symbols on a reel at runtime.

  • Added SetManipulation() method which enables you to make reels stop at certain symbol. Please refer to the documentation for more information.

  • (Elos) Added "Level Up!"event when leveling up.

  • (Elos) Added an option to control BGM/SFX volume using AudioMixer.

  • (Elos) Added an example for saving/loading gameInfo to playerPrefs. Also, added an button to delete save data on Elos inspector.

  • “Back” button now works properly on Android.

  • Updated documentation.

  • Updated DOTween.

Note: We’re aware that the current documentation doesn’t cover all the new features added.
Next update will focus on fulfilling missing documentation and adding comments to runtime methods as well as fixing/improving the existing features.
Meanwhile, please feel free to ask us questions or request examples/tutorials.

Found a bug in the new version where CS doesn’t take account of “Spin Stop Delay” when using reel manipulation which was causing reels to suddenly stop without delay. (Thanks to whom reported it to us).

The fix should be submitted to asset store for approval within a few days if no other bugs were found. It is not necessary to update your CS if you don’t use the reel manipulation feature.

Hi,
I just have a couple quick questions before purchasing your asset. First, I noticed there is a single vertical reel option in the demo. I was hoping to use something like that for my game as a bonus slot. Is there a way to make it stop automatically after one button press? And second, do you intend to implement any Playmaker integration in the future?
Thanks,
Milan

Hi,

I am considering your asset for my project. It seems to be the only one on the asset store which lets me manually design the reel strips. I have 2 requirement which are probably not possible but would like to ask:

  1. apart from setting the symbols manually the way you do it would it be possible to import them from an external file?
  2. is there any way to use multiple reel loadouts in the same game and switch between them in runtime?

1.Yes, CS has a wide variety of options on how reels start/stop spinning. If they are not enough, you can always email me and I’ll send you some custom cods.

2.Unfortunately no. I am not familiar with Playmaker and I’m afraid I don’t have time to learn it currently.

  1. No, there’s no built-in importing feature. Although, if it’s something simple like importing from excel file, I might be able to provide some codes for it.

  2. Yes, symbols can be replaced or reel loadouts can be wholly replaced in runtime.