Community Moments
From Bulgaria to Taiwan - Apps, Code and More

I'm in a privileged position here in customer support. People send me things. If they are interesting and exciting I bookmark them to bring to revUp readers, and this week I've got several cool LiveCode things for you.

 

Some time back, on 1st July, Luiz Astorquiza sent me this image from Campus Party Colombia:

 

 

He was presenting a session on LiveCode, which went well.

 

Marken Chen sent me a link to his blog, which he would like to share with you. He has been working on using CSS like styles to layout LiveCode UI's. He gave me permission to reprint from his blog here. He is an engineer and works at Institute for Information Industry(III) inĀ 
Taiwain.

Design LiveCode layout with CSS Like style

Recently, I joined an interesting project which uses LiveCode to develop some Apps. In the project one member is responsible for designing the UI and the other one is in charge of coding. UI design and coding were done at the same time. It is very awkward either that the coder set the UI properties or the coder wait UI designer to set UI properties.
So we developed a plugin to separate two kinds of job.
We can set the properties in text file, such as:
 .oldc { -lc-foreground-color : YELLOW  ; -lc-background-color  :  green ; /* sss--;; */
 }
   #demoGroup { 
   -lc-background-color: AliceBlue; 
   -lc-foreground-color: pink;
   -lc-font-size:20;
 }


 #demoImage { -lc-filename : "./Image/Brazil.png"; -lc-angle:60; }					  


 .glowMe:mouseEnter {          
 -lc-outer-glow:
 graphicEffect(yellow,normal,191,gaussian,30,10);
 }
 .glowMe:mouseLeave {
 -lc-outer-glow: empty;		
 }				  

The demo screen snapshots:

(1) We can choose “ThemeA” :


image

(2) or switch to “ThemeB” :


image


(3) We can also combine “ThemeA,ThemeB” orderly or “ThemeB,ThemeA”.

The plugin is still in development.

 

You can follow Marken's blog here.

 

If you follow the use-list for LiveCode, you cannot fail to have heard of a certain Richmond Mathewson, frequently based in Bulgaria. He's known for his longstanding, often witty, contributions to the Livecode discussion groups. Recently I came across this little contribution from him which I'm sure he will not mind me sharing here.

 

Sparks

 

 

The point was to create a "sparks" effect when an object is moved or dropped into place, and if you download the file here and drag the dog at the bottom into the dog in the main image, you will see a visual effect (try both right and lefthand dogs). The code to make it work is in the "NewDog" group, and this is it:

on mouseDown
   grab me
end mouseDown

on mouseUp
   if the mouseloc is within "132,191,272,331" then
      set the loc of group "newDog" to 202,261
      set the repeatCount of img "wx.gif" to 0
      put 0 into KOUNTER
      repeat until KOUNTER > 4
         put 0 into sFrame
         repeat until sFrame = 23
            add 1 to sFrame
            set the currentFrame of image "wx.gif" to sFrame
            wait 1 tick
         end repeat
         add 1 to KOUNTER
      end repeat
   else
      set the moveSpeed to 2000
      move group "newDog" to 500, 528
   end if
end mouseUp

Last but not least, I'm delighted to say that this year RunRevLive.14 will have an official conference app! You will be able to keep track of the schedule, make notes, interact with other attendees and more, using this great little app courtesy of LiveCloud and Canela Software. Check it out here. Note that the app is still going through Apple's submission process so the iOS version is almost but not quite available yet, but the Android app is out there and working.

 

RunRevLive App

 

About The Author
Heather
Heather Laine
Heather Laine is the Customer Services Manager for LiveCode.
Read Heather's Blog
Other Articles
Webcasting From San Diego
   22.08.2014
Watching a webcast is easy, but filming and streaming it for you without a hitch is hard! We're deep in preparations for RunRevLive.14 and our cameraman is losing sleep...
Read more
 
 
The Arnie of Debuggers
   22.08.2014
Yes, its true. The On-Rev Client is Back! Now you can debug your LiveCode Server scripts live on the server again, with this useful piece of software.
Read more
Community Moments
   22.08.2014
What do Bulgaria, Taiwan and Colombia have in common? They all contain keen livecoders creating neat stuff for you. Get your hands on some code and a brand new scheduling app here.
Read more
Multiplayer Game Online
   22.08.2014
This article is an overview of how a multiplayer game written in LiveCode works, and examines the specifics of handling the login process.
Read more
 
Thank you for your time.

 

© LiveCode 2014