Management games like Farmville possible?

Get help using Construct 2

Post » Fri May 18, 2012 3:38 pm

Hi there! I did use search to try and find an answer, but 'management', 'building game' and 'strategy' didn't bring up what I was looking for

I'm wondering if it is possible to make a game like Farmville / Skyscraper City / Simcity in Construct 2.

Basically; select a grid reference, menu comes up, buy something for that spot, it appears there. If it's there at a certain time interval, you get XYZ money added to your bank.

That kind of thing!

Thanks in advance.

Kuggar
B
5
Posts: 5
Reputation: 685

Post » Fri May 18, 2012 7:08 pm

Try doing a search for farmville and you'll find plenty of threads discussing whether such a game can be built in C2. Essenatially, yes you can create the simulation/management game. The difficulty is when you add in the social networking aspects of the game.

The latest such threads:

Simulation Games Like Restaurant City

Can C2 Make Social Gameskittiewan2012-05-18 19:09:45
B
29
S
11
G
12
Posts: 281
Reputation: 11,878

Post » Fri May 18, 2012 8:29 pm

Thank you very much for your reply! You answered my question perfectly.

Although, sorry, I should have added that it would be a single player game. I have no intention of making it a social networking one.

Just want to break in to the Apple market as a kind of 'thing on the side' of my regular, boring job

Who knows what'll happen!

Thanks again!
B
5
Posts: 5
Reputation: 685

Post » Fri May 18, 2012 9:01 pm

if you dont store the info outside the device somehow youll have to depend on webstorage which is local and subject to hacking and removal. Then all that info is invalid or lost

So even if you make a single player time management style game youd prolly still need to do per player online storage
B
13
S
5
G
2
Posts: 306
Reputation: 3,262

Post » Fri May 18, 2012 10:09 pm

You will need to build a back end using whatever language you are comfortable with and then access it via the ajax plugin. You will need to set up authentication as well, the safest way to do that is using oauth.

The most common frameworks for developing social game backends from scratch are:

Node.js (Javascript) and Tornado (Python)
You could probably use PHP but it will get messy fast, it will be allright for prototyping though.

For databases the usual suspects; mysql, postgresql and MongoDB will all work.

That's just my 2 cents worth.

B
16
S
2
G
4
Posts: 67
Reputation: 3,295

Post » Fri May 18, 2012 10:41 pm

or you can make a non-hack system ..
in theory it should work , but i didn't test it in real life :
You make a variable backup that saves your money when you do something that make you get money ( for example ) and you add your variable money and you save it in the local storage , and when the money backup variable is not the same as the money variable , you will know that the user hacked and you will erase all data
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Wed May 23, 2012 3:31 am

Thank you all for all the info :D

For the single-player game, I don't mind if someone hacks the money to give themselves everything. I won't be putting up a scoreboard or anything.

I will take in to account everything you guys have said when I make a social-type game, with scoreboards, DLC, etc.

Thanks again!
-Kuggar
B
5
Posts: 5
Reputation: 685

Post » Sun Aug 28, 2016 2:29 pm

mikepixie wrote:You will need to build a back end using whatever language you are comfortable with and then access it via the ajax plugin. You will need to set up authentication as well, the safest way to do that is using oauth.

The most common frameworks for developing social game backends from scratch are:

Node.js (Javascript) and Tornado (Python)
You could probably use PHP but it will get messy fast, it will be allright for prototyping though.

For databases the usual suspects; mysql, postgresql and MongoDB will all work.

That's just my 2 cents worth.


How do I connect MongoDB to Construct 2?
B
4
S
1
Posts: 8
Reputation: 470


Return to How do I....?

Who is online

Users browsing this forum: blackhornet, Skebab, Yahoo [Bot] and 15 guests