Page 2 of 2

Re: Privyet (hello)

Posted: Mon Apr 26, 2010 8:48 pm
by hallsofvallhalla
all of the main data is in move.js..i could possibly release the source with collisions added.

Re: Privyet (hello)

Posted: Wed Apr 28, 2010 8:33 am
by Bane_Star
When I click the arrows they don't work, the WASD does, but the images are delayed as much as 3 images before shifting to the correct set..

as to animation, I see at least 2, but intermittantly..

My game has a 3D isometric map which is dynamic, if a player decides to dig a tunnel, it changes the world, maybe it caves in or causes underwater flows to change.. this means that my map needs to be re-loaded for all moves..

I'm working on calling the 'edge' direction, an XML file which includes any changes and the edge of data not yet seen, its added to the div array, the Divs move according to the direction of the player movement, the character animates movement, the excess divs are cached (incase the player turns around, there is no need to re-load the entire line again) when the character moves at least 5 squares away from the cached data, its then cleared from memory..

Also incase multiple players are in the region, XML calls are cached on the server, which dramatically reduces server calls.

Anyway.. thats my concept, I'm still trying to work out ray tracing to collision detection for character light and visual range.. no point loading 15x15x10 objects into a map array if the character is in a 2x2x4 room with no windows, and a match.

Re: Privyet (hello)

Posted: Wed Apr 28, 2010 4:24 pm
by hallsofvallhalla
as the compass shows you use WASD keys not the arrows. I am not sure what you mean by 3 second delay. I have tested this from multiple places and multiple PCs and have never seen a delay. What Browser are you using?

Re: Privyet (hello)

Posted: Wed Apr 28, 2010 5:43 pm
by Bane_Star
not seconds, images..

when I press left, the image is left, but if I press right, its next image is still 'left' I press right again, and the next images is sometimes left, sometimes right, the third press right, is again, sometimes left, sometimes right.. but by the 4th press it has changed to right.

Hope that clarifies what I meant.

Re: Privyet (hello)

Posted: Wed Apr 28, 2010 5:57 pm
by hallsofvallhalla
so by left you do mean "A" key right?

I am not sure what you mean by sometimes left sometimes right. If I press left ( A Key) it shows a left image, if you press it again it shows another left image and cycles through those images. Not the fanciest I agree but works pretty good.

Re: Privyet (hello)

Posted: Wed Apr 28, 2010 6:32 pm
by Bane_Star
yes, I mean Left key.. no mine does not cycle through images, or if it does its so fast I cannot see it.. It goes from left image no.1 to left image no.2

the when I press 'D' it becomes left image no.1 (or 2) and when I press 'D' again, it becomes left image no.2 (or 3?) then I press it again and it becomes left image no.3 or right image no.1 .. I think thats what I mean..

Re: Privyet (hello)

Posted: Wed Apr 28, 2010 8:16 pm
by hallsofvallhalla
i have tested it multiple times and can't get it to go out of sync. That's weird. Oh well :)