Game Help

Posted by slevin49 on June 1, 2007, 5:03 a.m.

OK I've created a new game, it's a racing simulation game where you watch a race from above and bet on the car you think will win.

Each car has different odds and different chances of winning, I have all that figured out but heres my problem.

I need to know how I can make a betting system for my game so that the user starts with so much cash/points and can enter his/her bid into a box and choose the car which he/she thinks will win, and then win/lose money depending on the outcome.

Im not very good with coding so if it is possible without coding could you please tell me how, if it is only possible with coding i may need a lot of explanation.

P.s. I don't have the registered version.

also heres the download link for the game so far: http://64digits.com/users/slevin49/slevin_racing.zip

—–

I may be willing to give you the *.gm6 file so you can do it for me and when you give me it back I will add some credits to the game and mention your name in them, just don't use any things which are only available in the full version as I want to see how you did it.

If you want to try to do it for me and be included in the credits then PM me.

Thanx Slevin49

Comments

frenchcon1 16 years, 11 months ago

Quote:
P.s. I don't have the registered version.

Go get registered, or no-one will help with anything.

slevin49 16 years, 11 months ago

thanks for that comment, but I think people here are kind enough to help me even though i don't have registered version yet, I will probably get it registered in future when im a bit more experienced though.

Kaz 16 years, 11 months ago

Wait wait, you created smart enough ai so that the same car doesn't win each race, but you can't make a simple money system?

slevin49 16 years, 11 months ago

Quote:
Wait wait, you created smart enough ai so that the same car doesn't win each race, but you can't make a simple money system?
yep, thats about the size of it. should I be embarressed?

anyway, any ideas on how I could create the betting system

TCHRacoon 16 years, 11 months ago

WTF you are awarded for 2 finished games but haven't make any jet???!!!

slevin49 16 years, 11 months ago

Quote:
WTF you are awarded for 2 finished games but haven't make any jet???!!!
I also noticed that, I have two finished games in the queue so I think it must be counting them.

Anyway, any ideas on how I could do the betting system?

bjozzi 16 years, 11 months ago

ok you will have to do it with coding heres how:

add an obect call it objBet

also make a font and name it fntBet

now in the create event add this:global.Money=150

now add two events:(key press up and key press down)

in the down add this: global.Money-=10

and the up will be: global.Money+=10

now add this in the draw event:font_get_fontname(fntBet)

draw_text(400,416,'Money = ' + string (global.Money))

now you can add objBet in the room an see as you can lower the bid on 10 buy pressing down and higher it by using up… hope this will help you and feel free to edit, if you need any more help just pm me

bjozzi 16 years, 11 months ago

*by sorry not buy

slevin49 16 years, 11 months ago

OK, ill play about with that a bit when I get back on my other computer and if I have any problems I will PM you (probably tomorrow)

thanks