Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this questionI'm storing a variety of variables containing statistics, items weapons, etc in a flash based game. Currently I'm using PHP and AMFPHP as a backend, calling services to pull the data. This is fine for my own machine, even my own website, however if I want to deploy the game to a site such as Kongregate or ArmorGames, what storage method can I use at that point?
I have a small preference of continuing to use a database such as MySQL because I spent some time designing the ER diagram and schema, but if I have to store in a flat file, I can do that too. I'm especially interested in others who have deployed games which have data storage (such as inventory, characters, classes, items, mobs) external to their game.
Edit: Looking for answers as to whether people use remote services or another solution for deploying their games to sites such as this.开发者_运维问答
Perhaps you should peruse the documentation of the respective providers:
http://www.kongregate.com/developer_center/docs/shared-content-api
Not sure if armor games has any of that type.
I asked within Kongregate's developers, the answer is yes, I can use remote web services. The API unfortunately had nothing in it dealing with this issue.
You could use our backend Flox http://gamua.com/flox/. It allows you to store your inventories, characters, etc. It's not MySQL but based on a NoSQL database. However, since you'd be using the AS3 SDK, you would not get in touch with the DB anyway.
Also, I should mention that I am the lead developer of Flox, which may make me a bit biased. ;-)
精彩评论