Forum Discussion
TroyWestphal
8 months agoCommunity Member
Variable Help
I have created a roulette game for an activity. I have two variables that determine if the participant has selected Red or Black as their wager spot. The wager on the Black spot works, the Red does...
TomKuhlmann
Staff
That's a doozy of a file. :)
I took a real quick peek at it. The first thing I'd do, is make your production more efficient which will get rid of a ton of triggers and also possibly make programming with variables easier
- get rid of the set objects to hidden triggers when timeline starts. Instead, set the initial state of the object to hidden.
- It seems you can make the selection of the objects a lot easier. The object has a selected state and a win state (based on where the dial lands).
Here's a tutorial that walks through some ideas.
TroyWestphal
8 months agoCommunity Member
Thank you for the ideas Tom. I am cleaning out some of the extra triggers because I changed paths multiple times and added triggers to get the path to work.