[html5] html5 novice seeking guidance
dmichael at chromium.org
Thu Sep 22 08:31:53 PDT 2011
It would be pretty easy to throw together using <canvas> and fillText.
That's not really necessary, but it may make life easier, and at a minimum
would be good practice if you want to learn canvas.
On Thu, Sep 22, 2011 at 9:13 AM, Thomas Wrobel <darkflame at gmail.com> wrote:
> To be honest, I'm not sure the wonderful features of HTML5 are that
> using your existing skills pretty easily. Most of the new HTML5 stuff
> wouldn't effect such a game really.
> To place stuff on the screen arbitrarily I think the best method would
> still of a floating div.
> I think the only thing that would change in the workflow of making
> this sort of game between 4.1 and 5 is the threads issue - you could
> use "WebWorkers" to multithread tasks. I haven't used this myself, but
> in demonstrations it can make quite a different to process intensive
> stuff. Might not make any noticable difference for this sort of game,
> however. (not untill your dealing with thousands of elements to
> -Thomas Wrobel
> Reviews of anything, by anyone;
> Please try out my new site and give feedback :)
> On 22 September 2011 16:13, Jochen Wiedmann <jochen.wiedmann at gmail.com>
> > Hi,
> > I've got some 15 years of experience with elder versions of HTML,
> > that this could be done with HTML5. However, as I imagine that there
> > is a real lot of new technology to learn, I'd like to ask for
> > guidance, if only to find thAe right documentation and samples as
> > quick as possible.b
> > What 'I'd like to do is a little fame, WHich works as folllows:
> > - The screen is initially empty. When the game starts, the screen is
> > filled with random numbers, on random positions (preferrably no grid,
> > or the like, but truly random), in random sizes, colors, and styles
> > (inverted or not, bold, or not, italic, or not).
> > - The users task is to remove those numbers by left clicking on the
> > odd numbers and right clicking on the even numbers (or vice versa).
> > - When some numbers have been removed, the empty portions of the
> > screen are again randomly refilled.
> > Trying to rephrase the above in a set of questions:
> > - Can I do filling the screen in HTML5. If so, are there any samples
> > or docs availabLE that show me how to randomly place pictures or text
> > in a predefined area of the HTML page?
> > - How do i detect, if the user clicks on those numbers, distinguished
> > by left and right click? Again, any samples or docs?
> > - Can I start some thread or background task that cares for the
> > refilling (that thread would also declare the game over after some
> > time.)
> > Thanks , and sorry for stealing your time,in advance,
> > Jochen
> > _______________________________________________
> > Help mailing list
> > Help at lists.whatwg.org
> > http://lists.whatwg.org/listinfo.cgi/help-whatwg.org
> Help mailing list
> Help at lists.whatwg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Help