Smartfox Servers, parse.com and some help

Discuss game development design and post your game ideas

Post » Tue Jul 12, 2016 7:48 pm

Message: m1ch43l can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Could somebody give me a short introduction to / assessment of the handling of Smartfox servers?

Like I mentioned in my post
https://www.scirra.com/forum/how-do-i-gt-browser-game-lt_t178985, I’m searching for a central server solution for an online browser game.

When searching terms like “Browser Game”, “Game Development” or “Gameserver Engine” I’ve come across SmartFox servers (LINK).

Does a browser game even require a server engine or do you have any other suggestions?
B
5
S
1
G
1
Posts: 15
Reputation: 851

Post » Fri Jul 15, 2016 3:27 pm

We use Amazon Web Services virtual servers and then install Apache Web Server to distribute our html files.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822

Post » Mon Jul 18, 2016 10:08 am

Hi @gumshoe2029,
thanks a lot for your answer. However, I’m searching solutions for a Multiplayer Browser Game that is server based. The export of a single-player game or the presentation via webserver are not my problems.

Like I mentioned in my article, I’m searching for a backend service.
B
5
S
1
G
1
Posts: 15
Reputation: 851

Post » Mon Jul 18, 2016 2:36 pm

RIght. You can do more than just distribute HTML files. We have an entire backend Java servlet system running. Around 20,000 lines of server-side code right now.

SmartFox is an option, but I prefer AWS because they offer us more capability than SF.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822

Post » Mon Jul 18, 2016 3:17 pm

My main problem in Post: "https://www.scirra.com/forum/how-do-i-gt-browser-game-lt_t178985"
m1ch43l wrote:Hi,

after I was searching for a while the forum and couldn’t find any solution for my problem, I’ll just ask my question here.

I’ve started to design a browser game, beginning with some mind storming and working on paper. In the process I encountered a new problem I wasn’t thinking of before. The server.

So far, I haven’t figured out any approach to handle the actions of all players on one server.

In a single player game, it would suffice to read or write distinct data online of a SQL server.

But how can I make global actions possible?
The original idea was that some actions of the users were to be executed at 5 minute intervals, e.g. resource allocation.
Of course, all actions should be continued while the user is offline.
B
5
S
1
G
1
Posts: 15
Reputation: 851

Post » Mon Jul 18, 2016 4:00 pm

Yea, what you are asking is called "maintaining game state."

How we do this is with Java servlets that all operate on the basis of one database that maintains all of the game state. From here our API program dips into the database and gives information to each client.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822

Post » Mon Jul 18, 2016 5:50 pm

So I just need an Apache webserver, a SQL server and I had to learn the basics of JavaScript?

Do you know any tutorial I could use for a start? I have difficulties to find a good approach.

Thank you very much @gumshoe2029 for your help!
B
5
S
1
G
1
Posts: 15
Reputation: 851

Post » Wed Jul 20, 2016 2:40 pm

You may potentially need a backend programming language too, like PHP, Python, or Java. Something for Construct to talk to.

If you are hell-bent on connecting to a database using JavaScript, it is possible but not recommended.
http://stackoverflow.com/questions/8576 ... he-browser

PHP is by far the easiest server-side language to learn though and Google has tons of resources.
https://www.google.com/search?q=javascr ... e+tutorial
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822

Post » Fri Jul 22, 2016 8:39 am

Thanks @gumshoe2029.

The easiest way for simple applications is a separate SQL Server and PHP with AJAX. :arrow: I will try that.


Does anyone have suggestions and tips, Backend service is absolutely new territory.
B
5
S
1
G
1
Posts: 15
Reputation: 851

Post » Fri Jul 22, 2016 3:08 pm

Make sure you implement object oriented principles in your code. Otherwise you will end up with a tightly integrated system with unmaintainable code and where bugs propagate wildly through your code.

http://searchsoa.techtarget.com/definit ... rogramming
https://docs.oracle.com/javase/tutorial/java/concepts/
https://www.youtube.com/watch?v=lbXsrHGhBAU
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822


Return to Game Development, Design & Ideas

Who is online

Users browsing this forum: SubtleCoder and 0 guests