Search found 6 matches

by tomerp
Sun May 14, 2017 6:54 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: lock objects from being dragged out of the screen
Replies: 33
Views: 20115

Re: lock objects from being dragged out of the screen

thank u all of your help. hopfully i will be able to try those things out during the day. one more thing thought - i've seen a soliter game ("klondike") on "example tutorials" which doesn't let the player drag the mouse out of the screen once he is grabbing something. it's not the kind of code which...
by tomerp
Fri May 12, 2017 12:05 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: lock objects from being dragged out of the screen
Replies: 33
Views: 20115

Re: lock objects from being dragged out of the screen

i am moving the object with:

Code: Select all

grab me
where should i put this code that u wrote? in the card script?

Code: Select all

on mouseMove
  put the target
  if the mouseLoc is beyond the borders of this card then do not allow this to happen
end mouseMove
by tomerp
Thu May 11, 2017 7:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: lock objects from being dragged out of the screen
Replies: 33
Views: 20115

lock objects from being dragged out of the screen

hi!
i have an app in which the user can move object around. what will be the most efficient way of preventing them from dragging the object out of the screen?

tnx
tomer
by tomerp
Mon Mar 27, 2017 6:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: condition loop for image visibilty
Replies: 7
Views: 4147

Re: condition loop for image visibilty

thank you guysfor you help!
by tomerp
Sat Mar 25, 2017 5:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: condition loop for image visibilty
Replies: 7
Views: 4147

Re: condition loop for image visibilty

hi guys! thank u for replying my question - but yet im having a hard time finding the correct syntax for my problam. here is what i am trying to do: for a certain button, i would like to write a script that check how many of my images are still visible. the images are all in the same card. finally i...
by tomerp
Thu Mar 09, 2017 8:05 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: condition loop for image visibilty
Replies: 7
Views: 4147

condition loop for image visibilty

Hi! i would like to check in an app i have made how many images are still visible, and then print the answer to the user. what would be the most effcient way of doing it? i was thinking about a loop with a condition only that i lack the knowladge of phrasing it in LC. can someone give me a hand? tnx...

Go to advanced search