Showing posts with label Slot Machine. Show all posts
Showing posts with label Slot Machine. Show all posts

Thursday, September 17, 2009

Slot machine is finally finished.

FINALLY. It's done, and I'm relatively pleased with the result. Everything works correctly, the display, the animations, and the payouts. One of the biggest challenges, believe it or not, was to get a window displaying the player's coins in the upper right hand corner of the screen and have it update while the player uses the slot machine. That was the last hurdle I had to overcome in order to get it set up to my liking, and now it's done!

As I said before, the player will exchange their gold for coins which can be used in the slot machine. They can bet a maximum of 10 coins per pull, with the jackpot paying out at a *2000 multiplier. It's highly unlikely that a player will hit the jackpot, but if they do at a full bet, they can expect to land themselves some rather nice gear!

Screenshots of the slot machine in action:







The other casino minigames will be worked on later, as I'm waiting on the remainder of a set of playing card resources.

Next up is working on the next set of towns and explorable areas the player can access after getting the rowboat (which can only travel in shallow water). Look for more updates soon!

Monday, September 14, 2009

I hate slot machines!

So the slot machine is coming along. Background graphics are done, slot machine overlay is done, the slots are animated, now it's just time to piece it all together and make it work. I've got the coin system done, though!

Explanation needed:

I've decided that rather than bet the player's actual gold for winnings, the player will purchase coins to use in all of the casino games, and exchange those coins for prizes. This prevents the player from getting insane amounts of gold which would trivialize the game for quite awhile because the player would be able to purchase all of the best equipment much sooner than I would like them to. I've settled on the exchange rate being 1 coin per 10 gold when purchased from the coin vendor in casino areas.

Screenshot time!








In non-minigame related news, I've finally figured out a way to work in a skill for the thief upon reaching level 10 that allows him to find bonus gold after a battle! It took some script (ruby) writing which I am totally noobish at, but I got it done and the results are great! The party is awarded the normal amount of gold, then the thief will notify the party of the extra gold he has found, which finally gets added to the player's gold total. Very happy with the result!





Hopefully the slot machine will be completed by the next post.