Hi there. I'm looking to create a textbased browser game based on my old favorite anime. I figured out the basic structure of the data, but i've got one problem. is there a way to set the data up where a single user can have several of one item, each one upgradable seperately? I would appreciate any help.
writerervin
0
Newbie Poster
Recommended Answers
Jump to PostThis is just a suggestion but maybe it'll be the key to you figuring it out.
Keep an 'items' table containing all the items in your game with a structure like:
id, type, upgrades, owner
Then you could just fetch all items with a certain type and a certain …
Jump to PostWhat do you mean by hard coding something into a table?
All 7 Replies
Insensus
52
Junior Poster
writerervin
0
Newbie Poster
Insensus
52
Junior Poster
writerervin
0
Newbie Poster
Insensus
52
Junior Poster
writerervin
0
Newbie Poster
8g2h8bt9
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.