After kind of done with the cutscene UI next I need to realize the function part of it.
First I need to make the actionlist happen. From the design document, I need to allow user to drag the function to action list. This is not very hard to realize.
I need to first: detect the mouse down event->if there is one, add a new tag close to the mouse position so let the user though they already got the function->when mouse is in actionlist area and the user still not release the mouse->add the current function to actionlist.
Here are some of the code look like: