Quote: "What about nudges, holds etc, are these all just completely random too?"
The nudges are available if you get the "?" on reel two,and the number of nudges is determined by the reel next to the start button which spins each time from one to four.
The holds are randon generated, but not after a win, and a little weighting is added to the code, so you have less chance of getting holds each time.
Here is my code for the hold function.
Function HoldWon ()
If Credit > 0 And Nudges = 0 And justwon = 0 And HighLowSpin = 0 And BullSpin = 0 And DiceSpin = 0 And SpinWinPlay = 0 And StopWinGame = 0 And SpinWinner = 0
if LastHold = 0
HoldAvail = Random(1, 3)
if HoldAvail = 1 then LastHold = 1
Else
HoldAvail = Random(1, 5)
LastHold = 0
Endif
if HoldAvail = 1
PlaySound(HoldS)
PlaySprite( Hold1, 5, 1, 1, 2 )
PlaySprite( Hold2, 5, 1, 1, 2 )
PlaySprite( Hold3, 5, 1, 1, 2 )
PlaySprite( Hold4, 5, 1, 1, 2 )
PlaySprite( Cancel, 5, 1, 1, 2 )
Else
StopSprite(Hold1)
SetSpriteFrame( Hold1,1)
StopSprite(Hold2)
SetSpriteFrame( Hold2,1)
StopSprite(Hold3)
SetSpriteFrame( Hold3,1)
StopSprite(Hold4)
SetSpriteFrame( Hold4,1)
StopSprite(Cancel)
SetSpriteFrame( Cancel,1)
Endif
Endif
EndFunction
We have a 1 in 3 chancce of an hold the first time and then if we get holds we have a 1 in 5 chance the second time.
The chip payout looks realistic and is great to place the coins in the slot but must admit i made a mistake with placing the ads.
not having used admob before i didnt know where exactly they would show. So i hide the ads when the screen is scrolling and place them at the top of the screen away from the chips on small devices so they are not in the way. On tablets they are always below the play area.
Where i went wrong is i didnt check for medium screen sizes.
so they are still at the bottom, i will alter my code to move them
to the top on medium size screens on the next update. When the game is quit it saves the chips to the credit side of the game.
Great idea on a button for people who dont want to drag them to the chip slot.
A soldier will fight long and hard for a bit of colored ribbon. ~Napoleon