Search found 4 matches

by minorpayne10
Thu Dec 17, 2015 6:33 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Simultaneous moving images
Replies: 4
Views: 4131

Re: Simultaneous moving images

Thank you Craig! So I adapted this code for my Play button.

This is my Stop/Start button:
global tStop

on mouseUp
send sStop
send changeLabel
end mouseUp

on changeLabel
if label of button "startstop" is "Start" then
set label of button "startstop" to "Stop"
else set label of button ...
by minorpayne10
Sat Dec 12, 2015 9:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Simultaneous moving images
Replies: 4
Views: 4131

Simultaneous moving images

answer "Hello World"

The dilemma: 3 images are moving simultaneously, a scrollbar that configures movespeed, a start/stop button.

My ideas:
start/stop: use lock moves and unlock moves, or interrupts the if loops I create to animate the images (see below)

Animation and speed: use an if loop to ...
by minorpayne10
Sat Dec 12, 2015 12:43 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Saving Image Location
Replies: 6
Views: 7999

Re: Saving Image Location

Thanks Jacque! That's just what I needed :D

Question: When doing multiple math operations... do I have to:
subtract # from var and put into var2
divide # from var2 and put into var3
? It seems so inelegant.

I'm doing a virtual titration lab for my chemistry research project (chem major with a ...
by minorpayne10
Thu Dec 10, 2015 12:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Saving Image Location
Replies: 6
Views: 7999

Saving Image Location

Hey all

I am doing an image translation and I need to save the y location in a variable to manipulate later. It's an image of a burette with graduated marks on it, for which I devised an equation to calculate the numbered mark using the y location of the image. But I don't know how to isolate that ...