I finally got it working......nice graphics and pretty good memory and cpu usage. I found rotating to be difficult to control. It would be nice if you had something akin to "snap to grid", because trying to stop the rotation
at 90 degree points was tricky. Like if you are within 10 degrees of 90, it would snap to 90 upon mouse-button-1 release. Also maybe link keys 1,2,3 to controlling which axis of freedom is selected, as relying on just the mouse is cumbersome. An "auto-solve" feature would be cool, snapshoting each move into an animated gif or something.
But beyond the Rubic's Cube game, I think you are on to something. The 3-d control is pretty good if you ask me, and this could be generalized into something like visualizing warehouse inventories stacked in 2-d aisles, or other such real world usage. I'll have to study how you did it. :-)
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|