Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

1075918 Posts in 44152 Topics- by 36120 Members - Latest Member: Royalhandstudios

December 29, 2014, 03:02:58 PM
TIGSource ForumsDeveloperTechnical (Moderators: Glaiel-Gamer, ThemsAllTook)User-Generated Content
Pages: [1]
Print
Author Topic: User-Generated Content  (Read 552 times)
TheLastBanana
Level 8
***



View Profile WWW Email
« on: December 30, 2011, 04:47:21 PM »

I'm working on a Flash game which is targeted to smartphones and tablets. I'm considering including a level editor, but I have no experience with level sharing systems. The game is a puzzle game with fairly simple levels, so a level would be 10-20 KB tops.

These are my main questions:
  • What kind of specs would a server need for this?
  • Are there any services set up specifically for hosting something like this?
  • Has anybody made a framework for communicating with the server (uploading and downloading levels and the like) or would I need to build one from scratch?
  • Is this even worth doing on a smartphone/tablet platform?

Any help is appreciated!
Logged

X-Tender
Level 1
*



View Profile WWW
« Reply #1 on: December 31, 2011, 03:13:35 AM »

  • What kind of specs would a server need for this?
- It depends how many useres Acces your Database (and how Often) I think for Testing an usual Server mit PHP and MySQL is enough,
  • Are there any services set up specifically for hosting something like this?
PHP & MySQL Databases
  • Has anybody made a framework for communicating with the server (uploading and downloading levels and the like) or would I need to build one from scratch?
I use AMFPHP for communication between Flash and PHP/Database
  • Is this even worth doing on a smartphone/tablet platform?
Sure, why not? Smiley
[/list]

You can Save the User generated Data easyly as Binary Blobs.
Logged

TheLastBanana
Level 8
***



View Profile WWW Email
« Reply #2 on: December 31, 2011, 11:37:05 AM »

Quote
It depends how many useres Acces your Database (and how Often) I think for Testing an usual Server mit PHP and MySQL is enough,
I guess my question here is more along the lines of how much bandwidth, processing speed, hard drive space, etc. I'd need. Obviously that's a difficult guess to make, since there's really no way to know unless you can see how many people are going to access it monthly, but if somebody who's run a setup like this has any ballpark figures, that would be nice.

Quote
PHP & MySQL Databases
By "services" I meant hosting services, but yeah, I'm definitely going to need to learn a bit more about PHP and MySQL.

Quote
I use AMFPHP for communication between Flash and PHP/Database
Ah, that looks like it could come in handy. I'll definitely look into that a little more.

Quote
You can Save the User generated Data easyly as Binary Blobs.
Yeah, that's the plan. The game is grid-based, so it should be very easy to set up.

Thanks for the advice! Smiley
Logged

Fallsburg
Level 10
*****


Fear the CircleCat


View Profile
« Reply #3 on: December 31, 2011, 02:38:44 PM »

You can save the levels as pngs and upload to some pre-existing photo hosting site.
Logged
st33d
Guest
« Reply #4 on: January 01, 2012, 08:42:41 AM »

Hah hah, that's pretty clever.

You could also hide key value data in the image with this special png encoder:

https://github.com/nitrome/PNGEncoder

I had to do some research into reading and writing metadata into a png for a game I worked on. I needed extra data in the image but without affecting the image.

Hell, so long as it's a redundant chunk, you can shove any old data into a png without affecting the image.
Logged
TheLastBanana
Level 8
***



View Profile WWW Email
« Reply #5 on: January 01, 2012, 11:38:33 PM »

Ah, yeah, I remember reading about that. Certainly a clever way of doing it.
Logged

Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic