jQuery is a cross-browser JavaScript library that facilitates DOM traversal, event handling, animation and AJAX interactions.
0
votes
0answers
29 views
Create a 2D isometric map [on hold]
I'm working in a navigator-game, I need create a 2D isometric map. I saw pp3diso to allow this. My question is if exist another library (jquery, php, javascript, etc.) to allow do this, another more ...
0
votes
1answer
36 views
jQuery - calculate map polygon Width and Height
Let's say I have this map:
<map name="diffmap1" id="diffmap1" class="myMap">
<area shape="poly" coords="152,347,253,292,264,307,167,358" class="diff diff1">
<area shape="poly" ...
0
votes
1answer
28 views
jQuery - div border around map area
Let's say I have this map:
<map name="diffmap1" id="diffmap1" class="myMap">
<area shape="poly" coords="152,347,253,292,264,307,167,358" class="diff diff1">
<area shape="poly" ...
0
votes
1answer
40 views
setting a time delay between two frame when animation a sprite sheet
this is my jsfiddle :http://jsfiddle.net/Z7a5h/
As you can see the animation of the sprite sheet when the player is not moving is too fast so i was trying to make it slow by declaring two variable ...
0
votes
1answer
81 views
How to change the start position of my 2D game
I am trying to create a game where you have to move a ball on a platform. At the start of the game, the ball is dropped on the platform and then you can move it around. This is al working, no problems ...
3
votes
4answers
372 views
How do I write a simple 2-player server?
I've recently started learning JavaScript and HTML and developed simple 2-player game such as tick-tack-toe, battleship, and dots & boxes. However, these 2P games can only be played on one ...
-1
votes
1answer
270 views
View port for my canvas game
I am developing a canvas game, and im struggling to get my head around how i can make a view port so when the character moves the world moves with it.
Unlike traditional 2d maps built with arrays i ...
4
votes
1answer
378 views
Working principle of an RPG map
I am currently thinking of building a basic browser-based 2D(that would eventually become 2.5D) RPG. I have planned everything and I think that would be able to accomplish the current goals, but it ...
-1
votes
2answers
221 views
Game library for 2D animation JS browsergame [closed]
I am developing a 2D multiplayer online browsergame.
On the backend I have set up a Node.js server. Everything works perfectly.
On the frontend I will use jQuery and several libs for collision etc. ...
2
votes
2answers
861 views
Receiving keyboard events on a canvas in Javascript
I need to receive keyboard events in a canvas element. Click events are received but key presses aren't.
Here is my code which doesn't handle key events:
var canvasElm = $('canvas');
...