of the target containspuzzlePiece and
lCurrentPieceDragged is empty then
Hi Chipp,
thanks again, I updated the stack accordingly.
regards
Bernd
--
View this message in context:
http://www.nabble.com/Sticking-an-image-to-the-cursor-tp19934277p19952856.html
Sent from the Revolution - User
And if you want to do it outside a mouseDown, then replace mouseDown
with mouseEnter...
local lCurrentPieceDragged
on mouseEnter
if the short name of the target containspuzzlePiece then
put the target into lCurrentPieceDragged
end if
if lCurrentPieceDragged is not empty and the
.
regards
bernd
--
View this message in context:
http://www.nabble.com/Sticking-an-image-to-the-cursor-tp19934277p19940585.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution
:
From: Sue Smith [EMAIL PROTECTED]
Subject: Re: Sticking an image to the cursor
To: How to use Revolution use-revolution@lists.runrev.com
Date: Saturday, October 11, 2008, 10:37 AM
I did, but it only works with mouseDown. I need it to work on the mouseEnter
handler. I am developing (freeware
Hi Bernd,
Your stack looks great and works with the exception if you start
moving the pink square over the yellow square, it drops the pink
square and picks up the yellow square.
So, just change in the mouseEnter, the first line to now read:
if the short name of the target containspuzzlePiece
Is is possible for an image to smoothly stick onto the cursor? I am working
on a jigsaw puzzle for children. I know that I can set the image to the mouse
location, but it is very choppy and and the image will drop if the user
accelerates mouse speed and it can't leep up.
Thanks in advance!
:
From: Klaus Major [EMAIL PROTECTED]
Subject: Re: Sticking an image to the cursor
To: How to use Revolution use-revolution@lists.runrev.com
Date: Saturday, October 11, 2008, 9:00 AM
Hi Sue,
Is is possible for an image to smoothly
stick onto the cursor? I
am working on a jigsaw puzzle
Hi Sue,
Is is possible for an image to smoothly stick onto the cursor? I
am working on a jigsaw puzzle for children. I know that I can set
the image to the mouse location, but it is very choppy and and the
image will drop if the user accelerates mouse speed and it can't
leep up.
Thanks
On Oct 11, 2008, at 11:00 AM, Sue Smith wrote:
Is is possible for an image to smoothly stick onto the cursor? I
am working on a jigsaw puzzle for children. I know that I can set
the image to the mouse location, but it is very choppy and and the
image will drop if the user accelerates
Recently, Sue Smith wrote:
Is is possible for an image to smoothly stick onto the cursor? I am working
on a jigsaw puzzle for children.
There are a few limitations doing this, but it should be possible. Execute
the following in your Rev message box to see a demo that uses a stack with a
Bonsoir Sue,
Le 11 oct. 08 à 17:00, Sue Smith a écrit :
Is is possible for an image to smoothly stick onto the cursor? I
am working on a jigsaw puzzle for children. I know that I can set
the image to the mouse location, but it is very choppy and and the
image will drop if the user
Recently, Klaus Major wrote:
Is is possible for an image to smoothly stick onto the cursor? I
am working on a jigsaw puzzle for children. I know that I can set
the image to the mouse location, but it is very choppy and and the
image will drop if the user accelerates mouse speed and it can't
Bonsoir Sue,
Le 11 oct. 08 à 19:37, Sue Smith a écrit :
I did, but it only works with mouseDown. I need it to work on the
mouseEnter handler. I am developing (freeware) for children with
disabilities - so many are unable to click the mouse button, let
alone keep it held down.
Just to
Colin,
It's generally not a good idea to use the on idle message. Like
mouseStillDown, it doesn't do a decent job of sharing processor time
with other running applications-- and tends to max processor usage.
It's there mostly for backwards compatibility with HC. I sort of wish
they would just
On Oct 11, 2008, at 5:40 PM, Chipp Walters wrote:
Colin,
It's generally not a good idea to use the on idle message.
That's part of what I had in mind when I said I probably haven't done
this in the most advanced way,. I wouldn't do it with idle either,
but send a message now and then.
the mouse without a mouseDown.
cheers
Bernd
--
View this message in context:
http://www.nabble.com/Sticking-an-image-to-the-cursor-tp19934277p19937290.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use
Hi Bernd,
It generally the accepted convention to do the following:
local lMouseIsDown
on mouseDown
put true into lMouseIsDown
end mouseDown
on mouseMove x,y
if lMouseIsDown is true then
-- DO YOUR STUFF HERE
set the loc of img myCursore to x,y
end if
end mouseMove
on
17 matches
Mail list logo