Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

[RELEASED] Slots Perfect Kit (new v1.5 out now !!!)

Discussion in 'Assets and Asset Store' started by chemael, Aug 30, 2015.

  1. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195


    v1.5 is now available !!!

    About

    Slots Perfect Kit is a full package to create Slots games easily.
    It is compatible with mobile as well as standalone and webplayer.
    - All scripts are written with c#
    - uGui only (doesn’t require other asset)
    - Unity5 Ready

    Features
    - Change Reel count(3~10) and row count(3~7) in custom inspector dynamically.
    - Add Symbols with frequency per reel without limitation.
    - Add Pay line without limitation.
    - Show Pay lines player won.
    - Freespin by Scatter.
    - Play automatically.
    - Display freespin result popup at the end of freespin.
    - Display freespin left count info.
    - Show 5inrow & bigwin & freespin popup
    - Full column Wild Symbol
    - 3 types of RNG (Unity,DotNet, Mersenne Twister)
    - Return rate simulation on inspector
    - Intro, Lobby, Game Scene

    - Auto Save & Load Player's Gold & Option Settings
    - Auto spin (keep spin automatically while user have enough credit.)
    - Set event function at every Reel states and Popup states.
    - PayTable info popup create automatically.
    - Indicate(Prediction) effects when probability of bonus or scatter.
    (if there are more than 2 symbols of bonus or scatter, reel spins more time then normal.)
    - 3 types of RNG (Unity, DotNet, and MersenneTwister)
    - Double minigame included


    Game Video


    Tutorial Video


    Document

    AssetStore Link

    Any questions or suggestions are welcome.
     
    Last edited: Mar 4, 2016
  2. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    Slot Perfect Kit is now available at Asset Store !!!
     
  3. outdoorsman

    outdoorsman

    Joined:
    May 16, 2015
    Posts:
    32
    Problem with PSK when executing spin. The slot freezes for a second and then spins normally. Also would you consider a lobby scene. The only thing I can do is import one from another slot. I'm not to good at reading or writing code. Thank you.
     
  4. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    to outdoorsman
    Hi~ Thank you for purchasing my asset.

    1. About the Freeze
    - Could you tell me which platform do you run this asset?
    Because i tested my asset on pc and android but i can't see that freezes yet.
    - And did you use ObjectPool?
    For performance improvement, SPK add symbol prefabs to Objectpool.
    This screenshot may help you.


    2. About the Lobby
    I will try to add lobby by next update.
    But, the date of next update is not fixed yet.
     
  5. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    Hi Everybody!
    Limited Time 40% Sale. Merry Christmas & Happy New Year !!!
    AssetSore Link
     
  6. shb

    shb

    Joined:
    Oct 7, 2012
    Posts:
    23
    I like it better if there's a function for estimating returning rate for the current paying line setup.
     
  7. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    to @shb
    I will think about it
     
  8. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    Bug report.

    1. Payline is not shown in unity v5.2x.
    Soon i will find solution about this and report to this forum.

    2. When Scatter symbol is more then 3 in a game, the Freespin will be started.
    But currently, freespin is not working because The Scatter Symbol's type setting was wrong.
    Please change Symbol_Scatter's Type to Scatter (Check red line in the screenshot below)
     
  9. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    Update version is in review now.

    Hi, I uploaded v1.1 to Asset Store Review team.
    - Improved Reel spin speed (more smooth spin)
    - Pay line bug fixed (not shown above unity 5.x)
    - Scatter symbol setting fixed.
     
  10. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    'Slots Perfect Kit' v1.1 was released now.
     
  11. outdoorsman

    outdoorsman

    Joined:
    May 16, 2015
    Posts:
    32
    Problem with SPK. When it is in the editor everything falls in to place and background and slot layer are lined up. Line bets are20,40,60,80,100 and so forth. But when you build the slot, line bets go to 20,40,100 and the background and slot layer is out of line. its like all the settings are not going into the build. I have used Unity 4.6.3, 5.2.3, and5.3.2 and still have the same problem.
    Also would you tell me how to get it to save progress? Thank you
     
  12. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    to @outdoorsman
    Hi, i have tested 'SPK' on android (nexus 4, build by unity 4.6.0f3) and bet works the same at the editor.
    Slot & line position also works normally.
    Here is screen shot. could you mail me the screenshot of yours?
    https://dl.dropboxusercontent.com/u/139734414/Slots/IMG_0691.jpg
    https://dl.dropboxusercontent.com/u/139734414/Slots/IMG_0694.jpg

    If you want to save & load credits, add codes below to SceneSlotGame.cs

    Code (csharp):
    1.  
    2.     void OnDestroy() {
    3.         Save ();
    4.     }
    5.  
    6.     void Save() {
    7.         PlayerPrefs.SetFloat("Credit", Slot.Gold);
    8.     }
    9.  
    10.     void Load() {
    11.         if(PlayerPrefs.HasKey("Credit")) {
    12.             Slot.Gold     = PlayerPrefs.GetFloat("Credit");
    13.         }
    14.         else {
    15.             Save();
    16.         }
    17.     }
    18.  
    and add Load(); to Start() function of SceneSlotGame.cs
    Code (csharp):
    1.  
    2.   void Start () {
    3.  
    4.       Load();
    5.  
    6.       //set user gold
    7.       Gold.ChangeTo(Slot.Gold);
    8.       ....
    9.  
    10.  
     
    Last edited: Feb 19, 2016
  13. outdoorsman

    outdoorsman

    Joined:
    May 16, 2015
    Posts:
    32
    I tried to take screenshots. here they are
     

    Attached Files:

  14. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    to @outdoorsman

    Change Background's RectTransform like this.
     
  15. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    BugFix.
    - Change TotalBet to RealBet in SlotGame.cs line 559.
    In current version, pay line win calcuration is wrong.
    This fix will be applied by next update.
     
  16. outdoorsman

    outdoorsman

    Joined:
    May 16, 2015
    Posts:
    32
    Is that what's causing the popup for credits won in free spin to be incorrect?
    Thank you very much for telling me I had the wrong setting in the slot background. Now everything looks great.
    I will try to add the code to save the score but I know nothing about coding. That is if I quit playing it and work on it. It's very addictive. What a great slot engine. Thank you.
     
  17. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    to @outdoorsman
    Replace from start of Awake() to end of Start () like this

    Before
    Code (csharp):
    1.  
    2.     void Awake () {
    3.        instance=this;
    4.  
    5.        Gold = new BENumber(BENumber.IncType.VALUE, "#,##0.0", 0, 10000000000, 0);      
    6.        Gold.AddUIText(textGold);
    7.        Win = new BENumber(BENumber.IncType.VALUE, "#,##0.0", 0, 10000000000, 0);      
    8.        Win.AddUIText(textTotalWin);
    9.  
    10.      }
    11.  
    12.      void Start () {
    13.        Gold.ChangeTo(Slot.Gold);
    14.        Win.ChangeTo(0);
    15.  
    16.        UpdateUI ();
    17.        btnDouble.gameObject.SetActive (false);
    18.        textInfo.text = "";
    19.      }
    20.  
    21.  
    After
    Code (csharp):
    1.  
    2.     void OnDestroy() {
    3.       Save ();
    4.     }
    5.  
    6.     void Save() {
    7.       PlayerPrefs.SetFloat("Credit", Slot.Gold);
    8.     }
    9.  
    10.     void Load() {
    11.       if(PlayerPrefs.HasKey("Credit")) {
    12.             Slot.Gold = PlayerPrefs.GetFloat("Credit");
    13.       }
    14.       else {
    15.             Save();
    16.       }
    17.      }
    18.  
    19.     void Awake () {
    20.       instance=this;
    21.  
    22.       //set range of numbers and type
    23.       Gold = new BENumber(BENumber.IncType.VALUE, "#,##0.0", 0, 10000000000, 0);
    24.       Gold.AddUIText(textGold);
    25.       Win = new BENumber(BENumber.IncType.VALUE, "#,##0.0", 0, 10000000000, 0);
    26.       Win.AddUIText(textTotalWin);
    27.     }
    28.  
    29.     void Start () {
    30.       Load();
    31.  
    32.       //set user gold
    33.       Gold.ChangeTo(Slot.Gold);
    34.       //set win value to zero
    35.       Win.ChangeTo(0);
    36.  
    37.       UpdateUI ();
    38.       //double button show only user win
    39.       btnDouble.gameObject.SetActive (false);
    40.       textInfo.text = "";
    41.     }
    42.  
     
    Last edited: Feb 25, 2016
  18. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    About Next Update
    Next update will be include features below.
    - Full column WILD symbol
    - Simple Math(paying rate) simulation
    - Lobby Scene
    - Save & Load User credit & settings(music, sfx on/off)
    The date of next release is scheduled to middle of the next month.

    I will raise the price of next version to over $70.
    But I will not charge for the update (who have purchaed already)
     
  19. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    SPK v1.5 play video
    - New version is in waiting for review now
     
    Last edited: Feb 29, 2016
  20. Mindcore-Games

    Mindcore-Games

    Joined:
    Nov 10, 2015
    Posts:
    1
    기능 중에 심볼이 릴에 몇개 들어가는지 컨트롤 하는 기능이 있었으면 좋겠어요...Wild나 Scatter, Bonus의 경우 컨트롤을 따로 하고 싶은데 그 기능이 없네요.
     
  21. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    to @Mindcore Games
    That's good idea.
    Could you write a post with english?
    That may helps other developers can see your idea and discuss about it easily.
     
  22. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    Slots Perfect Kit v1.5 is now available !!!
    All bug fixed & several features added.
    - Full column WILD symbol
    - Simple Math(paying rate) simulation
    - Lobby Scene
    - Save & Load User credit & settings(music, sfx on/off)
     
  23. outdoorsman

    outdoorsman

    Joined:
    May 16, 2015
    Posts:
    32
    May I ask about how you add another slot to the lobby scene? Thank you.
     
  24. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    to @outdoorsman
    You can change reel & row & count by changing Basic tab in Inspector of SlotGame
    This video may help you. (2:51)
     
  25. outdoorsman

    outdoorsman

    Joined:
    May 16, 2015
    Posts:
    32
    I understand. But what I mean is how you link a second slot to the lobby scene once it's completed. I can't get the lobby scene to link to another game other than title "slotGame".
     
  26. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    to @outdoorsman
    To add new Slot in Lobby, you must duplicate existing game UILobbyItem.
    After that, change OnClick event parameter to 1 in new UILobbyItem's inspector like screenshot.


    Change OnButtonSelected function in SceneLobby.cs like this
    Code (csharp):
    1.  
    2. public void OnButtonSelected(int value) {
    3.     BEAudioManager.SoundPlay(0);
    4.     if(value == 0)
    5.         Application.LoadLevel("SlotGame");
    6.     else if(value == 1)
    7.         Application.LoadLevel("AnotherSlot"); // your new slot
    8.     else {}
    9. }
    10.  
     
    Last edited: Mar 5, 2016
  27. outdoorsman

    outdoorsman

    Joined:
    May 16, 2015
    Posts:
    32
    I did as you instructed and got this error: Assets/SlotPerfectKit/Scripts/SceneLobby.cs(81,1): error CS8025: Parsing error The code I edited is exactly like the code above. This is the only error in the console. it was having trouble with the symbol "else" but I seemed to stop those errors. Never mind. it seems to be fixed. I added two more } of this symbol and everything works now. Thank you for your help. The new update is great! Thank You!
     
    Last edited: Mar 5, 2016
  28. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    to @Maedhros
    Thank you for purchasing my asset.
    Reel result was applied by ApplyResult() and it use GetDeck() function to generate result symbol list (in SlotGame.cs).
    If you want to set result with your own combination, change ApplyResult & GetDeck functions.
     
  29. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    to @Maedhros
    I understand what you want.
    In current SPK, Reel result was created by each symbols frequency.
    But you want to use pre created symbol list as an result, right?
    I have a questions.
    If you make 22 symbol list, and game started. when reel 23th, what result shows?
     
  30. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    to @Maedhros
    Yes, i understand.
    I will update this feature by next update.
     
  31. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    to @Maedhros
    I'm gathering opiniones of other users now.
    after that, i will post about update date plan ASAP.
     
    Last edited: Mar 20, 2016
  32. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    to @Maedhros
    I receive many mails from various users of SPK. they request me to add or modify some features in SPK.
    I must gather their requests and make priority list about that.
    So please understand, the next update needs times.
    I guess update may takes 2~3 weeks from now. (2weeks for work & 1week for the review)
    If you are in time critical situation, i recommend you to do not wait my update.
     
  33. Kirills

    Kirills

    Joined:
    Apr 25, 2014
    Posts:
    11
    Please add simple bonus game.
     
  34. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    to @Kirills
    If i have enough time, i will think about it.
     
  35. CashFlow

    CashFlow

    Joined:
    Mar 15, 2016
    Posts:
    4
    Hello Chemael, I have a problem with the toolkit, more specificaly : I can`t save the projet , I mean, I do some changes ( the simplest is to change the game to have only 3 reel count) and I save the scene + save the project and press double click on SlotGame scene and no changes.. is like the game do an reset all the time:| any help, pls ?

    I was think is from my unity 5.3.2f1, now I am using 5.3.0f4.
    Don`t know what to do..

    Ps: The toolkit is awesome and is very complet ( the single piece which are missing is a mini bonus game or even a complex bonus game )

    Cheers,
    Robert!
     
  36. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    to @CashFlow
    Hi, i changed reel count to 3 and save scene at unity 5.3.x and find same phenomenon occured.
    But at unity 4.7.x scene saving work normally.
    I think that it is unity editor's bug.
    I recommend you to use Save Scene As instead of Save Scene.
     
  37. CashFlow

    CashFlow

    Joined:
    Mar 15, 2016
    Posts:
    4
    Solve the problem with Unity 5.2.x - I have another question. The Shop part can be configurate and used ( I mean to sell on real money ) ?
     
    Last edited: Apr 2, 2016
  38. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    to @CashFlow
    You can change sell items on Awake function in UISGShop.cs
    Code (csharp):
    1.  
    2. ItemList.Add(newShopItemDef("shopitem0", 300000, 30, "99.99$"));
    3. ItemList.Add(newShopItemDef("shopitem0", 120000, 20, "49.99$"));
    4. ItemList.Add(newShopItemDef("shopitem0", 30000, 15, "19.99$"));
    5. ItemList.Add(newShopItemDef("shopitem0", 12000, 10, "9.99$"));
    6. ItemList.Add(newShopItemDef("shopitem0", 5000, 5, "4.99$"));
    7. ItemList.Add(newShopItemDef("shopitem0", 1500, 2, "1.99$"));
    8.  
    Actual purchase code for native devices was not implemented.
     
  39. CashFlow

    CashFlow

    Joined:
    Mar 15, 2016
    Posts:
    4
    Hmm okei, I will disable the shop and wait for integration, I mean to make it functional for native devices.
     
  40. brianmok

    brianmok

    Joined:
    Jul 25, 2015
    Posts:
    5
    Hi,

    Your slot frame work looks great.
    Just question:
    Am i able to add in new reel function into your inspector like etc symbol with special function:
    Jackpot, Booster. which only require symbol to be appear any where and win certain things?
    (something like scatter?)

    thanks
     
  41. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    to @brianmok
    If you want to add special symbol feature, you must modify source code in SlotGame.cs
     
  42. brianmok

    brianmok

    Joined:
    Jul 25, 2015
    Posts:
    5
    Thanks for prompt reply.
    if modify or addin the code into slotgame.cs, does it appear in the inspector which let me add the those symbol as needed like those you designed?

    Thanks
     
  43. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    to @brianmok
    'SPK' provide custom inspector of the class SlotGame.
    So, you also modify SlotGameEditor.cs script to change inspector.
     
  44. brianmok

    brianmok

    Joined:
    Jul 25, 2015
    Posts:
    5
    Hi, what is the wild ×2 function for?

    Wondering are you available for custom works?
    Thanks
     
  45. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    to @brianmok
    Symbols like wild2x, wild3x will increase line win like this.
    (SlotGame.cs)
    Code (csharp):
    1.  
    2. //Change RewardGold by WildSymbol Counts
    3. if(Wild3XSymbolCount > 0) LineWin *= 3.0f;
    4. else if(Wild2XSymbolCount >= 2) LineWin *= 4.0f;
    5. else if(Wild2XSymbolCount >= 1) LineWin *= 2.0f;
    6. else {}
    7.  
    I don't want to receive Individual requests about 'SPK'.
     
  46. xAvatarchikx

    xAvatarchikx

    Joined:
    Aug 17, 2012
    Posts:
    60
    Hi!How can I add a Bonus Game?
     
  47. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    to @xAvatarchikx
    If you want to use your own mini game, change OnButtonDouble function in SceneSlotGame.cs.
    In this function, you can add code to launch your own game and when the mini game end,
    you must call OnDoubleGameEnd function in SceneSlotGame.cs with changed gold parameter.

    If you want to add a bonus game when special symbol sequence appeared, you must change Update function in the SlotGame.cs. in the beginning of the update function, 'SPK' check which line is matched with symbols.
    You must add your own symbol combination code here, and the bonus game launch code too.
     
  48. xAvatarchikx

    xAvatarchikx

    Joined:
    Aug 17, 2012
    Posts:
    60
    Hi!
    What type Symbol Type.Bonus?
    Since I see that this type is not used
    I can use it for a bonus game? Or is it better to create a new type of BonusGame?
    whether the bonus game plan in the new version?
    And when a new version is planned?
    Thanks!
     
    Last edited: Apr 13, 2016
  49. chemael

    chemael

    Joined:
    Feb 18, 2015
    Posts:
    195
    to @xAvatarchikx
    Yes, you can use Bonus Symbol type for your bonus game.
    It was a reservation for that cases.
    I have no fixed plan for the next update yet.
     
  50. brianmok

    brianmok

    Joined:
    Jul 25, 2015
    Posts:
    5
    Hi,

    I need a step by step on how to add in new slot game into the game scene.

    Thanks
     
unityunity