Questions tagged [jquery]
jQuery is a cross-browser JavaScript library that facilitates DOM traversal, event handling, animation and AJAX interactions.
24 questions
0
votes
0
answers
140
views
How to move a character from 1 to 3 squares on a grid?
I need to make a turn based game in js and jquery. The rules are :
The 2 characters, the 4 weapons and the 15 obstacles are randomly generated on a grid(made with HTML table and generated in a loop)
...
-1
votes
1
answer
717
views
How do I create a horizontal tech tree for the web? [closed]
I'm currently using bootstrap, jQuery and KnockoutJS to create a simple game. I would like to make a horizontal tech/research tree where the player can do research to get bonuses.
I found a CSS ...
0
votes
1
answer
941
views
How to draw and give functions to multiple things at once?
I'm using plain JavaScript and I've bee coding a hardcore platformer game. I want there to be multiple enemies at once and before I write up the code I have a question. How do i approach that? Do I ...
-2
votes
1
answer
94
views
Understanding Javascript Variable Initialization [closed]
I saw this piece of code while doing research for an idle game I am making:
...
2
votes
0
answers
1k
views
SignalR For Multiplayer Game Development [closed]
I've been working with SignalR for live chat and notifications in .NET platform and was wondering how much is it worth for working on games development? I've made ...
2
votes
1
answer
5k
views
Rotate arrow on canvas
I need to draw a flow dynamically based on some user choices. In that flow I want to draw the choices (blue circles with number) and the directions of that choices (line and arrow). For example: node ...
0
votes
3
answers
4k
views
Add a Countdown Timer that increments in JavaScript and resets per level(Resovled)
I am currently developing a Simon says type game using jquery and javascript.
I have linked a fully copy of the game on github
Github download and unzip to see the game fully https://github.com/...
0
votes
1
answer
790
views
confusion in animating a sprite sheet using craftyjs
can anyone help me with this : http://jsfiddle.net/B5UsC/15/
you can see that the sprite animation is not rendering correctly and i am guessing that i am not using the exact width of the sprite ,i ...
0
votes
1
answer
665
views
jQuery - div border around map area
Let's say I have this map:
...
0
votes
1
answer
156
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 ...
-1
votes
1
answer
980
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 ...
-1
votes
2
answers
378
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. ...