Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » EGL Development Tools » Amaze Me game update(I call it version 2)
Amaze Me game update [message #928830] Mon, 01 October 2012 02:04 Go to next message
Dan Darnell is currently offline Dan DarnellFriend
Messages: 145
Registered: November 2011
Location: Arkansas
Senior Member
I am still implementing HTML 5 Canvas functionality as an EGL/EDT API. The maze game makes a nice test bed. In addition to more graphical capabilities I have now added browser local storage (another HTML 5 feature) to the mix.

The game update includes the following:
- High score record keeping (using HTML 5 browser local storage)
- Spotlight mode (using HTML 5 canvas clipping region...this is really neat!)
- Breadcrumbs that change color to show repeat visits (my wife asked for this -- couldn't very well say 'no' now could I?)
- Space bar to reveal maze solution in mini-view for 3 seconds (for cheaters...like me)

Spotlight mode is my favorite new feature and it was very interesting to implement.

Check out Amaze Me at www.dandarnellonline.com (see the Software tab) or go directly to the game at:

http://www.dandarnellonline.com/AmazeMeTC/amazeme.html

--Dan

p.s. I still haven't done any IE 9 testing but have tested using Firefox, Chrome, and Safari in their most recent versions.

p.p.s. I don't know if I will ever get around to releasing Amaze Me as an open-source project. Instead, I am creating small-scale samples to illustrate various features of the canvas API. The samples will be included with the API. Here are a few of them:

Clock (a modified version of the original Chris Laffra work):
http://dandarnellonline.com/VariousTestsTC/Clock.html

Composite Operations:
http://dandarnellonline.com/VariousTestsTC/CanvasCompositeOperations.html

Line Cap and Join:
http://dandarnellonline.com/VariousTestsTC/CanvasLineExamples.html

p.p.p.s. If you have no idea what this HTML 5 Canvas stuff is all about, here is a handy cheat sheet: http://www.nihilogic.dk/labs/canvas_sheet/HTML5_Canvas_Cheat_Sheet.png

[Updated on: Mon, 01 October 2012 02:08]

Report message to a moderator

Re: Amaze Me game update [message #929462 is a reply to message #928830] Mon, 01 October 2012 13:25 Go to previous messageGo to next message
Richard Moulton is currently offline Richard MoultonFriend
Messages: 92
Registered: August 2011
Location: Devon, UK
Member
Dan,

That's great stuff.

I looked at the Canvas API (using EGLCE) a few years back using some of the examples Chris Laffra posted. Are you happy to share the VariousTestsVC as a project with the community, I'd really like to see how you've implemented the API.

Richard
Re: Amaze Me game update [message #929659 is a reply to message #929462] Mon, 01 October 2012 16:39 Go to previous message
Dan Darnell is currently offline Dan DarnellFriend
Messages: 145
Registered: November 2011
Location: Arkansas
Senior Member
Yep. I am working on getting samples created for the various features and then I will make it available to all. Naturally, the process of creating samples is bringing to light little bugs and giving me ideas for things that could be done better. Making progress though.

I am looking into what it might take to contribute the API formally to the EDT project but if it isn't a good fit or they don't want it then I will still make it available as freeware.

I would love to see a piece of the overall EDT effort be a more community-led initiative to implement HTML 5 features. Something mere mortals like myself could do to contribute and not get in the way of the people doing the heavy lifting on the language itself.

--Dan

p.s. Send me a PM (you'll find my contact information on my web site at www.dandarnellonline.com) and I will be happy to e-mail you the HTML 5 project in its current form.

[Updated on: Mon, 01 October 2012 16:53]

Report message to a moderator

Previous Topic:EDT 0.8.2 Milestone 2 is available
Next Topic:Extending the RUI widget set
Goto Forum:
  


Current Time: Sun Oct 13 20:14:31 GMT 2024

Powered by FUDForum. Page generated in 0.03831 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top