|Fun with EDT [message #907441]
||Mon, 03 September 2012 22:29
| Dan Darnell
Registered: November 2011
My latest EDT "fun" project is up on my web site. It's a solve-the-maze game ("Amaze Me"). To create Amaze Me I resurrected Chris Laffra's 2D drawing API from EGL CE. After porting the API to EDT I extended it significantly by adding support for polygons, image manipulation, and other features I knew I would need in my game. (My ultimately goal is to contribute the API to the EDT project.)|
Amaze Me includes the following features:
- "Perfect" maze generation. (A perfect maze has one and only one path from any point in the maze to any other point. This means that the maze has no inaccessible sections or cells, no circular paths, and no open areas.)
- Multiple maze size options.
- 2D and 3D views.
- 2D view shows overview with viewable portion of maze indicated along with mouse and cheese positions (very useful for large mazes).
- Scrolling and panning are supported in 2D mode on large mazes.
- 3D view optionally shows a 2D mini-view to help you keep your bearings.
- Optional breadcrumbs help you keep track of where you've been in both 2D and 3D modes.
- Two varieties of auto-solve (one animated, one not) are there for when you give up.
- Scoring system based on maze complexity, optimal movement, and elapsed game time.
Amaze Me runs well on Firefox, Chrome, and Safari and I tested with all three in their current versions. However, because the game uses HTML 5 Canvas capabilities extensively, it does not run at all on Internet Explorer prior to the latest release of IE 9 (and I haven't tested with IE 9).
Check out Amaze Me at www.dandarnellonline.com (see the Software tab) or go directly to the game at:
I think that Amaze Me is another great example of the both the extensibility and the versatility of EGL/EDT. If you get a chance to play the game, please let me know.