Slots Casino Game! v1.2 (editable)

zardOz2 - Custom level - from Android
PlayEdit89 players liked this.Log in to like this level.

(v1.2 fixing graphics on the spinning wheel, open for edit, electrionics are inside the bottom wall)

zardOz's Cazino Slots

Tap the exit sign to leave the casino with some money and dignity and post your score!

Tap the coin acceptor to put money in the machine, hold down on the coin acceptor to input lots of money at once, any credits over 999 will be automatically returned to you.

Bet from one to five coins and tap/click the slot machine pull handle, a larger bet will multiply the payout by the number of coins bet.

Tap the coin chute at the bottom to cash out your coins, this is optional, you do not need to cash out to use the exit sign and post your score.

Update v1.1.1, fixed the issue with the same picture appearing 2 or 3 times in a row on a wheel and fixed the any bar showing up on a losing spin.
Update v1.1, increased the odds from a 4% house advantage to even odds, should pay out 10000 coins for every 10000 spent, but its still tough.

The spinning dial illusion probably looks weird on laggy devices, sorry, can't be helped. Please report errors and enjoy!

(drops mic)

Views: 20539 Downloads: 8875 Unique objects: 1 Total objects: 48

Top 10 Players

1. Golden
2. zardOz2
3. anis7z
4. walton101
5. joosuntaik
6. Patten-111
7. lliill
9. creeperhuggerXD
10. Aptem


Discuss this level

Log in to comment on this level.
  • Trevor334: Nice game can u teach me to play that good?
  • Golden: Lawl no one can beat me
  • Chowder: COOL THANKS :D
  • Golden: Now no one can beat me
  • Golden: 7681!!!
  • zardOz2: @dOUBLEbAD: well, had to revert it back, timme control messes with my code too much, still cant figure out why my spinning wheels are only showing one picture
  • dOUBLEbAD: @zardOz: I take it back about the sound but it might be useful at least. The sound doesn't hit on every wheel stop and when this happens the glitch occurs. Hope that helps
  • zardOz2: @dOUBLEbAD: heh lol, if its not one thing its three others
  • dOUBLEbAD: @zardOz: Unfortunately something seems to be off with the betting. Multiple pulls off of the same 5 tokens without subtracting from the balance and during those pulls if there is a win the total does not go up. Sound is spot on though, lol.
  • zardOz2: @dOUBLEbAD: would yyou let me know if the sound is off, my sfx emitters get weird after updating since last patch
  • dOUBLEbAD: @zardOz: it's all good, I'll just have to do it again lol
  • zardOz2: @dOUBLEbAD: sorry scores got reset, well done though...
  • zardOz2: doh now the sound is ruined( hope that gets fixed
  • dOUBLEbAD: I'm the big winner I guess, Lol.
  • Hoborg: I have two cherrys:D I won two coins! :D
  • zardOz2: @pajlada: looks like 1.5.1 has broken the graphics on this somehow... it will work if I slow down time tho. the code is a nightmare to look at I will try to explain. as soon as the handle is pulled 10 positions are set for each wheel, while it spins each dial should display three pictures to give the illusion of rotation... now its just one picture for some darn reason, no changes were made on my end.
  • Cheddah: very nice. went broke but well spent.
  • rom1k: @zardOz: Yeah sorry. I think it was reset when pajlada updated the score system to prevent cheaters.
  • zardOz2: @rom1k: did the hi scores all get a reset?
  • zardOz2: @jasnsathome: thanks man, im gonna add more so check it every once in while
  • jasnsathome: @zardOz: Love your lua tutorial very well done, I'm going to learn how to use tables now.
  • woodnut2: Nice improvement to the wheels, I'm still a betting looser .
  • zardOz2: @woodnut: all set, thanks for the feedback
  • zardOz2: @woodnut: not much, the touch area for those buttons is acually bigger than the picture... but i can boost the size np. the bug is that it can sometimes show three any bars when it is supposed to be a loser, annoying the player. also im gonna make the spinning wheels animation more pleasant to the eye
  • woodnut2: @zardOz: How much work to move and enlarge the betting buttons , maybe to the brown area above the pay out chute. I had zoomed out earlier and
    over -looked the writing on the accurately placed bet buttons. I played and lost the farm, lol , but found no bugs.
  • zardOz2: @woodnut: heh yeah I just had to add the extra step for annoying accuracy... guess i should probably fix the bugs in this today sigh
  • woodnut2: @zardOz: Doooh ,bbrrain fart ;)
  • zardOz2: @woodnut: ? did you put money in AND make a bet?
  • woodnut2: I would love to play, but the pull handle is not working for me on Android . So nice looking :)
  • zardOz2: @pajlada: it was rough soo many things to include, welcome and thanks!
  • pajlada: @zardOz: definitely! very well made, thank you!
  • zardOz2: @pajlada: Ive completed to first four lessons of my lua beginners guide on the wiki... and chance of getting a link in the news feed?:)
  • zardOz2: @Alfajim: nope, its same odds every pull...i might add that but it would make it even more depressing to play lol
  • Alfajim: Does it remember how much has been payed out over all the times I play or just each time I play? I think I used up all my luck on your roulette table lol. :)
  • zardOz2: @Alfajim: tyty, it's designed to out bank roll you with even odds.... perhaps a bit too real :)
  • Alfajim: Awesome! ! I've not been very lucky though. :)
  • sjoerd19992: @zardOz: great idea!! Programming is not so my thing, but maybe with an easier tutorial, I will give it a try ;)
  • zardOz2: @Golden: sorry guys, its just not my thing. I wouldnt even use text messages if I could get away with it
  • Golden: @zardOz: do you want to join our group of telegram, nighthawk joined our group
  • zardOz2: @sjoerd1999: thanks! Im working on a 20+ page beginners guide to lua, all of the existing ones ive seen were really bad, hopefully you'll all be making wonders next year;)
  • sjoerd19992: So awesome!!
  • zardOz2: @Winfrid9:
  • zardOz2: after you put money in you have to use the bet buttons and then tap the handle
  • Winfrid9: It won't work I put muny in and wun work
  • zardOz2: @yo man: o 5x 777... right... still tough like 1 in 1866ish
  • yo man: @zardOz: i got some lucky 7s ha. Now if i can get that to work in real life.
  • zardOz2: @jasnsathome: well I already started some of that with my lua community library level which has some of my more handy ones... its pre-1.5 so it will need to be de-firstruned
  • zardOz2: @yo man: nice jackpot! never got one myself as it's 1 in 10,000!
  • jasnsathome: @zardOz: would you be willing and able(timewise) to make a forum thread with user made functions now that they are available? I think it is a good idea alot of people are putting out some interesting scripts. It would be really cool to have a list of things for learning/timesaving. There are too many concepts I do not fully understand to check functionality of complex codes but I would gladly contribute what I can.
  • yo man: @zardOz: awesome build! Looks like i got pretty lucky..ha.
  • zardOz2: @Golden: I'll post the early version I saved for ctjet later... I'm still working on this but it took me a week to make so i need a break before im ready to fix it. also I'm writing a very long lua tutorial for the wiki right now.
  • Golden: Im still waiting for derivatives
  • JOELwindows7: @zardOz: yeaahhh!
    Feel free to Allow Derivatives!
  • zardOz2: @JOELwindows7: thanks jw7:)
  • JOELwindows7: I want to buy it. For my casino place. Can I distribute please?
    Duper Awesome!!! Infinite Lua working made in Principia
  • zardOz2: @that guy: I was gonna call it "slots will make you poor simulator" but didn't have a ring..
  • that guy2: Tis a true one armed bandit!
  • Golden: @zardOz: ok :|
  • zardOz2: @Golden: its a horrible mess at the moment... after I finish the fixes I can give you a look
  • zardOz2: @TechMan101: sorry it's designed to mimic a real slot machine, and they land on blanks... what's on the bottom and top is just random pictures... I am going to change it so not so many copies of the same pic show up
  • Golden: :[ really, i just want to look at Luascript
  • TechMan101: Plz make it so that theyre guaranteed to land on the middle line. I had the three sevens but they were on the bottom row
  • zardOz2: @ElementalGenius98: I've been avoiding games where the comp has to make strategic decisions... mostly because they take much longer to complete... I was gonna replace my video poker with an all graphics version, but it works so well it would be a shame, maybe I'll make a 1 player video hold-em game
  • zardOz2: @ElementalGenius98: yeah sorry, I didn't spend much time making the symbols at the spots not on the center line, anything not on the center line is random... I do plan on improving that
  • ElementalGenius98: @zardOz: what the.... ive got 4 sevens @_@ but nothing happend is it a bug or why do sometimes show up two symbols on one slot? :o they onky count if theyre on the black line right? @_@ It makes me weird :D

    But now try to remake texas hold 'em poker :D
  • zardOz2: @Golden: nope, I making a full casino series for a package... but if you want to know how I did any particular part I'd be happy to explain or post an example
  • Golden: Allow derivatives
  • zardOz2: @pajlada: cool thanks p
  • pajlada: @zardOz: fixed, seems a restart was required. the highscore system works a lot better in 1.5.1 so that won't be a problem then
  • pajlada: no highscore entries were made into the database, hmm
  • pajlada: @zardOz: looking into score-thing quick
  • zardOz2: @TechZ: thanks man! I should have mentioned mentioned, the house advantage is 4% for every 10000 coins bet, 9600 are paid out... in theory.
  • TechZ2124: Wooooooooooooow awesome !!!
  • zardOz2: er I should say it said it submitted successfully but dididn't show
  • zardOz2: @pajlada: my submit score test didn't go through...
  • zardOz2: @Demon666: doh!
  • Demon666: Get_cursor() doesn't work with it
  • Demon666: Just my windows tablet
  • zardOz2: @Demon666: just your mobile? or you having PC problems too?
  • jasnsathome: nice
  • Demon666: oh right my touchscreens not supported -_-
  • Demon666: I clicked on everything... nothing happened lol
  • zardOz2: fixed
  • zardOz2: doh error! sometimes a losing pull can show a mixed bar result, sorry I'll fix it later.
  • zardOz2: All done! (massive relief)me
  • JOELwindows7: @Winfrid9: donate to indiegogo.
  • zardOz2: @Winfrid9: you have to donate 75$ or more
  • Winfrid9: @zardOz: your name is grey. What does that mean cause your name is grey
  • zardOz2: @electro: nope, I learned all my coding making levels right here... @epicperson99369: heh, my unofficial title... Sdac is a master, I'm more like a really good street musician who has never seen sheet music.
  • epicperson99369: You're are like the lua master
  • electro: Z, are you a professional code writer?
  • Demon666: mine almost caught on fire lmfao.
  • zardOz2: @Demon666: perhaps it's time for me to upgrade from my windows 2000nt machine
  • Demon666: you need a better phone lol.
  • zardOz2: @Demon666: no my luas text box is all wonky, it won't reformat correctly sometimes making me save and reopen the code
  • Demon666: weird as in it goes full-screen if you put it in landscape mode?
  • zardOz2: @Demon666: its a unique form a masochism, self inflicted torture... also my text box is all weird with this phone and causes extra grief
  • Demon666: if I had to make 300+ line codes on my phone I probably would never use lua again lmao.
  • JOELwindows7: @zardOz: that's fine, I can still read it well :D
    Feel free if you want to improve the quality.
  • zardOz2: @JOELwindows7: @electro: cool thanks guys, I can make really good graphics if I try but it's really boring lol
  • electro: Agree with Joel!
  • JOELwindows7: Duper Awesome!

LEVEL ID: 10665