web engine 1.0

For discussions about game development that does not fit in any of the other topics.
Post Reply
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

web engine 1.0

Post 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
User avatar
OldRod
Posts: 1320
Joined: Sun Sep 20, 2009 4:26 pm

Re: web engine 1.0

Post by OldRod »

Cool :)
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: web engine 1.0

Post 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.
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: web engine 1.0

Post 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 :)
User avatar
MAruz
Posts: 117
Joined: Fri Nov 20, 2009 12:31 pm

Re: web engine 1.0

Post 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.
PHP, Java, JavaScript, HTML, CSS, XML, MySQL / Oracle
Photoshop, Illustrator
www.cuddly-zombie.com
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: web engine 1.0

Post 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.
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: web engine 1.0

Post 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 ;)
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: web engine 1.0

Post 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.
Post Reply

Return to “General Development”