HTML 5 refers to new web technologies such as high performance JavaScript engines, canvas 2D and WebGL, video and audio tags.
2
votes
3answers
69 views
HTML5 tags on my website? [closed]
I'm not here to ask about the merits of HTML 5, CSS 3, Javascript, etc. as game development tools. Lord knows how many people have asked about that already. No, what I'm curious about is what kind ...
0
votes
1answer
80 views
Can't Build Cocos2Dx emscripten project
I need to port a Cocos2D-x project to Web (JS+HTML5). I'm trying to compile cocos2D-x samples using the emscripten project for cocos2d-x, and I've followed this tutorial ...
-2
votes
0answers
51 views
Design pattern to use for a shooting game in JavaScript [closed]
I've been developing a top down shooter for the HTML5 canvas with some modular component: players, enemies weapons, pieces of the environment, etc.
Which design pattern would fit a modular top-down ...
-2
votes
0answers
29 views
Unable to reset level in Box2d using javascript for html5 game [closed]
I am using Box2dweb for my box2d ball game. I am unable to reset the game. The world is destroyed completed after the ball is thrown once. could any one figure me out where i went wrong?
var b2Vec2 = ...
0
votes
0answers
20 views
how to use TextFieldTTF in cocos2d html 5
i currently have this
var textField = cc.TextFieldTTF.create("",
"arial",
32);
this.addChild(textField);
but for some reasin it's not working
please help thanks
0
votes
0answers
23 views
how to set resolution in cocos2d html5 game
how can i change or init game with specific resolution
is there something like setResolution(width,height) available ?
please hellp thanks in advance
1
vote
1answer
86 views
animating roulette ball
I'm trying to achieve something like netent's roulette (which is a great product in my opinion). It's going to be implemented in html5.
I wonder which path should I take to have such a great ...
0
votes
0answers
50 views
Libgdx project port to Html5 using GWT - Assets not being found?
So I have a Libgdx project done, and have been trying to get it to port it to html5 for awhile using GWT. Thing is, none of the application's assets are being found because (I discovered just now), ...
-4
votes
2answers
94 views
Moving Character Based on background [closed]
I want to know how can i move the following character just in predefined areas as shown in the bg.jpg file
character
http://s7.postimg.org/ezyaclrrb/walking.gif
bg
...
-2
votes
1answer
160 views
Can I make a downloadable .exe app for my game if I make it in HTML5?
I was going to make a MMORPG in HTML5 and javascript but I think I'm going to make a singelplayer first after all.. It would be nice to make the game in html5 anyway so the transition to making an ...
-2
votes
1answer
64 views
Getting started with Phaser/TypeScript [closed]
Looking for help getting started with the new TypeScript HTML5 game framework Phaser (https://github.com/photonstorm/phaser)?
-2
votes
2answers
162 views
Cross Platform HTML5 Canvas game engine [closed]
I want to build a puzzle game,I want to develop it for Browsers, Android, iOS, And PC. Please help me and let me know is there any game engine that is useful for making cross platform HTML5 games..
1
vote
1answer
123 views
How can I place my Enchant.js game into a DIV in a fully-designed web site?
Following the Enchant.js tutorial I cannot find a way to define the place the game is rendered in the page. It either takes the maximum possible area or limits itself to the given size (using ...
3
votes
3answers
332 views
How can I deploy a JavaScript game into the iOS app store?
Unfortunately, I don't have a Mac, so I can't develop for iOS.
I understand that HTML5 apps run in the browser, but is there a way to make an HTML5 app (e.g. a JavaScript game) and get it deployed ...
3
votes
4answers
496 views
Why wouldn't one use Canvas for HTML 5 game development?
I'm just getting into the HTML 5 game development. I've discovered that some games seem to be created using just JS/CSS/HTML instead of the canvas.
Since canvas seems to enjoy good browser ...
2
votes
3answers
184 views
Do larger sprite sheets improve performance in html 5 games?
I know when I did some game development with XNA they recommended that we try to group are sprites into fewer sheets because the graphic card could process it faster. Does this also apply to web based ...
2
votes
1answer
155 views
JavaScript - 2D Top-down Tile Collision Detection
I am developing a small Top-down Game (Much like the old Zelda Games) and I'm having an issue in terms of Collision detection (The actual theory itself rather than assigning Tiles as solid, etc.)
I ...
1
vote
1answer
129 views
HTML5 mobile game storing data
I am developing an mobile application (in HTML5) that will run on multiple platforms and will eventually have both single and multiplayer options. The current issue I have is the best method for ...
1
vote
0answers
56 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
104 views
Approaching syncing between client and server, in a Tower Defense game
I am currently working on a Multiplayer TD, players can join games, and place towers on a map, so far so good.
This is how the game works as of today, when a new game is created, the server ...
1
vote
1answer
112 views
Canvas isometric translations to integer coordinates
I'm creating a canvas based game with an isometric playing board. I use the following transformations to get my square tiles to render on the screen:
'applyViewportTransformation' : function() {
...
0
votes
1answer
455 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
120 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
226 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
127 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
229 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
229 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 ...
0
votes
0answers
189 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
181 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
77 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 ...
0
votes
1answer
208 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
269 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
302 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
134 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
186 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
237 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
164 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
160 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
438 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
1k 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
124 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
768 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
348 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? ...
9
votes
1answer
390 views
How to create 2D shadows
I'd like to create lights and shadows in a 2D environment, like in the image below:
I did several searches but got no results. Do you have any hint?
4
votes
2answers
422 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
590 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
197 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
709 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
169 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
501 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 ...

