HTML 5 refers to new web technologies such as high performance JavaScript engines, canvas 2D and WebGL, video and audio tags.
2
votes
2answers
95 views
Testing HTML5 canvas games on low resource computers
I've made a game in HTML5 & JS and want to test it on varying types of user setups as I've heard it doesn't perform too well on older MacBooks.
How can I accomplish this? I'm thinking of ...
0
votes
0answers
58 views
Aw, Snap! in Google Chrome [closed]
Just wondering if anyone else's experiencing the "Aw, Snap!" bug in Google Chrome.
I'm developing a brand new engine which occasionaly triggers this bug and as far as I know, there's nothing one can ...
2
votes
2answers
74 views
Glitch-free cross-fades in HTML5
In my HTML5 canvas game, I need to cross-fade two sprites which have some glow around them. (Glow is backed into sprites.)
Initially, the first sprite is visible. During the cross-fade the first ...
3
votes
4answers
295 views
HTML5 without a framework
I am looking to get into game development, after a lot of searching I have decided to try with html5 and, while I can see the advantages of frameworks, I would like to learn the basics without a ...
1
vote
1answer
190 views
Do you need to make a tileset for a platformer?
I've been tasked to make a platformer, I've never made a tiled game before, is this necessary?
I.e. can I just make different child classes of a Sprite class and add place them on the map, adding ...
0
votes
1answer
76 views
Isometric displaying two different images in different positions
I'm creating a simple Isometric game using HTML5 and Javascript, but I can't seem to get the display to work, at the moment i have 9 tiles that have X and Y positions and the player has a X and Y ...
6
votes
1answer
140 views
How Do Shapes (Rectangles) Work in Quad Trees?
I've been told that a quad tree is the ideal data structure for my game, but I'm having trouble understanding how exactly shapes work within quad trees.
I'm doing this in JavaScript, but I think ...
2
votes
1answer
97 views
Drawing Sprites at Correct Z-Index without A Sprite Map?
My game is in HTML5 canvas, but I assume this concept applies to any language.
In the past I've used a multi-dimensional array to keep track of sprite positions. Here is a simplified example:
[
[ ...
0
votes
2answers
87 views
HTML5 Canvas Parsing image into tileset while preserving transparency
I'm trying to import a Tiled Map Editor JSON file into my HTML5 canvas game but I'm having trouble with separating out the tileset image into separate images while preserving the transparency.
...
1
vote
1answer
114 views
WebGL immediate mode
I know that WebGL is based on OpenGL ES 2.0 and that glBegin and glEnd have been removed and replaced with vertex buffer objects. I understand that VBOs are faster and use less code but is there a ...
0
votes
4answers
181 views
HTML5 Jump and Run Game Performance issues
we're developing a HTML5/Javascript jump and run game and therefore we have developed our own gameframework.
It consists of following most important structures:
Stage/Scene/Layer: divs
...
0
votes
0answers
54 views
Impact js Multibody entities with animations
I have a simple impactjs project working with box2d. just a "car" that can run over some rough terrain. I would like to have the wheels spin though.
I know I could accomplish this with a sprite sheet ...
2
votes
2answers
338 views
ImpactJS and Construct 2
I'm interested in HTML5 game development and I found about this 2 game engines, I already know ImpactJS requires more programming experience and that Construct 2 has its own event and action system ...
2
votes
3answers
248 views
Colouring greyscale images/sprites for HTML canvas
What is the best method to colour in sprites at runtime using the canvas element and javascript? I know there are various blending modes using globalCompositeOperation, but I don't know how best to ...
4
votes
2answers
138 views
What's the current preferred method for serving/storing game data on html5 games
Given all the recent improvements on web platform (webgl, websockets, etc.), it should be now possible to see great games on web. However my biggest concern so far has been around serving and storing ...
0
votes
3answers
102 views
Is there a way to create multi-resolution graphics for game with createjs?
I'm on a advanced development for a game made with createjs framework. However it's time to export it to some platforms. The graphics are made for the iPad 3 resolution.
I would like to export them ...
0
votes
1answer
138 views
“Painting” elements in html5 canvas
I'm making a game in coffeescript (although for the sake of this problem that's probably not all that relevant) and html5's canvas. It's a game that involves a paint cannon, that fires circular ...
0
votes
0answers
66 views
Integrating EaselJs and Spine 2d
I am trying to develop a game using Easeljs.
I am looking to use Spine 2d for the getting the animation data.
But I am not able to find any reference for combining these two probably because Spine ...
1
vote
1answer
151 views
How to develop a real-time game server for html5 web app?
I'm contemplating a graduate project proposal of developing a rather complex HTML5 game that requires real-time server communication. The premise of the actual game play is simple: 10 players battle ...
1
vote
4answers
192 views
Play audio in javascript with a good performance
I'm developing a browser game where the player can shoot. Everytime he shoots it play a sound.
Currently i'm using this code to play sounds in JavaScript:
var audio = ...
1
vote
2answers
247 views
How can I create and animate 2D skeletons for HTML5 Javascript games? [closed]
I'm trying to make a 2D fighting game in HTML5(somewhat like street fighter). So basically there are two players, one AI and one Human. The players need to have animations for the body movements. ...
1
vote
2answers
164 views
Movement on Multiplayer Games
I'm developing a JavaScript Multiplayer Game (Using NodeJS and Socket.IO). The problem I'm having is, on a Player's movement, the Event with the X and Y positions is sent to the server and then to all ...
0
votes
1answer
120 views
Is my social game technical solution viable?
I'm currently working on a board social game using HTML5 (canvas) & Asp.net MVC 4, Azure, Sql server, EF.
I'd like to do a server side realtime validation (using Ajax) of a player moves (not more ...
2
votes
3answers
336 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
2answers
97 views
How do you capture keyboard and mouse input for an HTML5 game?
Is there an accepted method for capturing player input in HTML5 games? I have seen several methods, and the browsers seem to be in varying states of implementation; On MDN they tell you not to use ...
1
vote
0answers
34 views
Lime js game works fine in iPad but jerky in Firefox
Reposting on gamedev to hopefully get some help! Please see my SO question here:
http://stackoverflow.com/questions/17612157/lime-js-game-works-fine-in-ipad-but-jerky-in-firefox
Thanks!
0
votes
1answer
533 views
Javascript game to Phonegap for android game?
me and a friend of mine are in the process of building a javascrip/HTML5 game and I'm running into a few questions about the process of using converting it to an android game. I plan on using Phone ...
2
votes
1answer
187 views
Multilayer game HTML5 canvas
I've have a problem with HTML5 canvas and using multiple layers.
I'm using 3 layers. The first layer is where the player and the collision base objects are. And the second and the third layer have ...
2
votes
1answer
154 views
Box2D: Asteroids-Like Spaceship Physics
I'm new to Box2D (JavaScript) (and the world of physics/mathematics) so I'm having a hard time working out the methods I need to use to make a spaceship act like it does in the classic arcade game ...
1
vote
0answers
50 views
Improving performance on older Androids
I'm learning to build html5 games for mobile. I'm worried about the FPS animation on older model Android... as I use a lot of setTimeouts to update certain aspects and would like some suggestions on ...
5
votes
2answers
229 views
Is using multiple canvas objects a good practice?
We're developing a jump and run game with HTML5 and JavaScript and have to build an own game framework for this. Here we have some difficulties and would like to ask you for some advice:
We have a ...
0
votes
1answer
323 views
Character movement on a 2D tile map
I'm working at making a HTML5 game. Top down, closest thing I can equate it to is the gameboy zeldas, but open world and no rooms.
What I have so far is a procedurally generated map in a multi ...
1
vote
1answer
55 views
Playing part of a sfx audio file in HTML5 using WebAudio
I have compiled all of my sound effects into one sequenced .ogg file. I have the start and stop times for each sound effect. How do I play the individual effects? That is, how do I play part of an ...
2
votes
3answers
81 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
415 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 ...
0
votes
0answers
76 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
43 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
417 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
172 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
175 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
230 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
267 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 ...
5
votes
3answers
564 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
612 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
232 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
278 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
157 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
73 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
125 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
174 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() {
...