serg-srri-umass / TP-data-games

Middle School/Statistics oriented data games for the Data Games Project
http://srri.umass.edu/datagames
4 stars 5 forks source link

ShipOdyssey: User expects to be able to double click 'X's on map #161

Closed russphelan closed 11 years ago

russphelan commented 11 years ago

Make double clicking an X cause 'Play' to happen.

russphelan commented 11 years ago

Having trouble getting functions to respond to DOUBLE_CLICK event.

Possible interference from other operations being performed on buttons? Not yet able to understand button mechanics.

MikeSalyh commented 11 years ago

I have this functionality on the tip of my master branch.

The trick is you need to set DoubleClickEnabled to true, before a moveiclip will accept double clicks. Also, I have a movieclip called the 'ghostBlocker' over the map that helps keep the animation from breaking. That's what the double click should go on.

MikeSalyh commented 11 years ago

I dont recommend working on this functionality though, because I'm partway through a new map that has 6 missions on it, which will have to replace the old one.

russphelan commented 11 years ago

I had doubleClickEnabled, ghostBlocker was throwing me.

Suspending work on this issue, being replaced soon with new map.

russphelan commented 11 years ago

Functionality works on Mike's branch, pulled and tested. Closing.