Tagged Questions
1
vote
0answers
53 views
Paylines and Pay dots in Slot Game
I'm working on a HTML5 slot game and completely stuck on the pay lines and the dots that produce the lines from 1 end to the other.
Can someone tell me what's the logic behind generating random ...
0
votes
1answer
399 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
151 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
155 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 = ...
0
votes
1answer
192 views
Box2dWeb positioning relative to HTML5 Canvas
I'm new with HTML5 canvas and Box2DWeb and I'm trying to make an Asteroids game. So far I think I'm doing okay, but one thing I'm struggling to comprehend is how positioning works in relation to the ...
1
vote
3answers
967 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
224 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 ...