Page 1 of 1

real time development

Posted: Tue Jun 22, 2010 8:20 pm
by hallsofvallhalla
Whoa was a huge hurdle but I finally got a real time map system! Players can see each other as they move, can see as others mine, harvest, hunt, build, ect..

not much to show but this map builds from the database and Ajax pulls using a tick system to keep the map updated.

Image



this project I believe I will see to the end ;)


i will throw up a test page once i get the player system kinks worked out.

Re: real time development

Posted: Tue Jun 22, 2010 10:05 pm
by SpiritWebb
Look forward to seeing it completed! W2G on the real time visual...

Re: real time development

Posted: Tue Jun 22, 2010 11:51 pm
by rockinliam
This is brilliant, i think you have got the base for not just a successful game, but also as a game engine if you were gunna head in that direction with this project. I would be definitely be interested in working with an engine like this if i wanted to build a game like this.

Re: real time development

Posted: Thu Jul 01, 2010 9:20 pm
by Chris
I once made something like this and ran it from my home computer, got about 35 people to log in. It ran really slow and then it failed.

If you are going to run something like this I'd suggest you use a lightweight langauge, not PHP as I did, or you could use a really fast server.

Re: real time development

Posted: Thu Jul 01, 2010 10:07 pm
by hallsofvallhalla
the php is only one query and about 4 lines of code but I have a feeling you are right. I have not had a chance to test it fully.

Re: real time development

Posted: Fri Jul 02, 2010 10:33 pm
by Jackolantern
hallsofvallhalla wrote:the php is only one query and about 4 lines of code but I have a feeling you are right. I have not had a chance to test it fully.

Halls, I still really think you should check out gameQuery. I just have a feeling that there may be some way to unload more of the non-mission critical and non-exploitable logic into the client to help ease the data transfer, lag and sever load.

Re: real time development

Posted: Sat Jul 03, 2010 7:15 am
by hallsofvallhalla
i am looking at it, just been real busy lately , thanks!

Re: real time development

Posted: Sat Jul 24, 2010 12:02 pm
by kaos78414
Jackolantern wrote:Halls, I still really think you should check out gameQuery. I just have a feeling that there may be some way to unload more of the non-mission critical and non-exploitable logic into the client to help ease the data transfer, lag and sever load.
I just checked out gameQuery! Very interesting stuff! I may be able to use it for some of my mini-games, or for the battle system. A couple of the demo's were a little laggy though