Discuss Scratch

davidkt
Scratcher
1000+ posts

Scratch 2.0 Modding for Newbs

I'm making one. It's called Float.
MiniFluffyBug
Scratcher
500+ posts

Scratch 2.0 Modding for Newbs

davidkt wrote:

I'm making one. It's called Float.
Cool. What does it do?
davidkt
Scratcher
1000+ posts

Scratch 2.0 Modding for Newbs

MiniFluffyBug wrote:

davidkt wrote:

I'm making one. It's called Float.
Cool. What does it do?
See forum topic: http://scratch.mit.edu.ezproxyberklee.flo.org/discuss/topic/35059/



Also, does anyone know how to make new categories? By that I mean Motion, Looks, etc.

Last edited by davidkt (June 2, 2014 21:47:52)

Blueinkproductions
Scratcher
1000+ posts

Scratch 2.0 Modding for Newbs

davidkt wrote:

Also, does anyone know how to make new categories? By that I mean Motion, Looks, etc.
I think I saw a post by nXIII about this, but I don't remember where it was (or if it even existed…).
MiniFluffyBug
Scratcher
500+ posts

Scratch 2.0 Modding for Newbs

Blueinkproductions wrote:

davidkt wrote:

Also, does anyone know how to make new categories? By that I mean Motion, Looks, etc.
I think I saw a post by nXIII about this, but I don't remember where it was (or if it even existed…).
Search it, I guess.
djdolphin
Scratcher
1000+ posts

Scratch 2.0 Modding for Newbs

davidkt wrote:

Also, does anyone know how to make new categories? By that I mean Motion, Looks, etc.
I can try to figure it out later. I can't for a while because I have exams.
nXIII
Scratcher
1000+ posts

Scratch 2.0 Modding for Newbs

davidkt wrote:

Also, does anyone know how to make new categories? By that I mean Motion, Looks, etc.
I figured this would be a pretty common question, so I just made a tutorial here: https://github.com/nathan/scratch-flash/tree/tutorial/new-category#readme
djdolphin
Scratcher
1000+ posts

Scratch 2.0 Modding for Newbs

nXIII wrote:

davidkt wrote:

Also, does anyone know how to make new categories? By that I mean Motion, Looks, etc.
I figured this would be a pretty common question, so I just made a tutorial here: https://github.com/nathan/scratch-flash/tree/tutorial/new-category#readme
I added an external tutorials section and linked that. If you know of any other tutorials, could you tell me so I could add them to the list?
nXIII
Scratcher
1000+ posts

Scratch 2.0 Modding for Newbs

djdolphin wrote:

I added an external tutorials section and linked that. If you know of any other tutorials, could you tell me so I could add them to the list?
Awesome, thanks! I might make some more tutorials for common tasks later.
davidkt
Scratcher
1000+ posts

Scratch 2.0 Modding for Newbs

nXIII wrote:

davidkt wrote:

Also, does anyone know how to make new categories? By that I mean Motion, Looks, etc.
I figured this would be a pretty common question, so I just made a tutorial here: https://github.com/nathan/scratch-flash/tree/tutorial/new-category#readme

davidkt wrote:

davidkt wrote:

davidkt wrote:

Thanks!!!!!!!
davidkt
Scratcher
1000+ posts

Scratch 2.0 Modding for Newbs

Where are the variable primitives?
nXIII
Scratcher
1000+ posts

Scratch 2.0 Modding for Newbs

davidkt wrote:

Where are the variable primitives?
src/interpreter/Interpreter.as:656
djdolphin
Scratcher
1000+ posts

Scratch 2.0 Modding for Newbs

nXIII wrote:

davidkt wrote:

Where are the variable primitives?
src/interpreter/Interpreter.as:656
And the primitives for variable watchers are in src/primitives/sensing.as:295

Last edited by djdolphin (June 5, 2014 00:31:32)

davidkt
Scratcher
1000+ posts

Scratch 2.0 Modding for Newbs

djdolphin wrote:

nXIII wrote:

davidkt wrote:

Where are the variable primitives?
src/interpreter/Interpreter.as:656
And the primitives for variable watchers are in src/primitives/sensing.as:295
I'm not even going to quote all that.
davidkt
Scratcher
1000+ posts

Scratch 2.0 Modding for Newbs

Anyone know how to write to external files? I figured out how to read them but can't write to them.
nXIII
Scratcher
1000+ posts

Scratch 2.0 Modding for Newbs

davidkt wrote:

Anyone know how to write to external files? I figured out how to read them but can't write to them.
The list export code in src/watchers/ListWatcher.as:154 is a nice example.
tatefly
Scratcher
46 posts

Scratch 2.0 Modding for Newbs

I get the same error every time I try to compile:

Buildfile: /Users/alex/Desktop/scratch-flash-tutorial-new-category/build.xml
Could not load definitions from resource flexTasks.tasks. It could not be found.

init:
Created dir: /Users/alex/Desktop/scratch-flash-tutorial-new-category/bin

3d_lib:

BUILD FAILED
/Users/alex/Desktop/scratch-flash-tutorial-new-category/build.xml:22: Problem: failed to create task or type mxmlc
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.


Total time: 0 seconds


Not sure what's going on could someone help? I'm running a beta version of Mac OS X. Could that be it?

EDIT: I found that I don't have the two .swc files in the right directory but for some reason there's no such thing as the frameworks for me

Last edited by tatefly (June 10, 2014 19:31:40)

djdolphin
Scratcher
1000+ posts

Scratch 2.0 Modding for Newbs

tatefly wrote:

I get the same error every time I try to compile:

Buildfile: /Users/alex/Desktop/scratch-flash-tutorial-new-category/build.xml
Could not load definitions from resource flexTasks.tasks. It could not be found.

init:
Created dir: /Users/alex/Desktop/scratch-flash-tutorial-new-category/bin

3d_lib:

BUILD FAILED
/Users/alex/Desktop/scratch-flash-tutorial-new-category/build.xml:22: Problem: failed to create task or type mxmlc
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.


Total time: 0 seconds


Not sure what's going on could someone help? I'm running a beta version of Mac OS X. Could that be it?

EDIT: I found that I don't have the two .swc files in the right directory but for some reason there's no such thing as the frameworks for me
Try creating the frameworks folder if there is none.
tatefly
Scratcher
46 posts

Scratch 2.0 Modding for Newbs

djdolphin wrote:

tatefly wrote:

I get the same error every time I try to compile:

Buildfile: /Users/alex/Desktop/scratch-flash-tutorial-new-category/build.xml
Could not load definitions from resource flexTasks.tasks. It could not be found.

init:
Created dir: /Users/alex/Desktop/scratch-flash-tutorial-new-category/bin

3d_lib:

BUILD FAILED
/Users/alex/Desktop/scratch-flash-tutorial-new-category/build.xml:22: Problem: failed to create task or type mxmlc
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.


Total time: 0 seconds


Not sure what's going on could someone help? I'm running a beta version of Mac OS X. Could that be it?

EDIT: I found that I don't have the two .swc files in the right directory but for some reason there's no such thing as the frameworks for me
Try creating the frameworks folder if there is none.

The problem is I can't even find the Flex application; I find the installer but no application.
djdolphin
Scratcher
1000+ posts

Scratch 2.0 Modding for Newbs

tatefly wrote:

The problem is I can't even find the Flex application; I find the installer but no application.
You need to run the installer and specify what directory you want to install Flex to.

Last edited by djdolphin (June 10, 2014 23:29:11)

Powered by DjangoBB