Slot Machine Game
Slot Machine Game
Slot Machine Game
Slot Machine Game
Slot Machine Game
Slot Machine Game Slot Machine Game Slot Machine Game Slot Machine Game Slot Machine Game Slot Machine Game Slot Machine Game Slot Machine Game
Slot Machine Game Slot Machine Game
Slot Machine Game
Go Back  Xtreme Visual Basic Talk > > > Slot Machine Game


Reply
 
Thread Tools Display Modes
  #1  
Old 05-31-2009, 03:22 PM
get_lost_4ever get_lost_4ever is offline
Newcomer
 
Join Date: May 2009
Posts: 1
Default Slot Machine Game


Hey i'm new here and to somewhat new to visual basic 5

I want to make a new slot machine type of game with visual basic 5 just for fun, but i need ideas. If anyone could give me their codes and also the designer part or just explain the the look of the game.
Reply With Quote
  #2  
Old 05-31-2009, 08:11 PM
vb5prgrmrSlot Machine Game vb5prgrmr is offline
Senior Contributor

* Expert *
 
Join Date: Mar 2009
Posts: 1,087
Default

Okay, for the classical slot machine you have three windows with various fruit and jackpot bars that roll on a vertical axis and a pull bar (nomally on the right of the machine). When the bar is pulled the three wheels begin to rotate around their vertical axis and based upon geared drag the rotation slows down until such a time that the rolling drums are slow enough to be caught in a clogged position like the flap on the wheel of fortune wheel. Then of course the machine has a coin slot, once again on the right front of the machine, and a winnings tray where if the user wins, the coins fall into so the user can collect them.

Okay, so that is the classic look of the game. Now for the sounds of the game. The really old games would have various bells. When the user dropped a coin into the slot, the coin would impact upon a bell or two. When the user pulled the handle to make the wheels go round, the wheels would have some sort of hammer that would impact various different toned bells. Then if the user won a pot the coins that fell would also impace several bells so as to make a lot of noise.

So, now how to accomplish this via a program on a computer...

Sounds, look at the SndPlaySound API to play various wave files and also look at the Beep API if you want to experiment with making your own sounds.

Now for scrolling the wheels. Search the web on VB6 Background Animation. Look up the BitBlt API.

Other things to look up in help. The Rnd function, and the Randomize statement.

Good Luck
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Slot Machine Game
Slot Machine Game
Slot Machine Game Slot Machine Game
Slot Machine Game
Slot Machine Game
Slot Machine Game Slot Machine Game Slot Machine Game Slot Machine Game Slot Machine Game Slot Machine Game Slot Machine Game
Slot Machine Game
Slot Machine Game
 
Slot Machine Game
Slot Machine Game
 
-->