Not sure why the color shifts... but:

Create a color shift table (array of color shift values):
Create a property array for each element (triangle, square, circle): this
would contain, among other things (length of each side, original color,
current color, etc. etc. etc.)
If mouse click AND ctrl key is down (pressed), add element (triangle) to
group to be moved, if ctrl key is not down, remove all currently selected
elements from "selected status" and then add current element to "selected
status"
If mouse down AND mouse move begin drag/drop action.

Is that what you wanted?

On Tue, Nov 16, 2010 at 6:11 PM, sethammons <seth.amm...@gmail.com> wrote:

> While no stranger to PHP/MySQL and basic JavaScript, I could use some
> major guidance on a project I wanted to try to put together. I'm not
> sure how to go about it, but a little direction I think is all that I
> need.
>
> Basic Elements:
> User can create any number of seven present rectangles (preset color
> and size).
> These rectangles can then be dragged, rotated 90 degrees, and/or
> deleted.
> The "canvas" or "play area" is divided into four quadrants. Each time
> the rectangle is moved across the border between two quadrants, the
> color is toggled (ex: a blue rectangle is dragged sideways and is now
> in a new quedrant, and upon entering the quadrant, the color is
> toggled to red. Upon dragging it to the next quadrant -- either to the
> original or to another adjacent quadrant, the color is toggled back to
> blue).
>
> It would be best if multiple rectangles can be selected at once, and
> it would be best if the mouse was the only input needed.
>
> Any and all help is highly appreciated. This is destined to be a
> functional algebra tiles manipulative to be used by my algebra
> students. Thanks again for any direction!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prototype & script.aculo.us" group.
> To post to this group, send email to
> prototype-scriptacul...@googlegroups.com.
> To unsubscribe from this group, send email to
> prototype-scriptaculous+unsubscr...@googlegroups.com<prototype-scriptaculous%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to