I am a Blackberry java developer. I am trying to develop a simple slot machine logic. I am new to animated graphics etc in blackberry. So, can anyone tell me how to design a simple slot machine where on pressing a button the images in 3 blocks must start rotating and after it stops the prizes will be displayed according to the pics. So can u plz help me with some samples or tutorials of how to do it…
Edit: I am developing it just as fun application that doesnt involve any money transactions. So, any Blackberry developers plz guide me how to achieve the task and to spin the three images on click of a button…
This is a simple example but you will have to deal with decoration, smooth rolling etc yourself.
Let’s say you have 6 images 70×70.
Simple BitmapField extension to paint current slot image, half of image above and half of image below:
Now put these fields on screen and animate with timer:
alt text http://img534.imageshack.us/img534/2172/slots.jpg
For UI functionality read
Blackberry User Interface Design – Customizable UI?
and
Blackberry – fields layout animation