All Questions
Tagged with jquery javascript
20 questions
0
votes
0
answers
132
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
700
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 ...
1
vote
1
answer
2k
views
How do I make my character jump on a platform?
This is the code I've written so far:
Html:
...
0
votes
1
answer
936
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 ...
0
votes
1
answer
227
views
How to make Pong Ball Control?
I want to know how can I make the control of the Pong Ball in Plain Javascript. I would like to know how to make the ball faster when it hits the edges just like the original pong game, or how if the ...
-2
votes
1
answer
80
views
Understanding Javascript Variable Initialization [closed]
I saw this piece of code while doing research for an idle game I am making:
...
21
votes
5
answers
10k
views
Prevent cheating in html Javascript game [duplicate]
I have made a Javascript/html game. Now the problem I have is anyone can edit the client code and cheat in game for example there is a man shooting a enemy.
Man HP: &...
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 ...
0
votes
1
answer
2k
views
How do I make the background color fade into a different color after hovering it? [closed]
I was trying to make the starter inputs for my text rpg change the background color in a fade effect with JQuery, but I cant figure out what i did wrong. Heres the part im focusing on:
...
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 ...
1
vote
0
answers
498
views
Balancing fight script in Text Based Javascript Game
I'm working on a little text based javascript game and I've been using chromes Javascript console for the output. The 'game' works off a series of methods written into an object called ...
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/...
1
vote
2
answers
369
views
Get speed from vector using box2d and javascript
I need to find the speed of an object in a game. The game is made in HTML5 with jquery and jquery.box2d.
For this I can use these methods:
...
0
votes
1
answer
780
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
475
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 <...