Page 1 of 1

Bijoux Buttons

Posted: Tue Aug 07, 2018 10:06 pm
by richmond62
I received a link to a video from some sort of open-thing talk
by Scott Rossi a while back
where he started demonstrating various button effects that were extremely clever.

However, what with Heather and he doing sound checks and so on I began to drift off into fantasy land . . .

After popping through to the kitchen to knock together a 'path' game to make my nephew's life miserable, as one does:
-
pathPlay.jpg
-
Crude but functional and coming in at about $1.50.
-
I thought I'd muck about at the "fancy button game" myself.

I don't have quite the skill that Scott Rossi has, and I only spent 15 minutes at the first "offering".

I'll try for something a bit more slick-n-slinky later this week [anything to avoid flaming Python]:
-
FB1.png
-
FAUX BUTTONS #1.livecode.zip
Here's the stack.
(3.75 KiB) Downloaded 260 times

Re: Bijoux Buttons

Posted: Wed Aug 08, 2018 3:40 am
by bogs
richmond62 wrote:
Tue Aug 07, 2018 10:06 pm
I don't have quite the skill that Scott Rossi has...
He is something else, and quite imaginative. I remember watching one of his talks where he was showing projects that looked incredibly complex, until he took them apart showing nothing more than simple controls behind the effects.

That demonstration always makes me wonder if my head is just switched off or something.

Re: Bijoux Buttons

Posted: Wed Aug 08, 2018 9:02 pm
by richmond62
on mouseDown
put 0 into ZHULT
repeat until ZHULT > 1
put (quote & ZHULT & ",255,255,102,0" & quote)
set the fillGradient["ramp"] of grc "xx" to SLOPE & return & "1.00000,255,0,0,233"
add 0.01 to ZHULT
wait 1 tick
end repeat
end mouseDown
Not good:

execution error at line 5 (graphic: bad gradient ramp), char 1

Why?

Re: Bijoux Buttons

Posted: Thu Aug 09, 2018 1:17 am
by FourthWorld
The Dictionary suggests removing the first line of the value you're trying to set it to.