The javascript tag has no wiki summary.
0
votes
1answer
40 views
3d js map rendering
In the past I've done a 2D tile map using HTML, CSS and Javascript. Now I have the task of creating a 3D version using the same technologies - think of it like a space map where all planets have x/y/z ...
0
votes
1answer
100 views
Converting coordinate systems to/from an isometric game world
I have tried searching and reading for an answer, but the information I could dig up either didn't fit what I need or was in the form akin to "Just multiply the vectors with the inverse matrix of.." ...
0
votes
1answer
82 views
How to display a tile map from a 2D array in JavaScript?
I have stored my map, but the problem I am having is displaying it. My map is 100x100 tiles which are 40x40px.
I have my loop running through the array but I'm having difficulty selecting the portion ...
2
votes
1answer
71 views
Shoot a bullet towards cursor - top down 2d
I am making a 2D topdown shooter game, in which the player's movement is controlled with WASD and gun with the mouse. I'm having a hard time figuring out how to update the position of the bullet as it ...
-3
votes
2answers
119 views
What is the first game I should Develop? [closed]
What is the first game every developer should develop?
4
votes
2answers
74 views
Web-based micro-transaction API
I am currently making a browser-based game and I would like to integrate micro-transactions. However I would prefer not to have to implement my own storefront. Does anyone know of an available ...
0
votes
1answer
126 views
Staggered Isometric Map In Javascript
I'm trying to create a staggered isometric map in Javascript.
var x, y, row, column, top, left,
width = window.innerWidth, height = window.innerHeight,
tile = {width: 64, height: ...
0
votes
1answer
53 views
Path finding with identical values
I have been reading up about path finding and find it all very confusing, however this is probably the best I have found for a logical explanation:
If the cost of two nodes has the same value, I'm ...
1
vote
1answer
124 views
Box2dWeb and Images
How do I import and attach a PNG or GIF to a shape in Box2dWeb?
The best resource I could find online is at:
http://www.jeremyhubble.com/box2d.html
However, this "tutorial" doesn't give much ...
1
vote
1answer
208 views
How do I generate a level randomly?
I am currently hard coding 10 different instances like the code below, but but I'd like to create many more. Instead of having the same layout for the new level, I was wondering if there is anyway to ...
2
votes
1answer
190 views
Canvas tile grid, hover effects, single tilesheet, etc
I'm currently in the process of building both the client and server side of an HTML5, canvas, and WebSocket game.
This is what I have thus far for the client: http://jsfiddle.net/dDmTf/20/
Current ...
3
votes
2answers
127 views
What is better for the overall performance and feel of the game: one setInterval performing all the work, or many of them doing individual tasks?
This question is, I suppose, not limited to Javascript, but it is the language I use to create my game, so I'll use it as an example.
For now, I have structured my HTML5 game like this:
var fps = ...
5
votes
3answers
180 views
How can I tweak this A* search pathfinding algorithm to handle different terrain movement values?
I'm creating a 2D map-based action game with similar interaction design as Diablo II. In other words, the player clicks around a map to move their player. I just finished player movement and am moving ...
0
votes
1answer
154 views
How can I render player movement on a 2d plane efficiently?
I'm prototyping a 2d HTML5 game with similar interaction to Diablo II. (See an older post of mine describing the interaction here: How can I imitate interaction and movement in Diablo II?)
I just got ...
1
vote
0answers
130 views
Good practices when optimizing HTML5/Javascript Game Developement [closed]
I'm just starting out as a game developer and have created a few crappy but playable clones of classic games like pong, and bomberman.
Being self taught (bless the internet) I do this by just stuffing ...