HTML 5 refers to new web technologies such as high performance JavaScript engines, canvas 2D and WebGL, video and audio tags.

learn more… | top users | synonyms

0
votes
0answers
9 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), ...
-1
votes
0answers
64 views

Should I use Java, HTML5, or Unity 3D for my Game? [closed]

I am developing a game and I would like the game to be available on the iPad, Android Tablets, Mac, and Windows. I've already began developing the game in Java, which will ensure support for the ...
-2
votes
1answer
50 views

Moving Character Based on background

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
133 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
31 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)?
1
vote
2answers
511 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 ...
-2
votes
2answers
87 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
votes
0answers
50 views

I recently stumbled upon GameClosure, but I found out it doesn't have physics [closed]

GameClosure: http://www.gameclosure.com/ I really like the engine, the debugging, and the code style in general. However, it doesn't have a built-in physics engine. It says here: ...
22
votes
12answers
10k views

Isometric game engine in JavaScript/HTML5 [closed]

Is anybody aware of any stable-ish (ie out of alpha) isometric drawing engines for JavaScript/HTML5? I have done some Google searches and found a few, but they were mostly in alpha/invite-only ...
-1
votes
0answers
40 views

LIBGDX usage for Facebook Games/Chrome Web Store [closed]

I want to develop a game and make available via Facebook/Chrome Web Store. Since Libgdx is Java-based, will this work for a Facebook game or Chrome web store game? Information on the support of ...
-6
votes
3answers
831 views

Node.js Game Development

I'm really excited by the prospect of developing HTML5 games using Node.js. Can anyone suggest me where to start learning the basics, if there're some good resources that can help me guide through ...
1
vote
1answer
87 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 ...
0
votes
2answers
108 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 ...
0
votes
0answers
150 views

Mobile game production workflow using Html5 and visual studio

I want to know of any framework, that lets you build/test applications inside Visual Studio using Html5/JS. We need to be able to have an emulator (like the one on android sdk) for as many devices as ...
3
votes
3answers
274 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 ...
0
votes
2answers
513 views

HTML5 - Does it have the power to handle a large 2D game with a huge world? [closed]

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 ...
-2
votes
0answers
44 views

Things to learn for a 3D Game for Mobile [closed]

next year i am embarking on making a 3D game for my third year project for university, and i came on here to find out what kind of things i will need to learn over summer to accomplish this goal. The ...
18
votes
5answers
9k views

Packaging HTML5 games as applications for iPhone/Android

Is it possible to package HTML5 game for iPhone and Android as an application or has it to be accessed through a browser?
-1
votes
0answers
67 views

Intelligent collision detection with movement [closed]

i am new to this stack-exchange page and i need an hint how to implement correct "implementation of movement-/collision behaviour". I never developed games before...and never with Javascript/HTML5. I ...
0
votes
1answer
169 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 ...
3
votes
4answers
460 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
161 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
114 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
117 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
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
93 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
98 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() { ...
4
votes
1answer
420 views

Multiple game frames in construct 2 for new levels?

Hi there I'm new to Construct and have tried out a few platformer tutorials. I'm getting to grips with setting variables and collisions, I'm now at the stage where I want to start adding new levels. ...
-1
votes
1answer
304 views

How to schedule Render and Logic loops in browsers with RequestAnimationFrame?

Question derived from this tweet: @Vincent_Scheib, thoughts on using using two loops for a HTML5 game: one requestAnimationFrame for rendering, and one setInterval for logic?
14
votes
6answers
4k views

Are there any alternative JS ports of Box2D?

I have been thinking about creating a top down 2D car game for HTML5. For my first game I wrote the physics and collisions my self but for this one I would like to use some ready made library. I ...
3
votes
1answer
375 views

Creating a frozen bubble clone [closed]

This photo illustrates the environment: http://i.imgur.com/V4wbp.png I'll shoot the cannon, it'll bounce off the wall and it's SUPPOSED to stick to the bubble. It does at pretty much every other ...
3
votes
3answers
351 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 = ...
0
votes
1answer
390 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
110 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
193 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.
19
votes
7answers
7k views

HTML5 Game (Canvas) - UI Techniques?

I'm in the process of building a JavaScript / HTML5 game (using Canvas) for mobile (Android / iPhone/ WebOS) with PhoneGap. I'm currently trying to design out how the UI and playing board should be ...
8
votes
6answers
3k views

To canvas, or not to canvas, when building browser-based games?

Background: I have extensive development background, but the last time I coded a game was many years ago. My Javascript skills are quite limited, and I intend to improve them by building a simple game ...
2
votes
2answers
200 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
205 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
4answers
703 views

free web library for leaderboards / achievements

I would like to know if there is any free leaderboard libraries for web games developed in HTML5/JS (as openfeint is for iPhone, Android) I found this http://www.appmobi.com/, but it seems the ...
11
votes
7answers
1k views

Will a Game written using HTML5 work on smartphones?

I would like to write a game that could be played on smart phones and was wondering if HTML5 might be a way to write games to work on a wide selection of smart phones.
0
votes
0answers
174 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
186 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
239 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
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 ...
1
vote
2answers
293 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
vote
2answers
177 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 ...
-1
votes
2answers
118 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 = ...
0
votes
2answers
219 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 ...
4
votes
2answers
397 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 2 3 4 5 6