One Bet At A Time
craps
Member Posts: 353
Almost done with my dice game. The current problem ( that I cant figure out ) is - i want the user to only be able to make a single bet of either $5,10,25,50 or 100. The betting system works - when a bet is chosen - the bet is subtracted from the bankroll - but if another denomination bet is "touched" it too subtracts from the bankroll.
I do not want that to happen. Only the first $$$ amount chosen should be subtracted from the bankroll not extra bets.
I do not want that to happen. Only the first $$$ amount chosen should be subtracted from the bankroll not extra bets.
Comments
Betplaced is 0
Touch is pressed
Then subtract the amount and change betplaced to 1.
Then after the dice have rolled and you want the player to bet again, have a rule to change betplaced back to 0.
I did my first performance tune-up
Before: 46 fps / 34.5 MB Images / 58 Total MB
1st Tune-up: 60 fps / 14.8 MB Images / 38 Total MB
2nd Tune-up: 61 fps / 12 MB Images / 34 Total MB
When at the GS home page that shows all the game scenes it says at the bottom right of the screen my project size is 5.8 MB.
Is that the actual game size?
When synced to my iPad it shows the following:
Images - 12 MB
Sounds - 112 Kb
Game Engine - 6.4 MB
Other - 16 MB
Total - 34 MB
The funny thing is - if I add up the total image sizes in the images section of GS - they only add up to 2.1 MB.
What do I believe?