Page 1 of 4

2d browser web engine

Posted: Mon Jan 18, 2010 5:40 pm
by hallsofvallhalla
well I decided to start on a 2d browser based engine much like eclipse but built in the browser. It will have less features per say but more adaptability to php and JS for far more feature options. Also no download and runs right in the browser.

I will use QOC as the test game and here is what I have so far.

Image

yes the character can walk around but no collisions are not done. Working on them next.

Re: 2d browser web engine

Posted: Mon Jan 18, 2010 10:04 pm
by Jackolantern
Wow, nice stuff so far!

Re: 2d browser web engine

Posted: Mon Jan 18, 2010 10:06 pm
by hallsofvallhalla
to be honest with you i wasn't sure it would be very possible to make a collision system based on a background image like I have above but I managed to do it! I will throw a demo up tonight but basically each map has a 208 point database driven collision system.

Basically the database pulls the appropriate map depending on the players location then builds the collisions from the same table using a boolean process. It is still a little off due to pixels not lining exactly but its getting there :)

Re: 2d browser web engine

Posted: Tue Jan 19, 2010 12:49 am
by ZeroComp
Is the map like Forsaken Sanctum where you have to click on squares or WASD movement?

Re: 2d browser web engine

Posted: Tue Jan 19, 2010 1:20 am
by hallsofvallhalla
wasd movement in real time, just like eclipse.

Re: 2d browser web engine

Posted: Tue Jan 19, 2010 3:14 am
by ZeroComp
SWEET!

Re: 2d browser web engine

Posted: Tue Jan 19, 2010 8:16 am
by D3luxe
Impressive Halls!

Nicely done :)

Re: 2d browser web engine

Posted: Tue Jan 19, 2010 2:32 pm
by hallsofvallhalla
had a hospital emergency with the family last night so I didn't get a chance to get anything up, but will shoot for today.

Re: 2d browser web engine

Posted: Tue Jan 19, 2010 3:06 pm
by SpiritWebb
hallsofvallhalla wrote:had a hospital emergency with the family last night so I didn't get a chance to get anything up, but will shoot for today.
Hope everything is ok!

Re: 2d browser web engine

Posted: Tue Jan 19, 2010 5:59 pm
by hallsofvallhalla
you can now test it

http://indie-resource.com/QOC/login.php

username: test
password: test

it seemed to have a delay on loading with me but it could have been all the garbage I had running. I may need to optimize the code.

Collisions are working just not perfect. None of the links work, Just use the WASD keys to walk around and let me know what you think.