Scratch my back
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
- Posts: 9443
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Scratch my back
This is a follow up to a tangential discussion as to whether a Scratch-like interface can be "bolted on" to LiveCode, and
refers to something I knocked together 7 years ago but no-one took much notice of at the time:
- Here: https://www.dropbox.com/s/k72ekkoxq2rsr00/GR.zip?dl=0
refers to something I knocked together 7 years ago but no-one took much notice of at the time:
- Here: https://www.dropbox.com/s/k72ekkoxq2rsr00/GR.zip?dl=0
-
- Livecode Opensource Backer
- Posts: 9443
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Scratch my back
Obviously that is a very limited Demo I knocked together in about 4 hours, but, if it
were felt that such a front-end would boost both LiveCode uptake and sales I can see no
reason why that, or something similar (maybe using 'standard' block coding symbols rather
than my home-made what-d'ye-callits) could not be developed fully.
were felt that such a front-end would boost both LiveCode uptake and sales I can see no
reason why that, or something similar (maybe using 'standard' block coding symbols rather
than my home-made what-d'ye-callits) could not be developed fully.
Re: Scratch my back
Google has very well researched Best Practices for providing block coding user interface.
Your project would work for a simple game like this
Would be smart for there to be some tutorial that outputs xtalk like this spits out Javascript
Your project would work for a simple game like this
Would be smart for there to be some tutorial that outputs xtalk like this spits out Javascript
-
- Livecode Opensource Backer
- Posts: 9443
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Scratch my back
That 'Best Practices' page is very useful, although I would warn against making a Scratch-like front end to LiveCode
that ended up resembling Scratch & Co so closely there would be no perceived advantage to using the LiveCode front-ned
when one could just use Scratch,
that ended up resembling Scratch & Co so closely there would be no perceived advantage to using the LiveCode front-ned
when one could just use Scratch,
-
- Livecode Opensource Backer
- Posts: 9443
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Scratch my back
I have posted, over the last 2 years, several things on the ENTRY forums re English instructions,
and the ENTRY people have seemingly responded by removing both English and Vietnamese from both their
website and Entry itself: so, obviously, it is NOT only the supposedly "White, privileged males" who are
racist.
Having, over a 30 year period having ONLY had negative interactions with Korean people (including being attacked in
St Andrews by a Korean student because his wife was teaching my children violin and my Bulgarian mother-in-law was
looking after their baby), this does not surprise me in the slightest.
And having been told I was "nothing but 'meat'" while working in a bar in Somerset, England, by a Korean delegate to
the Raytheon defence factory round the corner.
Download for 'pinching' open source blocks is here: https://playentry.org/download/offline . . . pinch away.
and the ENTRY people have seemingly responded by removing both English and Vietnamese from both their
website and Entry itself: so, obviously, it is NOT only the supposedly "White, privileged males" who are
racist.
Having, over a 30 year period having ONLY had negative interactions with Korean people (including being attacked in
St Andrews by a Korean student because his wife was teaching my children violin and my Bulgarian mother-in-law was
looking after their baby), this does not surprise me in the slightest.
And having been told I was "nothing but 'meat'" while working in a bar in Somerset, England, by a Korean delegate to
the Raytheon defence factory round the corner.
Download for 'pinching' open source blocks is here: https://playentry.org/download/offline . . . pinch away.
Re: Scratch my back
That is just the surface stuff.richmond62 wrote: ↑Thu Sep 30, 2021 10:46 amThat 'Best Practices' page is very useful, although I would warn against making a Scratch-like front end to LiveCode
that ended up resembling Scratch & Co so closely there would be no perceived advantage to using the LiveCode front-ned
when one could just use Scratch,
Personally I find this too childish - I would much prefer the interface style used in Automator on Mac…
(More here: https://www.idownloadblog.com/2018/11/2 ... -tutorial/)
-
- Livecode Opensource Backer
- Posts: 9443
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Scratch my back
You probably do, but we are aiming at CHILDREN.Personally I find this too childish
Re: Scratch my back
A scratch like GUI would be stand alone product, or admin controlled front end, one that could obscure all the professional front end stuff from the end user. It would be implemented for making limited but entertaining and educational demonstrations of programming. At best one could spit out a stack to open in the normal front end, all code and UI elements ready for advanced programmming and building stand alones. God knows you don't want sixth graders littering your school computers with Scratch-y EXE binaries.there would be no perceived advantage to using the LiveCode front-ned
when one could just use Scratch,
Also , "Go from Gaga GooGoo Gimmicky GUI Interface to Glorious Professional UI Applications in X Easy Lessons" might be a way to sell Livecode. Oviously the nearly exact Scratch looking UI is being used by dozens of companies. Being able to step up from what the tens of thousands of users of those programs have started learning and going on to make full blown GUI based apps would be a definite advantage over "Oh wow, now I have Javaascript,python,Lua spit out by a onlne block based app but the code that runs...where?..Have to go figure out some other product to actually make it do someting outside my learning enviroment!..."
Writing code from absolute scratch can be daunting, being able to drag and drop a basic framework of an idea is a nice kickstart. Not triggering attention defecit disorder/zombie mode dopamine addiction by having to open a web browser to google examples on different websites is a plus.
I don't know how many example stacks I've downloaded, opened and just kind of fell asleep scrolling through the code...and then I just closed it all up and forgot about it. It's like I want a snack and someone hands me the recipe instead of a tin of assorted treats. There's no eye candy, there's no incentive to experiment.
Of course these Scratch projects become visual vomit because they can't be switched between code and the blocks easily.
There comes a point where you want to find/replace in a text file (or in the block gui), or just type the idea you have quickly when you know exactly how the next action flows instead of click dragging through all the assorted visual elements.
I see a need for a "Show Only Comments" or "Collapse Block Group" disclosure arrow functions to turn the block soup into a neatly organized cupboard of canned function descriptions. We had "Macro" buttons that hid convoluted scripting actions in apps three decades ago. There is also no "Show message paths" option to identify when one script sends a message to another, ie, a nice line or icon to toggle. You have to scroll around your whole screen full of blocks looking for the one that says "When I receive message x"
-
- Livecode Opensource Backer
- Posts: 9443
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Scratch my back
- Click the buttons from left to right until you reach "Stop here"
- First button gets file list from all folders in main PNG folder
- Second button imports all the images
- Third button lists all the images in the stack
- Fourth button removes "Scratch" from all the file names
- Fifth button groups all the images and hides the group
- GetTypes filters all the names for their first word, which we could have gotten from the folder names, but...whatever
- Get Types puts the Block Types into field "Types"
- Click in field Types to get a list of block of that type below
- Click in the blocks field and get a scratch block in the scratch pad
- Drag blocks and they should snap, at least the simple ones do, complex blocks need some work.
Oh be patient with the shorten names button, it takes a bit, if you click too many times you'll end up with too short names or no names at all!
Should have done this years ago...
Re: Scratch my back
"ProductionGroup" is just the menu and it's label.