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: 10428
Joined: Fri Feb 19, 2010 10:17 am

The Curse of the Custom props

Post by richmond62 »

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: 10428
Joined: Fri Feb 19, 2010 10:17 am

Re: The Curse of the Custom props

Post by richmond62 »

props.jpg
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10428
Joined: Fri Feb 19, 2010 10:17 am

Re: The Curse of the Custom props

Post by richmond62 »

This is the first time I have experimented with blendLevel in a serious way (to "hide" the fruit cards).
fruitCode.png
bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: The Curse of the Custom props

Post by bogs »

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: 10428
Joined: Fri Feb 19, 2010 10:17 am

Re: The Curse of the Custom props

Post by richmond62 »

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: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: The Curse of the Custom props

Post by bogs »

Bwahaha, somehow, I felt a little faint today...
Image
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10428
Joined: Fri Feb 19, 2010 10:17 am

Re: The Curse of the Custom props

Post by richmond62 »

QUACK!

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