Search found 5 matches

by InLacyWeTrust
Tue Dec 03, 2013 6:18 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Variable Help
Replies: 4
Views: 2361

Re: Variable Help

Hey Simon,

I really appreciate you running my code :) Turns out the problem was a miss-spelled variable on a few "tank" buttons.

Darn sleep deprived eyes :roll:

Thanks!
by InLacyWeTrust
Tue Dec 03, 2013 5:53 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Variable Help
Replies: 4
Views: 2361

Re: Variable Help

yes here it is


//Monster Game
//
//by: Adam

//Height of Water tanks
global tankHeight
//Height of individual tanks
global tank1Level, tank2Level
//Shared variable for height of tank level to determine tank visual
global tankLevel

//setTank sets the visible representation of
//a water level ...
by InLacyWeTrust
Tue Dec 03, 2013 5:05 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Variable Help
Replies: 4
Views: 2361

Variable Help

I have a 2 water tanks with seven buttons on them ranging 1-7, When the user clicks a button, the button and all those below it will turn blue. I have declared the global variables tank1Level and tank2Level on each button and on the stank. Here is the code I have for one of the buttons.


//Height ...
by InLacyWeTrust
Tue Nov 19, 2013 4:36 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Filling A "Water Tank" Bar Help
Replies: 4
Views: 2807

Re: Filling A "Water Tank" Bar Help

Is there a way to do that without the cover "tank" being the same color as the background?
by InLacyWeTrust
Tue Nov 19, 2013 3:25 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Filling A "Water Tank" Bar Help
Replies: 4
Views: 2807

Filling A "Water Tank" Bar Help

Hey Guys,

Fairly new to the LiveCode language, but I am no stranger to programing. :)

I'm try to make a game that contains two water tanks (LiveCode rounded rectangles) and when a user drags their finger along the tank, the tank will fill to specific amounts 7p to an arbitrary "7" which would be ...