Re: Resuscitation of Scott Raney Paint Tools
You are right... the art work repository will be all "vectorized" for that reason, " different screen sizes and resolutions". Further discussion here: It will be seen whether we can do with LiveCode to do coloring of SVG. Currently not an option/not doable. Would require a widget. Also, whether we allow a brush or "spray can" to apply "pixels" to a layer is an open question. We have to examine the use cases. What would a child do with her colored artwork once it is finished? Share it, post to Facebook, Instagram, email it so a friend... The use case where a children in interested in actually printing a copy where we see major problem with a different resolution, seems very small... Most screenshot programs turn the "object" into a JPG or PNG. As do phones' screenshot's. So, there is a case to a made for allowing pixels. Because once is JPG'd, it is pretty portable, even at smaller resolutions. BR HH wrote This is only a demo if your "coloring book" uses simple pixel paint. HTML5 also includes SVG/Canvas which makes it easy to use the same objects for different screen sizes and resolutions (it would be a nightmare with paint). ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Resuscitation of Scott Raney Paint Tools
Saucy work: http://forums.livecode.com/viewtopic.php?f=5=32783 Richmond. On 22.06.19 17:50, Sannyasin Brahmanathaswami via use-livecode wrote: I am trying to get a stack that worked in 1999-2000 under Metacard using a stack Scott Raney built. It is still on line Go stack URL "http://www.himalayanacademy.com/studyhall/hapaint.rev; But now, when I click the color palette I get on mouseUp setcolor the selectedColor of me end mouseUp colorPalette "Color map": execution error at line n/a (Object: object does not have this property) and, looking in the dictionary we see "selectedColor" is reserved for internal use. Something has changed? BR ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Resuscitation of Scott Raney Paint Tools
> BR wrote: > The UI is a bit messy, but I want to give a demo of what is possible > for a coloring book with LC versus scripting this whole thing in HTML5 > with JS/CSS/HTML. (it would be a nightmare) This is only a demo if your "coloring book" uses simple pixel paint. HTML5 also includes SVG/Canvas which makes it easy to use the same objects for different screen sizes and resolutions (it would be a nightmare with paint). ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Resuscitation of Scott Raney Paint Tools
HH and Bernd I did the cmd-F on the whole Paint stack, as Hermann originally suggestioned Bernd: set the selectedColor2 of me to the mouseColor --<--- add this This was needed to actually get a color! I guess previously Scott had access to the "selectedColor" somehow in Metacard Thanks to you both. The UI is a bit messy, but I want to give a demo of what is possible for a coloring book with LC versus scripting this whole thing in HTML5 with JS/CSS/HTML. (it would be a nightmare) Cheers from Kauai BR On 6/22/19, 12:38 PM, "use-livecode on behalf of Niggemann, Bernd via use-livecode" wrote: do what Hermann suggested but add a line to the mouseUp handler script of colorPalette of grp "palette" of cd id 1002 of stack "HAColorChooser": on mouseUp set the selectedColor2 of me to the mouseColor --<--- add this setcolor the selectedColor2 of me end mouseUp Kind regards Bernd ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Resuscitation of Scott Raney Paint Tools
do what Hermann suggested but add a line to the mouseUp handler script of colorPalette of grp "palette" of cd id 1002 of stack "HAColorChooser": on mouseUp set the selectedColor2 of me to the mouseColor --<--- add this setcolor the selectedColor2 of me end mouseUp Kind regards Bernd ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Resuscitation of Scott Raney Paint Tools
It works here in 9.5.0/9.0.5/9.0.2/8.1.10. But if you won't use the simple find dialogue I described then you could directly write (change the two instances of "selectedColor"): 1. script of colorPalette of grp "palette" of cd id 1002 of stack "HAColorChooser": on mouseUp setcolor the selectedColor2 of me end mouseUp 2. script of grp "Palette" of cd id 1001 of stack "HAColorChooser": on resetControls set the selectedColor2 of colorPalette 1 to getcolor(false) end resetControls Of course you have first to toplevel stack "HAColorChooser" (if it's open as palette). ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Resuscitation of Scott Raney Paint Tools
HH wrote: " replace with selectedColor2 Save and you are done." I tried that originally. Does not work. on mouseUp setcolor the selectedColor2 of me end mouseUp # calls setColor which "which" is empty "of me" # calls colorPalette "Color Map" It would seem you need to change the selectedColor to selectedColor2 in the control "Color Map" but "colorPalette" which also is only for internal use. I can see it "Color Map" on screen, select it. But you can't get the inspector on it, opens up "No Object Selected" or set a custom property on it He is exposing "deep engine" code and objects we can’t easily leverage in today's IDE BR On 6/22/19, 9:26 AM, "use-livecode on behalf of hh via use-livecode" wrote: This is a custom property name only. So do cmd-F in the PaintTools stack search for selectedColor in "this stack and its stack files" replace with selectedColor2 Save and you are done. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Resuscitation of Scott Raney Paint Tools
This is a custom property name only. So do cmd-F in the PaintTools stack search for selectedColor in "this stack and its stack files" replace with selectedColor2 Save and you are done. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Resuscitation of Scott Raney Paint Tools
Possibly, to really get at the 'problem' if, indeed, problem there be, would be to go back to MetaCard and export the Paint Tools as a single stack, rather than a substack of a one-button mainstack? Tomorrow I'll fire up my G5 iMac and export that stack . . . Richmond On 22.06.19 17:50, Sannyasin Brahmanathaswami via use-livecode wrote: I am trying to get a stack that worked in 1999-2000 under Metacard using a stack Scott Raney built. It is still on line Go stack URL "http://www.himalayanacademy.com/studyhall/hapaint.rev; But now, when I click the color palette I get on mouseUp setcolor the selectedColor of me end mouseUp colorPalette "Color map": execution error at line n/a (Object: object does not have this property) and, looking in the dictionary we see "selectedColor" is reserved for internal use. Something has changed? BR ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Resuscitation of Scott Raney Paint Tools
I am trying to get a stack that worked in 1999-2000 under Metacard using a stack Scott Raney built. It is still on line Go stack URL "http://www.himalayanacademy.com/studyhall/hapaint.rev; But now, when I click the color palette I get on mouseUp setcolor the selectedColor of me end mouseUp colorPalette "Color map": execution error at line n/a (Object: object does not have this property) and, looking in the dictionary we see "selectedColor" is reserved for internal use. Something has changed? BR ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Resuscitation of Scott Raney Paint Tools
I am trying to get a stack that worked in 1999-2000 under Metacard using a stack Scott Raney built. It is still on line Go stack URL "http://www.himalayanacademy.com/studyhall/hapaint.rev; But now, when I click the color palette I get on mouseUp setcolor the selectedColor of me end mouseUp c ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode