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
web engine 1.0
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: web engine 1.0
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.
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.
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: web engine 1.0
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
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
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.
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: web engine 1.0
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.
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: web engine 1.0
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
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
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: web engine 1.0
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.
Will up date with pics soon.