I'm interested in making a game using html and javascript. I was wondering if it really is that much faster drawing in html5 and javascript than it is with images and div's in html and javascript.
Example of a game using html and javascript that works nicely:
http://scrabb.ly/
Example of a game using html5 and javascript that works ni...
I'm working out details on a web application which involves the sequential loading of a long series of (very short) video clips, one after the other, with occasional input from the user establishing new directions for which video clips to load.
I would like to be able to have the browser preload the video clips five at a time. However,...
I've been thinking about flash and html5 and though each of them can draw circles, rectangles, curves, and do things with images, doesn't it really come down to the artwork? Game play aside (I know ugly games can be fun), all the talk about which looks best canvas or flash or something else, kind of moot? Don't the great games, graphic...
It's not the type of game that really need a server to operate. I'm using javascript and html5 right now, and I cant think of a way to prevent the game from being rip off.
Using obsfucator is useless, the game would still work offline.
Implementing a validation scheme is not invincible either. Someone smart can just crack the script an...
I have a canvas with two lines of text on it. I want to animate these 2 lines differently.
How to do this?
How can i only animated one line of text without clearing the whole screen?
...
Hello.
On the footer of my client’s website I have his address and copyright notice, and under there is the address of the webmaster.
With both I will use the hCard microformat.
With which of them I should use the <address> tag?
Thanks.
...
(In every browser I've tried) double-clicking on an HTML5 canvas selects any text immediately following the canvas element. I'd prefer to keep the clicks confined to the canvas.
(N.b.: I don't want to disable text selection entirely (e.g. like this): if you double-click the text it should be selected. I just don't want the clicks to "...
hi,
i need to create a component using html5 canvas that given an image the user can paint on it and directly (via a kind of save button) upload it's customized version on the server.
Can i use html canvas for it ?
Any suggestion ?
thx in advance
...
I was thinking of making a game using javascript for the game logic and the HTML5 canvas element to animate the drawing. My goal is to write something that works in browsers and on newer smartphones. So I wrote up a quick program that moves 100 circles around on the screen and shows me the frame rate. I was fairly disappointed with the r...
What's the best way to know if the running browser supports web-workers ?
is it
try { new Worker(); } catch (e) { /* it does not */ }
Thanks
...
I search many article on Html5 microdata but i ant got a clear view on that.Can somebody provide me a good article on that ??
...
This might be a weird question, but I've been unable to find an answer. Assuming I were to use an Object tag to embed an HTML snippet from an outside source (different server), how does Googles spider view that data? Does it pull in the data source like a browser would or does it only view the alternate content found between the Object t...
Hi,
I am working on an app that uses the W3C standard geolocation API but I cannot for the life of me get it to work on Safari on my Windows 7 and XP PC. It works fine on my iPad and my iPhone. It also works perfect on Chrome (5, 6, 7 and the Canary build) and on Firefox (3.6). I don't have a Mac so I can't test it on that. IE doesn...
I'm looking for a way of capturing a section of a web page as a transparent-backgrounded PNG. This would mean that the transparent background property would be truly transparent. A root level element, instead of displaying white, would create a png with a transparent background.
However, I suspect the behavior I'm looking for just isn't...
We have an offline set of HTML pages we're working with using HTML5 document type. We want to include our sub-navigation via a <script src="____"> but for some reason it's not including. Is there some other method of including the file without needing server-side assistance somewhere?
Because of how we're delivering these files to the c...
I'm thinking I'll have to wait for the video to finish loading, then set up an interval (at 1/24 sec.) to get the current frame data, for the duration of the video. But that seems pretty hacky and looks like it might skip frames and such…
So, is there a "onFrameChange" listener I can hook on to, so I can get every frame, or any other w...
Where's a good looking html5 template, with big bold letters, and css for error messages and the like?
...
When can we expect to see HTML 5 support for all the major browsers?
...
What codecs will be supported with the HTML5 video taq?
Will it vary by browser, or is there a spec of specific codec that will be supported?
...
In this page that counts the number of frames rendered and prints the FPS onto the canvas, we can see that it tops out at 100fps, which seems suspicious at the least. Why is this?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Canvas FPS artificial limiting</title>
</head>
<body>
<canvas id="c" width="320...