Jump to content




multitasking and dragging icons?


  • You cannot reply to this topic
22 replies to this topic

#21 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 16 March 2014 - 03:35 AM

View PostIsaacTBeast, on 16 March 2014 - 03:27 AM, said:

I don't understand how the mouse drag cooperates with mouse click events..
mouse_drag doesn't cooperate with mouse_click, they're two completely different events. you must detect where they've clicked (which is fired JUST before the drag events) and decide what they've clicked on, then once you get drag events you can assume that they're trying to move whatever is at wherever they clicked. Take a look at the wiki to see what the other return values in mouse_click and mouse_drag mean.

View PostIsaacTBeast, on 16 March 2014 - 03:32 AM, said:

I don't really understand for i =1 , #INPUT do foo foo foo end
that in Lua is a simple for loop. it says loop from 1 to the length of INPUT storing the number into the variable i.

View PostSuicidalSTDz, on 16 March 2014 - 03:23 AM, said:

Edit: As does holding a conversation..
well there are people that cannot read. but they generally spend all their life talking to people as opposed to doing something that requires reading.

#22 SuicidalSTDz

    Permutator of Strings

  • Members
  • 1,308 posts
  • LocationPennsylvania

Posted 16 March 2014 - 03:36 AM

Ninja'd

Edit:

View Posttheoriginalbit, on 16 March 2014 - 03:35 AM, said:

well there are people that cannot read. but they generally spend all their life talking to people as opposed to doing something that requires reading.
I was referring to his earlier conversation with you ;)

Edited by SuicidalSTDz, 16 March 2014 - 03:42 AM.


#23 mrpoopy345

  • Members
  • 148 posts
  • LocationMy Computer

Posted 16 March 2014 - 12:13 PM

"Here in Ask a Pro, the effort people are willing to expend helping you is usually about equal to the effort you are putting in." — Lyqyd
Read the PIL, like people said, and look at some other peoples code!
You want us to just spoon feed you? Go to stack overflow!
We have given you all the help you need, we have cited many resources available to you, so USE them!
Because your own man, not someone else's!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users