
11. unknown by ultrav33
Re: 11. unknown by ultrav33
I am very good in writing scripts, no matter if it is basic, c, pascal or whatever. I know gamemaker uses a language that is very close to C/C++, so no problem. But as I don't know how gamemaker works, I don't where you can add a script. In most compilers there is an OnClick event. Also a mouse event could be usefull, as long as I can write a script for it 

Re: 11. unknown by ultrav33
That's great, but not usable for the onclick event
Just one remark:
You wrote:
if system.betmoney < score {
show_message( "You need to bet more then you current balance." ) }
That's sounds not correct.
Maybe better: (I suppose score = your current balance)
if system.betmoney > score {
system.betmoney = score}
(thus when the gamer makes a too high bet, the max will be taken as bet)
Just one remark:
You wrote:
if system.betmoney < score {
show_message( "You need to bet more then you current balance." ) }
That's sounds not correct.
Maybe better: (I suppose score = your current balance)
if system.betmoney > score {
system.betmoney = score}
(thus when the gamer makes a too high bet, the max will be taken as bet)
-
- Posts: 34
- Joined: Mon Sep 29, 2008 10:57 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
Re: 11. unknown by ultrav33
by the way, i dont think there is a 1 click event in game maker, so i dont know what you are talking about.
Re: 11. unknown by ultrav33
if
score=.002*system.betmoney
(every chip will give you 0.002 * bet)
works, then I can write a good script for you.
score=.002*system.betmoney
(every chip will give you 0.002 * bet)
works, then I can write a good script for you.

-
- Posts: 34
- Joined: Mon Sep 29, 2008 10:57 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
Re: 11. unknown by ultrav33
it works, should i put this on every chip?
Re: 11. unknown by ultrav33
yes if you can do that. 
BTW I hope I used the right syntax.
maybe it had to be: i:=random(51); instead of i=random(51);

BTW I hope I used the right syntax.
maybe it had to be: i:=random(51); instead of i=random(51);
Return to “Casino Games Contest”
Who is online
Users browsing this forum: No registered users and 1 guest