Page 1 of 1

web engine 1.0

Posted: Tue May 04, 2010 4:31 pm
by hallsofvallhalla
Working on a good web RPG engine. Going to post my progress here, Just got started but here is character movement

keys
w = up
s = down
a = left
d = right


THIS DOES NOT WORK IN IE!!!!! It will but I am not wasting my time right now dealing with it.

http://forsakensanctum.com/webengine/test.php

Re: web engine 1.0

Posted: Tue May 04, 2010 4:39 pm
by OldRod
Cool :)

Re: web engine 1.0

Posted: Tue May 04, 2010 4:46 pm
by hallsofvallhalla
updated...you can now drag a dresser with the mouse :)

also I am using a game library to help with this so none of this is super spectacular but I plan on really expanding on this.

Re: web engine 1.0

Posted: Tue May 04, 2010 7:04 pm
by hallsofvallhalla
so my next step is to get it multiplayer, just going to make it where we can all join it and see each other.

I am 100% new to this. I have built browser games that players can talk and fight but not actually see real time update. Here is the plan.

Every move is update to the map table of a mysql DB using Ajax. Every second or two a ajax query fires off and hits the database and pulls down 3 fields in json format. Name, x position, and y position. You r client updates your screen after ajax recieves the data and parses the json.

I know this will work but have no idea how fast this will be. Not sure if xml or a text file will be faster but won't know without trying :)

Re: web engine 1.0

Posted: Thu May 06, 2010 9:39 am
by MAruz
Would be interesting if you could get 20-30 players on the same "zone" without too much trouble :) It worked very well with just that one character.

Re: web engine 1.0

Posted: Thu May 06, 2010 12:26 pm
by hallsofvallhalla
i hope today i can get the multiplayer code finished so we can all test it, well its finished but the other players keep disappearing, just got to fix that.

Re: web engine 1.0

Posted: Sun May 09, 2010 12:20 am
by hallsofvallhalla
sorry for my somewhat absence, kinda been prowling through engines trying to find something.

As a test I am trying to embed mirage client mmorpg maker into the browser. Will let you guys know how it goes. Would be neat to get it working then convert it to a more iso feel. Diablo in the browser anyone ;)

Re: web engine 1.0

Posted: Mon May 10, 2010 12:03 am
by hallsofvallhalla
wahoo I have embedded mirage(2d mmorpg) to the web browser! Much quicker than having to download and run a client and I can tie lots of game stats to the website for a much more massive feel and funner experience. I have shrunk the download to about 1 meg, will get a little bigger as I add stuff to the game but at max I am thinking 5 megs. Nothing compared to some websites and web games I have seen.

Will up date with pics soon.