2d browser web engine

Talk about game designs and what goes behind designing games.
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: 2d browser web engine

Post by hallsofvallhalla »

after much debate with myself on how I should do encounters I have decided to go the extra mile and make them real creatures walking around on the map. If you touch them you go into a tactical battle much like the old final fantasy's. I will post more info when(if) I get this working. :P
User avatar
SpiritWebb
Posts: 3107
Joined: Sun Jul 12, 2009 11:25 pm

Re: 2d browser web engine

Post by SpiritWebb »

Tested on IE 7...works there too! SWEET!


And cannot wait to see how the creatures moving on screen go! Will be a neat feature! :)
Image

Image
ZeroComp
Posts: 648
Joined: Thu Oct 29, 2009 8:48 pm

Re: 2d browser web engine

Post by ZeroComp »

Tested it and forgot the links didn't work yet :lol:
Coding-PHP, Javascript, C++, HTML, mySQL
Modeling/Art-Blender, GIMP
Games-Unity, Game Maker 8
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: 2d browser web engine

Post by Jackolantern »

If this was released as an engine, I think there would be a lot of interest in it. 8-)
The indelible lord of tl;dr
User avatar
Chris
Posts: 1581
Joined: Wed Sep 30, 2009 7:22 pm

Re: 2d browser web engine

Post by Chris »

Those PNGs are a pain in the ass. You should make a preload to load the char, it's very simple.

Code: Select all

<script type="text/javascript">

var imageArray =  new Array();
imageArray[] = "image1.png";
imageArray[] = "image2.png";

for( var url in imageArray )
{
    image = new Image();
    image.src = url;
}

</script>
Off the top of my head, that should work.
Another anoying thing is that the page reloads when you go into a new area. But I'm sure you already knew that :P. Some ajax will fix that.
Fighting for peace is declaring war on war. If you want peace be peaceful.
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: 2d browser web engine

Post by hallsofvallhalla »

I am currently using ajax to save all the characters positioning but reloading the page upon entering a new map helps fight cheating. It assures a server side action and reloads data.
Right now nothing is optimized so yeah its a little slow but thanks for the suggestions, I will give it a try when I start optimizing it.
User avatar
Chris
Posts: 1581
Joined: Wed Sep 30, 2009 7:22 pm

Re: 2d browser web engine

Post by Chris »

hallsofvallhalla wrote:I am currently using ajax to save all the characters positioning but reloading the page upon entering a new map helps fight cheating. It assures a server side action and reloads data.
Right now nothing is optimized so yeah its a little slow but thanks for the suggestions, I will give it a try when I start optimizing it.
You could assure a server side action using POST with ajax aswell.
Fighting for peace is declaring war on war. If you want peace be peaceful.
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: 2d browser web engine

Post by hallsofvallhalla »

no because you still need a client side update using javascript to the page. I would have to use Javascript for all my data output. The only truly secure way to reload the page is using PHP and leaving the output through PHP. Once the code is optimized the page refresh won't be so noticeable.
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: 2d browser web engine

Post by hallsofvallhalla »

I have decided to turn this into a game creation engine. A product where you can make your own games with it with tools and such.
User avatar
SpiritWebb
Posts: 3107
Joined: Sun Jul 12, 2009 11:25 pm

Re: 2d browser web engine

Post by SpiritWebb »

hallsofvallhalla wrote:I have decided to turn this into a game creation engine. A product where you can make your own games with it with tools and such.
Very nice!! :)
Image

Image
Post Reply

Return to “Game Design”