HTML 5 refers to new web technologies such as high performance JavaScript engines, canvas 2D and WebGL, video and audio tags.
0
votes
0answers
18 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
59 views
Optimising out tiles outside of viewport
I am playing around with the HTML5 canvas and have begun implementing a tile engine.
However, it's currently very inefficient: I have a 100x100 2D array and my code loops through the whole thing ...
-4
votes
1answer
49 views
which best tools are available for game development using javascript and html5? [closed]
Can any one tell me Which is the best mobile game development tools are available in market for free learning.
0
votes
2answers
43 views
Increasing speed of circle over time as linear with Box2d
Assume that there is a circle and it can be moved by using keyboard arrows.Is required that increasing speed over time like increasing car speed. For example; max speed is 25 and time to reach max ...
2
votes
2answers
96 views
Receiving keyboard events on a canvas in Javascript
I need to receive keyboard events in a canvas element. Click events are received but key presses aren't.
Here is my code which doesn't handle key events:
var canvasElm = $('canvas');
...
3
votes
2answers
114 views
Client Side Logic vs Server Side Logic for HTML5 Game
I'm writing an HTML5 game that takes place in a single screen and does not have any data that would need to be saved (except for a score). I am writing all of my canvas logic on the front end. because ...
-2
votes
0answers
61 views
What framework / tools are available for making web based games like Game Dev Story? [closed]
I'm researching what web based gaming frameworks are available for making games like Game Dev Story.
Has anyone had experience in making a similar game? Mainly looking for a framework that would ...
0
votes
0answers
62 views
What are pros and cons using easelJS library? [closed]
I am new to browser-based game development.I want to build a game that would be hosted on local server or on a system.Not to be on internet..currently..
I am completely new to field of game ...
0
votes
1answer
70 views
Canvas background from sprite (HTML5)
I am starting to develop my fist bigger game in HTML5 and struggling a bit with sprites. I can cut out single items, but I need to repeat them as well. For example, I have a battle ground that ...
-1
votes
2answers
73 views
When I create more than one boundary, every one but the most recent breaks [closed]
So basically what I have is a function called createBoxBoundary, which, when the player position is within certain limits, sets boundary variables to true. Pretty straightforward. However, when I call ...
-3
votes
0answers
125 views
Im wondering if its actually possible to make a “fluid” multiplayer game with current technology? [closed]
Im pretty sure all of you have played/heard/seen that web-based pokemon games(pokemon crater to be more precise) or at least played actual ones.
For those who didnt play them, let me just say its ...
0
votes
1answer
83 views
Game development for android using JQueryMobile or any OpenSource alternative for absolute beginners [closed]
I hope it doesn't really sound odd as this questions is for Game-development for Android Devices for absolute beginers. The reason for me asking is currently I am learning the Native App Development ...
3
votes
2answers
151 views
Get timing correct with client side prediction
I believe I've got my head round CSP after reading Gabriel Gambetta's blog, Valve article and buildnewgames.com but having an issue understanding the time execution of everything.
So if a player ...
1
vote
2answers
211 views
I would like to build a 2D multiplayer game. Do I need a game engine or not?
I plan to build a very basic 2D game in html5: it's purely a map divided in 2D equal square tiles. A player can click on a tile to see the message "behind" a tile. Once open, other players can't open ...
-1
votes
2answers
70 views
Javascript - create a new bullet instance every time a user event is triggered
Basically I have a function that I need to create an object of every time the user presses space(event listeners not shown here).
function arrow(){
this.x = playerXPos + 40;
this.y = ...
1
vote
2answers
133 views
PHP and Javascript/HTML5 Collaboration [closed]
I've recently been working on a fairly complicated game. I've stored information with local storage, but that allows the player to edit it, and does not transfer from computer to computer. The two ...
0
votes
2answers
117 views
How can I move an object over a drawn tile map in HTML 5 without constant buffering?
I've been messing around with HTML5 for quite some time now but this is something that I guess I haven't figured out how to handle well yet. I'm sure there's an extremely easy solution and I just ...
2
votes
3answers
147 views
Instantiate objects that share same variable
I'm just wondering how to instantiate the same objects that all share the same variables, except their positions.
I'm basically working on the scene of my HTML5 game, and I've build a streetlamp post ...
0
votes
1answer
108 views
Saving Scores Using Cookies
I've recently created a small galiga like game recently using JavaScript and HTML5. I've run into a bit of trouble saving cookies, the cookie saves, but then resets itself when the page is refreshed, ...
1
vote
2answers
337 views
How to make an infinite map
I was wondering if someone could explain to me how to implement a seemingly dynamic infinite map like the one at http://wordsquared.com/
My main issue is really generating new tiles in any direction ...
5
votes
5answers
672 views
Best technique for drawing isometric tiles
I'm thinking about making a simple isometric game with HTML5 Canvas, and wondering what's the fastest way to render the tiles.
Since the tiles are diamond shaped, but drawImage draws rectangles, I ...
2
votes
1answer
92 views
mat3x4 in webGL shaders
I am porting the IQM bone animation format to Javascript and have run into a problem...
The vertex shader is failing to compile and the only error message I get out is 'mat3x4' : syntax error on the ...
-1
votes
1answer
224 views
How to make background to stage in kineticjs
var stage = new Kinetic.Stage({
container: 'container',
width: 490,
height: 300,
});
var layer = new Kinetic.Layer();
I want to make a default image to a stage to be the ...
-3
votes
1answer
245 views
LimeJS vs CreateJS for game development [closed]
happy 2013... I want to start developing HTML5/JS games this year, and i see this 2 frameworks LimeJS and CreateJS & EaselJS. Wich one is better? Anyone have experience with these 2 frameworks? ...
6
votes
1answer
247 views
How to create 2D shadows
Could help about creating lighting and shadows in a 2D environment, like the image below.
http://i.stack.imgur.com/0FEQz.gif
I did several searches but got no results
( ps: sorry my bad english i'm ...
4
votes
2answers
347 views
How should I implement parallax scrolling with pan and zoom in HTML5?
I'm writing a planetary motion simulator with the HTML5 canvas element and I want to put one or more layers of stars in the background. The user can click and drag the screen to navigate around the ...
1
vote
3answers
334 views
Need Guidance Making HTML5 Canvas Game Engine
So I have some free time this winter break and want to build a simple 2d HTML5 canvas game engine. Mostly a physics engine that will dictate the way objects move and interact(collisions, etc). I made ...
-1
votes
1answer
145 views
Drawing polygons in 3D
I have recently been working on a 3D engine from scratch, using JavaScript and HTML5. I've successfully created lines (although slightly buggy) and points, but I can't figure out faces. My current ...
-1
votes
3answers
316 views
2D engine for both Android & iOS engine? [closed]
I want to make a simple 2d game that would run on both Android and iPhone. Since coding it separately for each platform would take some time, I thought of using an engine, that would be able to port ...
-1
votes
2answers
115 views
Ebooks for building game framework in HTML5 [closed]
I begin to develop game but I don't know best ebooks for build simple game framework in HTML5 . Can anyone suggest ebooks for me and where to get free image resources for build map in game like as ...
2
votes
0answers
277 views
HTML5/JS - Choppy Game Loop
I have been experimenting with HTML5/JS, trying to create a simple game when I hit a wall. My choice of game loop is too choppy to be actually of any use in a game.
I'm trying for a fixed time step ...
0
votes
0answers
91 views
What program should i use for Ludum Dare? [closed]
I want to participate for the first time on Ludum Dare, but i'm not confortable yet with a language to pick one for making a game on a weekend. So i was looking for a program 'gamemaker' style, just ...
-1
votes
2answers
192 views
Remove enemy when bullet hits enemy
For my education I have to make a basic game in HTML5 canvas. The game is a shooter game. When you can move left -> right and space is shoot. When I shoot the bullets will move up. The enemy moves ...
1
vote
1answer
261 views
Efficient collision detection - tile based HTML5/Javascript game
I'm building a basic RPG game and I'm looking at collisions/pickups etc now.
It's tile based and I'm using HTML5 and Javascript.
I use a 2D array to create my tilemap.
I'm currently using a switch ...
-1
votes
1answer
260 views
HTML5 platformer collision detection problem
I'm working on a 2D platformer game, and I'm having a lot of trouble with collision detection. I've looked trough some tutorials, questions asked here and Stackoverflow, but I guess I'm just too dumb ...
2
votes
1answer
338 views
HTML5 - Does it have the power to handle a large 2D game with a huge world?
I have been using XNA game studio, but due to private reasons (as well as the ability to publish anywhere & my heavy interest in isogenic engine), I would like to switch to HTML5.
However, I have ...
1
vote
1answer
164 views
Architectural advice - websockets javascript/php integration
Myself and a friend have started making a game, he's likely to be using impact.js for the user interaction etc, but we need multiplayer functionality so some form of websockets for TCP connections ...
0
votes
2answers
299 views
Animating sprites in HTML5 canvas
I'm creating a 2D platformer game with HTML5 canvas and javascript. I'm having a bit of a struggle with animations. Currently I animate by getting preloaded images from an array, and the code is ...
-5
votes
1answer
66 views
Mobile apps are separated into Three categories: Native, Hybrid and Web. What does Adobe air come under? [closed]
I don't mean a flash web app I mean a wrapped adobe air application. What is it?
3
votes
1answer
102 views
Is it possible to load local html pages into Gamemaker games?
I was just wondering if it would be possible somehow to load locally saved web pages into a game. My primary use for them would be as menus, helping to navigate between rooms.
I know about the built ...
-2
votes
1answer
147 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 [
...
2
votes
2answers
134 views
Stop a rotating object at a specified angle?
I'm working in JavaScript with HTML5 and the canvas. I have an object which is rotating at a certain speed, and I need the object's rotation to slow down gradually and the front of the object to stop ...
1
vote
3answers
252 views
Issues with shooting in a HTML5 platformer game
I'm coding a 2D sidescroller using only JavaScript and HTML5 canvas, and in my game I have two problems with shooting:
1) Player shoots continous stream of bullets. I want that player can shoot only ...
2
votes
2answers
238 views
Help w/ iPad 1 performance for tile-based DOM Javascript game
I've made a 2D tile-based game with DOM/Javascript. For each level, the map data is loaded and parsed, then lots of tiles ( elements) are drawn onto a larger "map" element. The map is inside of a ...
0
votes
2answers
179 views
HTML5 as application for tablets?
I'm looking at creating a tablet application (iPad, Nexus, Surface...). I've heard it's possible to create it using HTML5 canvas. I was wondering if it was limited to canvas, if div/input/table can ...
0
votes
1answer
120 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 = ...
4
votes
1answer
187 views
Jump handling and gravity
I'm new to game development and am looking for some help on improving my jump handling for a simple side scrolling game I've made. I would like to make the jump last longer if the key is held down ...
1
vote
1answer
101 views
Looking for a library to create a grid based first person game online
Before I go and build it myself, I have been looking for a library that may help making a grid based first person view similar to:
https://www.youtube.com/watch?v=GwmZoCFd4Us
I plan to make a web ...
2
votes
0answers
72 views
Converting obj data to CSS3D
I found a ton of formulae and what not, but 3D isn't my forte so I'm at a loss of what specifically to use. My goal is to convert the data in an 3D .obj file (vertices, normals, faces) to CSS3D ...
2
votes
1answer
251 views
Making a Photo Hunt Game using Javascript and HTML5 [closed]
I am looking for a way to make a photo hunt game using HTML5 and Javascript. Where should I start after the images. And How would I make clickable areas on the image, using javascript?
If you know of ...