Jump to content

How to make a backend for my game


totallybueno
 Share

Recommended Posts

Hi there,

so I´m making a game and I need to build a basic backend for it, but probably my php skills and time are not gonna be enough, so I wanted to ask if you guys know a tool/website/cloud service... or something like that where I can create my backend.

 

It´s not a big deal, the users can register and upload 5 pictures (and edit/delete those pictures) Do you know any service to do that?

 

 

Thanks in advance.

Link to comment
Share on other sites

I've looked into backend solutions a while back, if you don't want to roll your own server with Heroku/AWS/Digital Ocean, the three ideal ones with different pros/cons that I settled with was Parse.com, Firebase.com or Google App Engine. App Engine is a bit of a beast, Firebase is extremely easy to use since you can access it like json (and Google just purchased them so you know they'll be around at least). Parse is well documented with a lot of options and a very generous amount of storage/access for free to get you started/growing; it's also backed by Facebook so its stable as well. In my opinion, Parse has the best features for the price points, especially for indie, and they have many different language sdks, allowing you to stay in the environment you want to use. HTH

Link to comment
Share on other sites

  • 3 months later...

Hi there,

so I´m making a game and I need to build a basic backend for it, but probably my php skills and time are not gonna be enough, so I wanted to ask if you guys know a tool/website/cloud service... or something like that where I can create my backend.

 

It´s not a big deal, the users can register and upload 5 pictures (and edit/delete those pictures) Do you know any service to do that?

 

 

Thanks in advance.

 

I can suggest you AppWarp cloud service. AppWarp supports creation of Multiplayer games. It has features like Rooms, Lobby, MatchMaking, etc. Here is a tutorial for creating multiplayer game/app in HTML5 http://appwarp.sheph...pp-walkthrough/

 

Thanks

Link to comment
Share on other sites

  • 1 year later...

ok, i have some experience. instead of using 3rd party tools, try coding one by yourself.

A backend in PHP is quite simple.

1) It has a request handler to accept a POST call

2) For uploading the images, convert them into a base64 string format.

3) For retrieving the images, decode them using the reverse

4) Testing on localhost is easy with XAMPP/MAMP

5) Deploying - this is the tricky part, because each cloud service has it's own way of interpreting the code. I recommend using Digital Ocean, which is a solid VPS on low cost. It's like a copy of your computer running on the cloud.

Hope this helps!!!!!!!!!! 

Link to comment
Share on other sites

Hello, I recommend a Platform as a service solution (PaaS) for backend projects, instead of the microservices methods that the other members here suggested. For example, Heroku and PHP make a very good combination. Sure, there is vendor dependency, but you'll find starting up a lot quicker. They have excellent support and a big community.

https://devcenter.heroku.com/articles/getting-started-with-php#introduction

The counterargument is that if someone already has a neat template or process of firing up EC2/Digital Ocean instances with their backend code, then PaaS is less relevant.

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...