The Curse of the Custom props

Teaching software development? Using LiveCode to build your curriculum? This is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

The Curse of the Custom props

Post by richmond62 » Sat Jul 15, 2017 4:39 pm

cFruit.jpg
As LiveCode is Object-based one can assign Custom Properties to Controls: however kids find this difficult to understand.

This stack is a variation on the extremely corny old Pelmanism game that leverages custom properties: each of the “fruit cards” has a custom property assigned to it called (possibly rather unimaginatively) ‘FRUIT’ that is used to identify what is on the fruit card’s “face” for matching.

https://www.dropbox.com/s/im2ixbod0s06e ... e.zip?dl=0

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: The Curse of the Custom props

Post by richmond62 » Sat Jul 15, 2017 4:57 pm

props.jpg

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: The Curse of the Custom props

Post by richmond62 » Sat Jul 15, 2017 6:57 pm

This is the first time I have experimented with blendLevel in a serious way (to "hide" the fruit cards).
fruitCode.png

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: The Curse of the Custom props

Post by bogs » Sat Jul 15, 2017 7:57 pm

Well thats a coincidence, I was just experimenting with blendLevel myself to get different glass effects,
blendLevel.png
blendLevel2.png
but was only exploring the properties card part of it, thanks for reminding me of the code half :)
Image

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: The Curse of the Custom props

Post by richmond62 » Sun Jul 16, 2017 8:20 am

Obviously blendlevel has been much neglected and now its time has come,
with Thee and Me as the "Prophets of blendLevel."
POBL.png
Here's a photograph of the 2 of us, but as both our blendLevels are set at 100% we are invisible. :D

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: The Curse of the Custom props

Post by bogs » Sun Jul 16, 2017 8:14 pm

Bwahaha, somehow, I felt a little faint today...
Image

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: The Curse of the Custom props

Post by richmond62 » Mon Jul 17, 2017 12:05 pm

QUACK!

Duck eggs are blue, but the drake eggs are green!
DnD.livecode.zip
(40.58 KiB) Downloaded 402 times

Post Reply

Return to “Teaching with LiveCode”