RunRev Studio version 4

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
saratogacoach
Posts: 87
Joined: Thu Jul 17, 2008 8:42 pm

RunRev Studio version 4

Post by saratogacoach » Sat Jul 25, 2009 8:59 pm

Hi,

I am planning a project that involves user drawing in runtime and noticed a new RunRev Media 4.0 web player sample at

http://revmedia.runrev.com/revWeb-sampl ... sh-screen/

with "paint" drawing features.

Does anyone know if runtime painting and drawing will be new features in Studio version 4? And, if yes, any details about these features for standalone and web deployment.

Thanks.

Kind Regards,
saratogacoach
LiveCode 4.6.0, Windows 7 Home Premium 64 bit, Core i7 2.80, 8G RAM, ATI Radeon HD5770

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

RunRev Studio version 4

Post by jmburnod » Sat Jul 25, 2009 10:15 pm

Hi saratogacoach,

I've seen paint tools on the demo after a clic on the pencil.

I've seen also a strange message after a clic on the btn "download the plugin" at topleft "Le plugin demandé n'est pas disponible" with firefox 3.02 french

But the link to download in the text work fine


All the best

Jean-marc

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Post by BvG » Sun Jul 26, 2009 10:05 am

runtime painting has been in rev since day one. as an example, click the small triangle at the bottom of the tools palette.

however, if you want to create an app that allows drawing for the user, you need to fumble around with the tool and make sure that there's always a way to get back to browse mode for the user. be assured that it won't ever be photoshop, but a cheap paint knockoff might be possible.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

saratogacoach
Posts: 87
Joined: Thu Jul 17, 2008 8:42 pm

Post by saratogacoach » Sun Jul 26, 2009 1:02 pm

Hi Björnke,

Still a beginner, I tried this script from the help guide in a button:

Code: Select all

-- set the size of the image
set the rect of the templateImage to 100,100,400,400
create image
choose brush tool
set the brush to 8
set the brushColor to red -- could use an RGB triplet here
set the dragSpeed to 20 -- very slow
drag from 120,120 to 300,300
It works upon clicking the button. Now I can try to create a similar script that can be placed in a mouse movement, so the user can draw a straight line starting and stopping anywhere they wish.

Kind Regards,
saratogacoach
LiveCode 4.6.0, Windows 7 Home Premium 64 bit, Core i7 2.80, 8G RAM, ATI Radeon HD5770

Post Reply