Doodman Posted June 15, 2011 Author Share Posted June 15, 2011 Hey there, im a complete noob at coding (hoping to change that soon) so ive just been making tiles for a new gameSo to the point, i was wondering if there was a way to instead of having a certain item ( lets say a potion) from costing X amount of coins, have it like Potion A costs X coins, but also 3 rocksor something like thatI need this because i was gonna make a kind of enchant/ upgrade system, where you take a sword, and some kinda upgrade stone and use them to buy the upgraded sword from some kinda shop.If theres some kind of tutorial i would appreciate it greatly if you could supply the link.And if not, just tell me in a kind of vague sense how i would do this, and then i can try and figure out the coding after ive learned a buttload of it ;D Link to comment Share on other sites More sharing options...
aaaron Posted June 15, 2011 Share Posted June 15, 2011 I answered this one before. ;)http://www.touchofdeathforums.com/smf/index.php/topic,72605.msg779919.html#msg779919You would need to code in an extra cost feature in the shop, etc. Link to comment Share on other sites More sharing options...
Helladen Posted June 15, 2011 Share Posted June 15, 2011 There's an old tutorial for this that you will have to tweak to work. Try looking in the source tutorial part of the forums. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now