I've been using MMF for almost three years now and I'm currently working on a game in which the players can create their own levels. Now I'm thinking about making it so that the game will automatically upload the player-created levels (about 1.3kb) onto an online database so that they can be downloaded by other players. I'm not really sure how to do it. To be honest, as of now I don't even have a webpage for the files to upload to.
I'm just wondering if there's some extension that will help me do this easily, because I'm not a programming expert. I just thought I would find out if it's possible before I get too involved in trying to make it work. Even if you don't know how to do it, simply pointing out another game in which you can upload files onto the internet would be really great.
Edited by the Author.
Assault Andy Administrator
I make other people create vaporware
9th April, 2006 at 06:19:54 -
One method would be to use moosock to connect to a php\asp script on a webserver. You could then tell this script the location of your file and make it upload. There are plenty of upload scripts for php, which are all very simple. Your server needs to support php however. To download them, other players can use the super download object (or one of the other many download extensions).
Since you don't have a webserver it would also be possible to host a server on your pc 24/7 and have other users send the maps to you and then you send them to other players using moosock's send binary function.
Either way, search the Clickteam forums for moosock binary file transfer and connecting to web scripts with moosock. Here's an example of how to connect to a web script with moosock:
It's for a highscore table, but it's same principle.