Sparkly drop targets
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
- Posts: 9454
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Sparkly drop targets
Inspired by a suggestion by Brahmanathaswami:
http://andregarzia.on-rev.com/richmond/ ... vecode.zip
The code is in the group "GreenDOG".
Enjoy!
Richmond.
http://andregarzia.on-rev.com/richmond/ ... vecode.zip
The code is in the group "GreenDOG".
Enjoy!
Richmond.
-
- Livecode Opensource Backer
- Posts: 9454
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Sparkly drop targets
I've just posted an updated version: the 'dog' on the left uses the animated GIF I downloaded from the internet,
the 'dog' on the right uses an animated GIF I have just made myself.
the 'dog' on the right uses an animated GIF I have just made myself.
-
- Livecode Opensource Backer
- Posts: 9454
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Sparkly drop targets
Oh:
I cheated by making a set of differently sized PNGs and then going here:
http://gifmaker.me/
Lovely job!
I cheated by making a set of differently sized PNGs and then going here:
http://gifmaker.me/
Lovely job!
-
- Livecode Opensource Backer
- Posts: 9454
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Sparkly drop targets
Crayons that sparkle as they are moved.
- Attachments
-
- crayons.livecode.zip
- Here it is.
- (48.93 KiB) Downloaded 394 times
-
- Posts: 52
- Joined: Mon Jun 24, 2013 4:10 am
- Location: Hawaii
- Contact:
Re: Sparkly drop targets
But the crayons do not follow the mouse, they jump from one location to the next.
Re: Sparkly drop targets
Same here. They don't move until the animation stops.Brahmanathaswami wrote:But the crayons do not follow the mouse, they jump from one location to the next.
Paul
-
- Livecode Opensource Backer
- Posts: 9454
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Sparkly drop targets
If your processor is fast enough they do move.
That is the main problem with this.
That is the main problem with this.
Re: Sparkly drop targets
Hi Richmond,richmond62 wrote:If your processor is fast enough they do move.
That is the main problem with this.
I'm using LC 6.6.2 on Windows 8, HP Z230 Workstation, i7 4th gen, 16Gb ram....
This is a fast computer:-)
What LC version are you using and on what platform?
Paul
-
- Livecode Opensource Backer
- Posts: 9454
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Sparkly drop targets
I'm using 6.6.2 on a DELL Optiplex 745 running UbuntiStudio 14.04.1: it has 2 processors running at 1.8 GHz (it is about 6 or 7 years old - bought it for about $100 3 years ago: never looked back!).
-
- Livecode Opensource Backer
- Posts: 9454
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
-
- Livecode Opensource Backer
- Posts: 9454
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Sparkly drop targets
By-ther-way those people who have access to a Windows OS environment and/or WINE might like to know
about this:
http://www.freedownloadsplace.com/Bryce ... -40177.htm
about this:
http://www.freedownloadsplace.com/Bryce ... -40177.htm
-
- VIP Livecode Opensource Backer
- Posts: 3581
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: Sparkly drop targets
In the crayons stack, move the "wait 1 tick" line down one line, just before the "add 1 to KOUNTER" line (out of the innermost repeat loop) and the crayon will move with the mouse movements, although at a bit of expense to the sparkly stuff.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
-
- Livecode Opensource Backer
- Posts: 9454
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria