Shiny, spinning stuff

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
splash21
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 369
Joined: Sun Dec 19, 2010 1:10 am
Location: UK
Contact:

Shiny, spinning stuff

Post by splash21 » Sun Apr 14, 2013 8:42 pm

I've had this demo sitting untouched for well over a year - which is a bit of a shame as it shows some (IMHO) nice animation with LiveCode. It was (and still is) marked for inclusion in the MobGUI library, so I've dusted off the cobwebs and here it is :D

Carousel1.zip
(60.81 KiB) Downloaded 314 times
LiveCode Development & Training : http://splash21.com

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: Shiny, spinning stuff

Post by jmburnod » Mon Apr 15, 2013 9:16 am

Hi Splash21,
wonderful
Thank for share it
Best
Jean-Marc
https://alternatic.ch

splash21
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 369
Joined: Sun Dec 19, 2010 1:10 am
Location: UK
Contact:

Re: Shiny, spinning stuff

Post by splash21 » Mon Apr 15, 2013 9:33 am

Thanks, JM. The original video is still on youtube: http://youtu.be/xa0Id4IIyb0
You can customize the carousel by dropping in your own images. Any static images in the carousel group should have their carousel["static"] set to true 8)


There are also a couple of hidden buttons;

Show : shows the set up ovals. Resize the big one to define the carousel shape the images will move around. Adjust the vertical distance of the small circle from the large one to control the z-axis depth.

Setup : apply the new setup defined by the ovals.
LiveCode Development & Training : http://splash21.com

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am
Location: Bordeaux, France

Re: Shiny, spinning stuff

Post by Dixie » Mon Apr 15, 2013 10:31 am

lovely...:-)

Nakia
Posts: 425
Joined: Tue Feb 21, 2012 8:57 am

Re: Shiny, spinning stuff

Post by Nakia » Wed Apr 17, 2013 6:17 am

Nice,

Looks very neat!!

endernafi
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 296
Joined: Wed May 02, 2012 12:23 pm
Location: New York
Contact:

Re: Shiny, spinning stuff

Post by endernafi » Fri Feb 14, 2014 2:19 pm

Following Nakia's advice and hoping John's permission 8)
I've added click sound functionality as seen in picker wheel of iOS.
carousel_20140214.zip
(68.23 KiB) Downloaded 259 times
I've marked my additions with my name in order to prevent any confusion.
If any problem occurs, first remove or comment out my additions.
I haven't done any change or removal to the original code.

Best,

~ Ender
~... together, we're smarter ...~
__________________________________________

macOS Sierra • LiveCode 7 & xCode 8

Post Reply

Return to “Talking LiveCode”