Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Fruit / Slot Machine Bonus Game Asset [RELEASED]

Discussion in 'Assets and Asset Store' started by SketchWork, Feb 14, 2013.

  1. SketchWork

    SketchWork

    Joined:
    Jul 6, 2012
    Posts:
    251

    Description

    The Fruit / Slot Machine Bonus Game Asset is an easy to use script that will add an unlimited number of slot machine reels to your games and projects. This C# script is very easy to use and can be implemented in just a few clicks. The script should also be compatible and performance friendly with all of the platforms supported by Unity3D including Unity3D Free (3 and 4) and works with C# and UnityScript languages.

    This asset is very customisable. You can add as many reels as you want (there is no limit) and the script will automatically handle everything for you. All you need to do is position them in your scene and add a trigger to start the reels and that’s about it!

    $Bonus25.jpg $TheDemoScene25.jpg $Watching25.jpg $Shooting25.jpg

    The asset can run in many different ways. Two most common are:
    • Normal fruit machine where you match the images to win.
    • Win each reel where you could spin 5 reels (or more or less) and each item that comes up you win.

    Some ideas on how and where to use the asset:
    • Inside an actual fruit/slot machine within your game.
    • Built into a wall.
    • As a bonus game at the end/start of the level to see what the player gets.

    Features
    • Full support for Unity 3.5 and Unity 4+ (Free and Pro).
    • Very customizable.
    • Nice looking and easy to use custom editors to manage the asset.
    • Use as many reels as you want (there is no upper or lower limit).
    • Use to add a starting bonus when you start your game.
    • Use to add an end of level bonus to your game.
    • Traditional 'Match Mode' (match all reels to win) or 'Bonus Mode' where you could win what comes up.
    • Choose to match top and bottom lines as well as the middle line.
    • Match on the diagonal if you want to.
    • Includes Nudge and Reel Hold functionality.
    • Create your own reel graphics with the included templates.
    • Fully event driven.
    • Full sound effects can be turned on if required.
    • PLAYMAKER Integration.
    • Includes 3 reel graphics (Traditional fruit, Ammo and Grenades, Mana and Health), but you can create your own.
    • Control the size and positioning.
    • Clean, short and simple c# code.
    • No external DLL's or external resources.
    • Full documentation included.
    • Works in Unity Pro and Free (Version 3 and 4).

    $Inspectior2-0.jpg

    Use the Fruit / Slot Machine Bonus Game Asset inside your game to create bonuses or use as a traditional fruit machine. Can be placed anywhere in your scene..

    Add that little something special to your projects and grab yourself a bargain with the Fruit / Slot Machine Bonus Game Asset.

    Asset Store Link: "Get the Fruit / Slot Machine Bonus Game Asset".

    Version History

    Version 2.2
    Added full reel holding functionality.

    Version 2.1
    Tidied Up the editors a little.
    Fixed issue with ToggleLeft on some versions of Unity 4.

    Version 2.0
    Added support for Unity 4.3.
    PLAYMAKER Integration (Custom Actions and Custom Events).
    Added new editor controls for ease of use.
    Added ability to name and give values to your reel items.
    Added ability to match top and bottom lines as well as the middle line.
    Added example on how to match diagonally.
    Updated the demo with the new functionality.
    Fixed parent rotation issue.
    Updated support email details.

    Version 1.1
    Added full support for Unity 3.5 and Unity 4+.
    Updated support email details.

    Version 1.0
    Initial release.

    Asset Store Link: "Get the Fruit / Slot Machine Bonus Game Asset".
     
    Last edited: Jun 18, 2014
  2. SketchWork

    SketchWork

    Joined:
    Jul 6, 2012
    Posts:
    251
    Thanks to everyone who has purchased already. New version will be available in the next few weeks.

    Thanks again.
     
  3. SketchWork

    SketchWork

    Joined:
    Jul 6, 2012
    Posts:
    251
    Version 1.1 is now live in the Asset Store and now has support for both Unity 3.5 and Unity 4+.

    If you have any questions please ask. I am UK time (GMT) and available throughout the day.

    All the best,

    Justin
     
  4. SketchWork

    SketchWork

    Joined:
    Jul 6, 2012
    Posts:
    251
    Added the YouTube demo for our Time Control Asset, but this also features the Slot/Fruit Machine in action. The changes to AngryBots which I used in the demo took only about 5-10 minutes to add complete time control and the Slot/Fruit Machine asset.

    Video Demo

    Enjoy!

    Justin
     
  5. SketchWork

    SketchWork

    Joined:
    Jul 6, 2012
    Posts:
    251
    ANNOUNCEMENT:

    Full Playmaker and UScript support coming soon.
     
    Last edited: Oct 31, 2013
  6. SketchWork

    SketchWork

    Joined:
    Jul 6, 2012
    Posts:
    251

    Description

    The Fruit / Slot Machine Bonus Game Asset is an easy to use script that will add an unlimited number of slot machine reels to your games and projects. This C# script is very easy to use and can be implemented in just a few clicks. The script should also be compatible and performance friendly with all of the platforms supported by Unity3D including Unity3D Free (3 and 4) and works with C# and UnityScript languages.

    This asset is very customisable. You can add as many reels as you want (there is no limit) and the script will automatically handle everything for you. All you need to do is position them in your scene and add a trigger to start the reels and that’s about it!

    The asset can run in many different ways. Two most common are:
    • Normal fruit machine where you match the images to win.
    • Win each reel where you could spin 5 reels (or more or less) and each item that comes up you win.

    Some ideas on how and where to use the asset:
    • Inside an actual fruit/slot machine within your game.
    • Built into a wall.
    • As a bonus game at the end/start of the level to see what the player gets.

    Features
    • Full support for Unity 3.5 and Unity 4+ (Free and Pro).
    • Very customizable.
    • Nice looking and easy to use custom editors to manage the asset.
    • Use as many reels as you want (there is no upper or lower limit).
    • Use to add a starting bonus when you start your game.
    • Use to add an end of level bonus to your game.
    • Traditional 'Match Mode' (match all reels to win) or 'Bonus Mode' where you could win what comes up.
    • Choose to match top and bottom lines as well as the middle line.
    • Match on the diagonal if you want to.
    • Create your own reel graphics with the included templates.
    • Fully event driven.
    • Full sound effects can be turned on if required.
    • PLAYMAKER Integration.
    • Includes 3 reel graphics (Traditional fruit, Ammo and Grenades, Mana and Health), but you can create your own.
    • Control the size and positioning.
    • Clean, short and simple c# code.
    • No external DLL's or external resources.
    • Full documentation included.
    • Works in Unity Pro and Free (Version 3 and 4).

    Use the Fruit / Slot Machine Bonus Game Asset inside your game to create bonuses or use as a traditional fruit machine. Can be placed anywhere in your scene..

    Add that little something special to your projects and grab yourself a bargain with the Fruit / Slot Machine Bonus Game Asset.

    Asset Store Link: "Get the Fruit / Slot Machine Bonus Game Asset".

    Version History

    Version 2.0
    Added support for Unity 4.3.
    PLAYMAKER Integration (Custom Actions and Custom Events).
    Added new editor controls for ease of use.
    Added ability to name and give values to your reel items.
    Added ability to match top and bottom lines as well as the middle line.
    Added example on how to match diagonally.
    Updated the demo with the new functionality.
    Fixed parent rotation issue.
    Updated support email details.

    Version 1.1
    Added full support for Unity 3.5 and Unity 4+.
    Updated support email details.

    Version 1.0
    Initial release.

    Asset Store Link: "Get the Fruit / Slot Machine Bonus Game Asset".
     
    Last edited: Jun 18, 2014
  7. SketchWork

    SketchWork

    Joined:
    Jul 6, 2012
    Posts:
    251
    Just a question for the Slot/Fruit Machine users...

    What would you like to see in a future update?

    Justin
     
  8. SketchWork

    SketchWork

    Joined:
    Jul 6, 2012
    Posts:
    251

    Features
    • Full support for Unity 3.5 and Unity 4+ (Free and Pro).
    • Very customizable.
    • Nice looking and easy to use custom editors to manage the asset.
    • Use as many reels as you want (there is no upper or lower limit).
    • Use to add a starting bonus when you start your game.
    • Use to add an end of level bonus to your game.
    • Traditional 'Match Mode' (match all reels to win) or 'Bonus Mode' where you could win what comes up.
    • Choose to match top and bottom lines as well as the middle line.
    • Match on the diagonal if you want to.
    • Includes Nudge and Reel Hold functionality.<new for v2.2>
    • Create your own reel graphics with the included templates.
    • Fully event driven.
    • Full sound effects can be turned on if required.
    • PLAYMAKER Integration.
    • Includes 3 reel graphics (Traditional fruit, Ammo and Grenades, Mana and Health), but you can create your own.
    • Control the size and positioning.
    • Clean, short and simple c# code.
    • No external DLL's or external resources.
    • Full documentation included.
    • Works in Unity Pro and Free (Version 3 and 4).
    Use the Fruit / Slot Machine Bonus Game Asset inside your game to create bonuses or use as a traditional fruit machine. Can be placed anywhere in your scene..

    Add that little something special to your projects and grab yourself a bargain with the Fruit / Slot Machine Bonus Game Asset.

    Asset Store Link: "Get the Fruit / Slot Machine Bonus Game Asset".

    Version History

    Version 2.2
    Added full reel holding functionality.

    Version 2.1
    Tidied Up the editors a little.
    Fixed issue with ToggleLeft on some versions of Unity 4.

    Version 2.0
    Added support for Unity 4.3.
    PLAYMAKER Integration (Custom Actions and Custom Events).
    Added new editor controls for ease of use.
    Added ability to name and give values to your reel items.
    Added ability to match top and bottom lines as well as the middle line.
    Added example on how to match diagonally.
    Updated the demo with the new functionality.
    Fixed parent rotation issue.
    Updated support email details.

    Version 1.1
    Added full support for Unity 3.5 and Unity 4+.
    Updated support email details.

    Version 1.0
    Initial release.

    Asset Store Link: "Get the Fruit / Slot Machine Bonus Game Asset".
     
  9. Gaviathan2

    Gaviathan2

    Joined:
    May 23, 2013
    Posts:
    13
    I'm gonna assume after looking at your site that you didn't receive these E-mails ;)



    From: Gavin
    To: support@sketchworkdev.com
    Subject: RE: Fruit machine playmaker
    Date: Wed, 16 Jul 2014 22:26:27 +0000

    Hi there,Loving your fruit machine bonus game,I've set up a model,given it buttons etc but I'm having problems accessing the functions via playmaker.I was hoping just dragging the script into a state and using get or set property would work for things like holds,nudges,what each reel landed on etc but for some reason playmaker isn't showing them all.My scripting knowledge is pretty poor LOL but I had a quick look at your scripts and a hack that has worked for me in the past was making private variables public so playmaker could access them.I haven't seen any private variables at all,least of all the ones i want access to.Am I doing something wrong? I could probably go through your script and add send to playmaker message thingys but that's not as straight forward as I'd like as ive tried it before and I dont want to mess up your script. If you have any suggestions or a solution that would be awesome :) Thanks

    Ok I think I'm getting there,I'm declaring my own variables to grab the info I need,Unfortunately I had to do it in the example script but seems to work.Now to see if I can use a similar method to send stuff to the script like holds and nudges

    Nope.I'm pulling my hair out here,is there any chance you could write some playmaker actions for holds and nudges?

    EDIT-I've come up with some long winded messy FSMs that have solved the Holds and reel position stuff,still no luck with the nudges though.
     
    Last edited: Jul 17, 2014
  10. SketchWork

    SketchWork

    Joined:
    Jul 6, 2012
    Posts:
    251
    Site is undergoing a revamp and will be live again from the 1st August, but rest assured I have received and replied to your emails:)

    The thing is, because I don't personally use Playmaker in my projects it is hard to know what people want in FSM's, so I normally just add what people ask for in playmaker. I have looked at your requests and they should be easy enough to add and I'll try to get a few new FSM's over to you tomorrow.

    All the best,

    Justin
     
    Gaviathan2 likes this.
  11. Gaviathan2

    Gaviathan2

    Joined:
    May 23, 2013
    Posts:
    13
    Awesome stuff,thanks millions :)
     
  12. m3ndi3

    m3ndi3

    Joined:
    Mar 6, 2012
    Posts:
    18
    Hi I just purchased your asset, and I just want to do a simple use where you press a button and it stops the first reel, then press the button again and it stops the second reel, then again, and the last reel. Can you please help me on how I can implement that (preferably with playmaker) Thank you!
     
  13. SketchWork

    SketchWork

    Joined:
    Jul 6, 2012
    Posts:
    251
    Hi @m3ndi3,

    Not been asked for a per reel spin before. the easiest and quickest way would be to just add three separate Slot machine assets each with only one reel. That way you can trigger all three to start rolling together and have three different stop routines all on one button or different buttons.

    I will also look at adding this in a future version.

    Justin
     
  14. spinki12

    spinki12

    Joined:
    Mar 12, 2013
    Posts:
    4
    I have purchased your fruit machine plugin on asset store ages ago. I must mention that it is a great way of starting building slot machine app.

    As I am trying to polish this game as much as i can and i have come to the point where i try to use some function what will allow me to spin the wheels slowly as i press the spin button and increase the speed to the 1000 what i have set in inspector and before they stop to 0 i would like to decrease the speed. I found it bit complicated so i wonder if you can help me with it or not.

    I would like to mention that your support team doesn't seem to work as i have already email them last week and no one seems to reply

    Thx
     
  15. SketchWork

    SketchWork

    Joined:
    Jul 6, 2012
    Posts:
    251
    Hi spinki12,

    sorry for bit getting back sooner, it is a national holiday this week in the UK and I'm away with my children. The easiest way to slow down would be to tween the speed value. I haven't tested this, but will take a look when I'm back in the office next week and post back here with the results.

    All the best,

    Justin.
     
  16. shoni-wheeler

    shoni-wheeler

    Joined:
    Oct 25, 2014
    Posts:
    102
    Hi,

    Any chance you will be upgrading this to use the Unity new UI.

    John
     
  17. SketchWork

    SketchWork

    Joined:
    Jul 6, 2012
    Posts:
    251
    Hi shoni.wheeler,

    The only thing that uses the old OnGUI is the demo scene buttons. The actual asset uses a 3D mesh which isn't in the UI, so runs perfectly in any Unity version.

    I hope that makes sense,

    Justin
     
  18. radiantboy

    radiantboy

    Joined:
    Nov 21, 2012
    Posts:
    1,577
    When I try to rotate the game object it works but as soon as the reels spin they rotate back to what they were, any way to fix this? So I can have a parent object at any angle I want.
     
  19. SketchWork

    SketchWork

    Joined:
    Jul 6, 2012
    Posts:
    251
    @radiantboy Yes, you are definitely able to do this because I did it on the Angry Bots Integration. I talk about how to do this in the manual in section "Usage within an Existing Project". Let me know if you are still getting stuck.

    All the best, Justin
     
  20. radiantboy

    radiantboy

    Joined:
    Nov 21, 2012
    Posts:
    1,577
    Thanks, ive got this going nice at the angle it was working, it picks what enemies will spawn, very cool, video soon :)
     
  21. SketchWork

    SketchWork

    Joined:
    Jul 6, 2012
    Posts:
    251
    That's great news. I'd love to see an in game screen shot of your game :)

    Good luck,

    Justin
     
  22. outdoorsman

    outdoorsman

    Joined:
    May 16, 2015
    Posts:
    32
     
  23. outdoorsman

    outdoorsman

    Joined:
    May 16, 2015
    Posts:
    32
    I hope it will work in Unity 2017.1 as well.