Client based oGame like Game - working?

Posted By: Espér

Client based oGame like Game - working? - 06/17/11 06:22

Hi there...

i'm owner of ANet Pro, and i'm a great Fan of Games like oGame, Space Pioneers or Stronghold Kingdoms.

My Question is:
Is a Game like that (just not Browserbased) possible?

My Idea:
I've a server with the mysql table etc on it, and a little A8 Project with ANet, wich always just manages the Server (counting up time, adding ressource, calculating matches).
And the players use client Games on their Computer, to build and send/load datas from the table.

I think it would be a nice Game, but i don't know if it's a good idea, or if it will work with A8+ANet.

thanks for your opinions..
Posted By: Sajeth

Re: Client based oGame like Game - working? - 06/18/11 07:00

Yes, why shouldn't it be possible?
Although I really wouldn't do that with Acknex.
Posted By: MasterQ32

Re: Client based oGame like Game - working? - 06/18/11 08:05

Hey Esper!
It's a little confusing to program that but my actual project is a game that uses a similar idea.
I can give you advice and help with communication.

Simply contact me per PM and i'll help you.

Btw.: Atm my project has a login, user management with mysql and some user data stored. also i've got a app system which allows the user to load apps into the game and use them there. i've got only one app developed and this app can also send data to other clients (it's a chat)
All communication things are done with structs and native gs, but afak you can port my system easily to anet without any problems...

Greets Felix
Posted By: Germanunkol

Re: Client based oGame like Game - working? - 06/18/11 08:40

I agree with Sajeth... if you want to make a browser game, don't use acknex?
oGame was all browser-based as far as I remember, maybe even all html?
I would never use acknex for that...
Posted By: Espér

Re: Client based oGame like Game - working? - 06/18/11 09:10

I said.. NOT browserbased..

The Game will use a Client game, that a User can download.
The Game just sends http_posts to PHP Scripts, wich works with the database and back.

Same principle as in Stronghold Kingdoms.
This will allow us to create a 3D Game, with the realtime system of a Browsergame.

Edit:
Found out the way to load the date() from the server via ANets http..
Posted By: Germanunkol

Re: Client based oGame like Game - working? - 06/18/11 13:14

Ok, I think I understand what you mean now. You want to use an acknex rendering engine for a strategy game with loads and loads of players.
Yes, that is possible.

Depending on the number of players though, you might need to distribute them across multiple servers. I advice you to do a stress-test (lots of http requests that require the server to check something in the database, calculate something and then send the answer back from multiple clients). Then see how long it usually takes to respond.

Otherwise you might just be wasting lots of your time if you find out at the end that the database searching or sending is too slow.
© 2024 lite-C Forums