11. unknown by ultrav33

Image
User avatar
Rudy
Caiman Moderator
Posts: 2704
Joined: Sat May 31, 2008 7:42 pm
Location: Belgium
Contact:

Re: 11. unknown by ultrav33

Postby Rudy » Sun Oct 05, 2008 2:39 pm

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 :D

ultrav33
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

Postby ultrav33 » Sun Oct 05, 2008 2:49 pm


User avatar
Rudy
Caiman Moderator
Posts: 2704
Joined: Sat May 31, 2008 7:42 pm
Location: Belgium
Contact:

Re: 11. unknown by ultrav33

Postby Rudy » Sun Oct 05, 2008 2:57 pm

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)

ultrav33
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

Postby ultrav33 » Sun Oct 05, 2008 3:03 pm


ultrav33
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

Postby ultrav33 » Sun Oct 05, 2008 3:06 pm

by the way, i dont think there is a 1 click event in game maker, so i dont know what you are talking about.

User avatar
Rudy
Caiman Moderator
Posts: 2704
Joined: Sat May 31, 2008 7:42 pm
Location: Belgium
Contact:

Re: 11. unknown by ultrav33

Postby Rudy » Sun Oct 05, 2008 3:09 pm

if
score=.002*system.betmoney
(every chip will give you 0.002 * bet)
works, then I can write a good script for you. :)

ultrav33
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

Postby ultrav33 » Sun Oct 05, 2008 3:22 pm


User avatar
Rudy
Caiman Moderator
Posts: 2704
Joined: Sat May 31, 2008 7:42 pm
Location: Belgium
Contact:

Re: 11. unknown by ultrav33

Postby Rudy » Sun Oct 05, 2008 3:32 pm


ultrav33
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

Postby ultrav33 » Sun Oct 05, 2008 3:36 pm

it works, should i put this on every chip?

User avatar
Rudy
Caiman Moderator
Posts: 2704
Joined: Sat May 31, 2008 7:42 pm
Location: Belgium
Contact:

Re: 11. unknown by ultrav33

Postby Rudy » Sun Oct 05, 2008 3:39 pm

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);


[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

Return to “Casino Games Contest”

Who is online

Users browsing this forum: No registered users and 2 guests