I just finished four days of head scratching and now it's finally ready:
Track: "Slot machine"
Creator: mutetus
Type: Skill game
Tags: Themed, funny
Released: 5/7/2012
Here's a picture:
And for those who are curious:
![]()
Well done..i was considering something like this but the head scratchin put me off.lol.loois good.i will hav to check it out soon..![]()
Now we need to implement new feature that you can use in-game money in skill games!
Well...yeah it's good, but it looks pretty easy to set u-.........NevermindOriginally Posted by mutetus
Couldn't this have been done easier?![]()
Sure if you want it to be boringOriginally Posted by HappyflowBut there were surprisingly lot of things to consider like making possible to win at least something. With just random numbers I seemed to never get three same numbers, because there are 11 different numbers only once on each reel, so I had to make the random number generator to give more small winnings and a really small chance to get the jackpot. Then of course the reel holding functions that you can't hold them all, not two times in a row, not with a higher bet and not after winning. And then checking the winning combinations, giving the right amount of money and random number seed from the bike falling apart in the darkness below the reels...
![]()
And the reels... They just don't work automatically like start and stop right there. It actually has to predict quite a long time before stopping where to stop exactly because I can't stop them just by jamming a pipe in the mechanismThere are no running numbers telling the reel position, it's made with triggers. I had to make the acceleration and stopping animations separately to make it look just the way I wanted. They may be a little bit off center each time they stop, but that's again the game physics skipping a tiny bit over the triggers, but I thought it looked more realistic so I just let them be.
And then there's my custom jingle player, which I had to keep "small" because there were so much stuff in there already. Sure it could have been done with less, but I think as I go and I do it the way I think of first and there's really no reason to optimize because it runs smoothly.
Yeah I was thinking that tooOriginally Posted by sipe![]()
WHAT?![]()
Where did you start with all that logic? how the hell did you know what did what?![]()
I've been messing with digital electronics for years so that helps a bit. I really should have drawn it on paper first, because the most important thing in making complex logic is always make notes, never take a long break or work on a different project or you'll forget what does what.