looking for a starting point

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
brightasalaser
Posts: 2
Joined: Sun May 17, 2009 9:09 pm

looking for a starting point

Post by brightasalaser » Sun May 17, 2009 10:15 pm

I'm trying to make a simple app for my first shot, but would appreciate some help or pointing in the right direction. It would have 2 lines of text scrolling across the desktop, one line coming from each side. When they intersect, or perhaps after, a image would appear.
How do you treat the scrolling text: as one image for each line, or is each letter an image?

Thanks in advance, jack
in the end, it always comes down to perseverance.

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Mon May 18, 2009 6:31 am

You could also use two field controls and send them flying around the card using the move command. You will probably also want to take a look at the AnimationEngine extension, which makes these things a lot easier.

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

grc
Posts: 13
Joined: Thu Apr 23, 2009 9:21 am

Post by grc » Mon May 18, 2009 8:57 am

Heres a basic idea of the code:

Code: Select all

move field "Field1" to /*co-ordinates*/ without waiting 
move field "Field2" to /*co-ordinates*/ without waiting

if intersect (field "Field1", field "Field2") then
show image "Image"
end if
Play round with it for a bit til you get what you want.

Post Reply