Jump to content
MakeWebGames

Recommended Posts

Posted

Ive been messing around with the curency for these games and Ive made more than 1 curency but how do i get it so they can work together

 

example:

in a shop there is a item that costs ?9.99 u pay with a ?10 and get 1p back

i want 3 or 4 diffrent currency's that all work together

can anybody help or explane what i want better than me lol

Posted

Re: multi curency

i want 3 or 4 diffrent currency's that all work together

Your probably gonna need to create some form of "exchange" system so if your account is currently in $'s and you want to change it to say pounds or yen... To make the game more interesting you could have this change but then your players might get annoyed.

You'd also need to automatically work out the prices for the items in say Yen aswell as US. Your idea is good but i would say quite hard to implement across a hole game.

Posted

Re: multi curency

You could create a currencies table and save the exchange rate (so like 0.93) and the currency char (?,$ ect) and in every place just multiply the cost of anything by the exchange rate. Im sure it wont be hard to set up, just take a lot of file edits.

Posted

Re: multi curency

my game is set in a wasteland after a nukular war i was going to have bottle caps and ring pulls so i could have a item that will cost say 4 bottle caps and 6 ring pulls

does that make more sence?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...