FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Fivewin SlotMachine
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Fivewin SlotMachine
Posted: Fri Dec 11, 2015 10:57 PM
I made this game to entertain my grandson during the coming Christmas holidays




You can download the game at http://www.eoeo.it/downloads/

As soon As I'll publish the source code ,

P.s. thanks to My friend Mastintin for some features
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 392
Joined: Tue Jul 29, 2008 01:55 PM
Re: Fivewin SlotMachine
Posted: Sat Dec 12, 2015 01:14 AM

Hi Silvio

wow...

Visite Chiapas, el paraiso de México.
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Fivewin SlotMachine
Posted: Sat Dec 12, 2015 08:05 AM

very nice :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: Fivewin SlotMachine
Posted: Sat Dec 12, 2015 08:12 AM

thanks Antonio
But I have to improve the animation bitmaps
because I can not create a movement typical of slots
I don't Know How make it ( I tried to converte a javascript source into xharbour)

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: Fivewin SlotMachine
Posted: Sat Dec 12, 2015 09:34 AM

Very nic. Congrats.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Fivewin SlotMachine
Posted: Sat Dec 12, 2015 01:51 PM
Silvio,

that looks very nice.

Some more options I tested :
1. You can define the HOLDING-TIME of the images and the RUNNING-speed
2. adding a < ZONK > the game will be stoped and the reached values are set to 0 loosing the values
3. 2 players are gambling for POINTS
4. A trial-limit : Points are counted after reaching the limit of trials
5. adding any game-images ( to be loaded from a subdirectory )
6. a DBF to add player-names, points, the selected game-number, game-speed ...
7. save the status of a game
8. Points will be given from the middle-line
... added top-left to bottom-right and top-right to bottom-left
...counting points only for the middle-line takes to long

in case You need any of these calculations, let me know

Silvio
But I have to improve the animation bitmaps
because I can not create a movement typical of slots
I don't Know How make it ( I tried to converte a javascript source into xharbour)


Maybe in the meantime
Changing the IMAGE-HOLDINGTIME and the value of WHEEL-TURNS from the xBrowse animated cells

Code (fw): Select all Collapse
STATIC FUNCTION NEW_IMAGES()
Local I := 1 

FOR I := 1 TO nSvalue[10] // Turns 
   NEW_ARRAY()
   SYSREFRESH()
   SYSWAIT(nSvalue[11]) // Delay
NEXT

RETURN NIL


Because of all the different options, there is not much space for visual design

A xBrowse-design with animated cells
Two players are gambling against each other



include own images ( transparent or photos )
Background selection
Player database to save everything of a game
Each game can have a differnt background and wheel-speed / holding-time

Gamebreak !!





best regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: Fivewin SlotMachine
Posted: Sun Dec 13, 2015 03:00 PM

Uwe,
I not use dbf, two player or I must not save the points of game
I not Use Xbrowse to move reels of slot
the problem not is on delay or timer or running speed

the problem is on mechanism of the animation of the images in the vertical of each reels
I tried to converte a java script source code have different functions to create a reel

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Fivewin SlotMachine
Posted: Sun Dec 13, 2015 03:14 PM

Sivio,

I think it is a kind of calculation to show a VERTICAL-movement of images
I got some ideas and will test it.
I will let You know about the results.

The additional opttions from above I added, just to have more fun.

best regards
Uwe :D

Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: Fivewin SlotMachine
Posted: Sun Dec 13, 2015 04:42 PM
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
Re: Fivewin SlotMachine
Posted: Sun Dec 13, 2015 07:57 PM

:D

Marco Boschi
info@marcoboschi.it
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Re: Fivewin SlotMachine
Posted: Sun Dec 13, 2015 08:22 PM

Grand PaPa of the year...

Thanks,

Byron Hopp

Matrix Computer Services
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: Fivewin SlotMachine
Posted: Mon Dec 14, 2015 09:05 AM

It's only a black page for me. :?:

EMG

Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: Fivewin SlotMachine
Posted: Mon Dec 14, 2015 10:53 AM

Enrico,
for the http://www.cartolinefree.eu/santaslot/index.html
it run with html5 (css+javascript) you must upgrade your Browser

Instead for download the machine made with fwh -> http://www.eoeo.it/downloads -> Giochi -> slotmachine

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: Fivewin SlotMachine
Posted: Mon Dec 14, 2015 11:34 AM
Silvio.Falconi wrote:Enrico,
for the http://www.cartolinefree.eu/santa1/index.html
it run with html5 (css+javascript) you must upgrade your Browser


I'm using Microsoft Edge and I've no interest in changing browser, sorry.

EMG
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: Fivewin SlotMachine
Posted: Mon Dec 14, 2015 12:02 PM

Enrico also I use Microsoft Edge with windows 10 on a Portable Pc (ASUS ROG G752)

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com