This is Herbert, an Alian from one of the countless planets in the constellation Orion whose inhabitants are the biggest players in the whole galaxy. Their arcades are gigantic. Their willingness to take risks has no limits. They are really addicted to risk. For them there is no better feeling than winning. The bigger the stakes, the greater the risk and therefore the greater the pleasure. But this one-sidedness also has its dark sides. They are bad losers. With their telepathic abilities they have no influence on chance, but they can make matter disappear, like the screws of the holders of the huge slot machines. This behavior was not implemented in this demo, because their destructiveness caused unwanted mental disorders in the viewers. Instead, the alien waves when he loses.
For this demo to have an interactive component: click on the spinning coins to start the slot machine.
Some technical details: I took many examples from the “Examples from playground” and put them into a model-view-controller. Each controller has several states (Behaviour Pattern), the most current state is called when its update method is called regularly. Some controllers were defined as singleton, which should only be instantiated once, like the universe, figure or media controller. Other controllers are parts of the slot machine and were developed and tested separately and then combined into a meta-controller. Thus it was possible to create several slot machines. A shader was also used for the futuristic design of the arcade.
I developed the internal logic of the slot machine myself and hereby release it for any use. Before using the media (pictures, animations etc.) please ask the respective authors for permission.