Slot Machine Game Mechanics for Construct3

5

Index

Attached Files

The following files have been attached to this tutorial:

.c3p

c3-wizardtoad.c3p

Download now 1.5 MB

Stats

1,365 visits, 2,290 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY-NC 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 27 Apr, 2024. Last updated 18 May, 2024

Well, so far so good, but what if the first two eyes don't match? We still need to compare the first to the third. Event #23 takes us to that option. Event #24 looks for either "result1" OR "result2" for matches. If either is found, then Events #25 to #31 append HUD text in a similar manner as before only with a smaller reward.

BUT, what if none of the eyes match? Event #32 handles that for us and randomly "Chooses" its HUD feedback. See the illustration below.

Conclusion

There you are! 32 Events creates a simplified Slot Machine IGM. You should consider replacing the artwork with a different theme once you have a license to do so. For example, I use this "Slot Machine" game mechanics as a dueling system between two combatants. (Hint, Hint! See example in the Scirra Arcade)

Here's the "error-ridden" slot machine.c3p example with HTML layers. If you decide to purchase this from the Construct Asset Store, you'll have all its artwork, a Developer's Guide, permission to use it in one or more projects, and more detailed development information on its construction and integration with external CSS files and parent RPGs (a PHP script is supplied for client/server deployment).

.C3P

c3-wizardtoad.c3p

Download now 1.5 MB
  • 5 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • I downloaded this example, but can't find the error you're talking about. Could you give me a hint?

    And how do you use this slot machine in combat? I don't get it!

  • You're right! This "slot machine" is a #$R%^ of a lot easier to create. I'm getting dozens of ideas on how I could use this in an adventure game.

    • Glad to hear it. I'll make another tutorial about how to use this slot machine in an RPG duel. I have 11 different combat systems and this slot machine is just one method.