How to do Video Slots?

BlitzMax Forums/BlitzMax Beginners Area/How to do Video Slots?

Carl S.(Posted 2006) [#1]
I am brand new to BlitzMax and have been playing with it a couple of days now. i would like to create a slot machine game and already have some ideas on how to do some things. However, instead of reinventing the wheel I would like to get some direction.

Basically, each reel will be x number of symbols which I will say will be 100x100 pixels. Each symbol will be it's own image. I want to combine x number of images and "stack" them on top of each other into one 100 pixel wide times n times x pixels tall. I then want to simulate spinning the reels in side-by-side windows that will show 3 symbols at at time (100x300 with border). I also want them to bounce for a brief second after they stop. (like a real video slot)

What functions should I be looking at? Any code snipets or advice greatly appreciated.

For a visual of what I am talking about, you can look at this slot game:

http://www.pokiemagic.com/games/game-totemtreasure.htm

as the people who done this one have done a good job on re-creating a casino slot.

Thanks

Carl


Carl S.(Posted 2006) [#2]
As a follow up...

I want it to be able to run full screen as well as in a window and I have MaxGUI.

Thanks


Chris C(Posted 2006) [#3]
you could use SetViewport( x,y,width,height )
(on that wheels viewable area)
to restrict how each reel is drawn and reposition a complete wheel strip


Yeshu777(Posted 2006) [#4]
That looks like a typical casino machine, where the reel bands are created to pay the desired outcome each spin.

If you want some info on creating dynamic reels, spinning animation, win analysis & percentage control etc. just email me.

Regards,