Visit Our Project Home Page

Posts Tagged ‘interface’

House of Mouse

Thursday, April 24th, 2008

After much frustration, I’ve finally fixed the bug with the cursor color not being updated. (Actually reading the update method helped a great deal.) Reintroducing myself to ClickManager has made me wonder if we’re approaching the translation of Wickets in the right way. We refer to our current system as “drag and drop,” but the fact that the Wicket does not remain under the cursor as long as the mouse button is held down means that we have more of a “cattle prod” interface: if it’s not doing what you want, just poke it in the direction you want it to go. Implementing a true drag and drop is well beyond my knowledge of linear algebra, but I think we could alter our current system to achieve an effect similar to a true drag and drop.

(more…)

Initialization of Parent/Child Relationships

Tuesday, April 22nd, 2008

I wrote a simple in-game interface for linking objects.

Directions: Click object A, press “J”, and then click object B.  Object A will become the parent of object B.

When this occurs, you can move the parent; and the child will follow.  Also, rotating the parent causes the child to rotate around the parent (in an orbital fashion.)  Also, scaling the parent will cause the child to scale.

Problems: If you rotate the parent then try to translate the child, you will have a fun, fun time trying to get it to behave.  Try it if you don’t believe me.  Or look at my comment to Tommy’s most recent post if you want to spoil the surprise.