Tagged Questions
3
votes
1answer
260 views
Web single player 2d top-down RPG - background image, sprites, and new level loading
I'm making a web single player 2D top-down rpg using JavaScript (create js library) and have a couple questions.
For the background image, I've currently loaded a 1000x1000 bitmap to represent the ...
2
votes
3answers
339 views
How do I represent walls in a 2D tile based map?
I'm trying to create a simple 3D(2D) Dungeon Crawler but I am going to be using simple flat images to show the user they are in a "3D" world. Now what I mean is something like Sword and Serpents on ...
0
votes
1answer
648 views
Simple javascript HTML5 canvas start menu
I'm currently looking for a simple and basic start screen for a game using javascript, so basically its the first function that is called and then press play which then goes into the game.
Looked ...
-2
votes
1answer
156 views
How do I set an event off when player is on certain tile?
Here is the code I use to create and print my map to the canvas:
var board = [];
function loadMap(map) {
if (map == 1) {
return [
...
0
votes
1answer
219 views
how to devise a scoring algorithm based on elapsed time and number of moves [closed]
I want to devise an score algo for my game.
I want to award high scores to players who achieve the goal in minimum time and least number of moves.
I did this but its not going correctly:
var score = ...
2
votes
2answers
350 views
Making an interactive 2D map
So recently I have been working on a Legend of Zelda: A Link to the Past clone, and I am wondering how I could handle certain map interactions (like cutting grass, lifting rocks, etc).
The way I am ...
-2
votes
2answers
228 views
Should I use javascript to make a windows 8 game? [closed]
Windows 8 game development is designed mainly for C++ (which I don't know), but can be done in JS (which I do know). Is it worth it to learn C++ or should I continue with JS?
6
votes
3answers
2k views
Realtime multi-player game design principles for Node.js
I've been reading the Valve article on multi-player networking which has been adapted from Yahn Bernier's 2001 paper called Latency Compensating Methods in Client/Server In-game Protocol Design and ...
1
vote
3answers
2k views
How do I structure a 2D platform level?
I'm doing a 2D platformer but I don't know how they are usually built.
The approach I'm looking at is making it tilebased, with ground tiles on bottom row, then platforms on some places in "mid-air" ...
2
votes
0answers
231 views
Independent HTML5 Physics Game: Any Feedback? [closed]
I've been independently developing a physics-based HTML5 game. I haven't used any libraries or engines; all the code, including the physics, is my own. It is free for a while on the Chrome Web Store ...
9
votes
2answers
785 views
Bomberman clone, how to do bombs?
I'm playing around with a bomberman clone to learn game-developement.
So far I've done tiles, movement, collision detection, and item pickup. I also have pseudo bombplacing (just graphics and ...
1
vote
1answer
458 views
Javascript injection problems to beat my game! HELP
So I have a web application game that runs completely on the client side and just returns the score back to the server to list the highest scorer. Now I have noticed that I can easily manipulate the ...