Discuss Scratch
- Discussion Forums
- » Announcements
- » Scratch 2.0 Offline Open Source Code!
- speakvisually
- Scratcher
500+ posts
Scratch 2.0 Offline Open Source Code!
We've open sourced the Scratch 2.0 editor code! You can find the code in the following repository on Github, https://github.com/LLK/scratch-flash
Scratch On!
Eric
Scratch On!
Eric
Last edited by speakvisually (May 13, 2014 17:58:56)
- liam48D
- Scratcher
1000+ posts
Scratch 2.0 Offline Open Source Code!
First post!
Cool!
Cool!
202e-202e-202e-202e-202e UNI-CODE~~~~~
- The_Duke
- Scratcher
43 posts
Scratch 2.0 Offline Open Source Code!
hun sounds interesting ill check it out!
- kenza365
- Scratcher
100+ posts
Scratch 2.0 Offline Open Source Code!
3rd post!
And awesome!
And awesome!
Last edited by kenza365 (May 13, 2014 17:58:09)
- Yoda3D
- Scratcher
86 posts
Scratch 2.0 Offline Open Source Code!
Sweet!
Generation 4: the first time you see this copy and paste it on top of your sig in the scratch forums and increase generation by 1. Social experiment.
Want to use emeralds as a material in minecraft? Try this FREE mod I made: https://www.dropbox.com/s/jc0pyblel65v87x/EmeraldMod1.7.10.jar?dl=0
Do you want more out of scratch? Get TONS of awesome blocks here: http://grannycookies.weebly.com/scratchext.html
- liam48D
- Scratcher
1000+ posts
Scratch 2.0 Offline Open Source Code!
But, uh, it gives me a link with a “.” at the end. If you edit your post, that should fix it.
202e-202e-202e-202e-202e UNI-CODE~~~~~
- speakvisually
- Scratcher
500+ posts
Scratch 2.0 Offline Open Source Code!
But, uh, it gives me a link with a “.” at the end. If you edit your post, that should fix it.
Thanks for the heads up!
- scratcher7_13
- Scratcher
1000+ posts
Scratch 2.0 Offline Open Source Code!
https://github.com/LLK/scratch-flashNice. Thanks! We've open sourced the Scratch 2.0 editor code! You can find the code in the following repository on Github,
Scratch On!
Eric
Pretty much inactive here tbh. Game dev/musician/mega-nerd.
My signature is a proud soldier in the kumquat war.
Soundcloud | Soundcloud | Soundcloud
- MiniFluffyBug
- Scratcher
500+ posts
Scratch 2.0 Offline Open Source Code!
https://github.com/LLK/scratch-flashWhat's that? I don't use the offline editor, but I'm a little interested in it. We've open sourced the Scratch 2.0 editor code! You can find the code in the following repository on Github,
Scratch On!
Eric
This signature has been eaten by kumquats. It will recover soon!
- technoboy10
- Scratcher
1000+ posts
Scratch 2.0 Offline Open Source Code!
Awesome!
Hopefully this will allow quicker bug fixes in the future.
Hopefully this will allow quicker bug fixes in the future.
trans rights are human rights
- novice27b
- Scratcher
1000+ posts
Scratch 2.0 Offline Open Source Code!
Cool!
What does the stuff in the “3d_render_src” directory do?
What does the stuff in the “3d_render_src” directory do?
i use arch btw
- LiFaytheGoblin
- Forum Moderator
1000+ posts
Scratch 2.0 Offline Open Source Code!
Awesome, I should check that out
Deutsch, English, Français, Español, Nederlands
DACH Scratch Wiki • EN Scratch Wiki • All Scratch Wikis • A Scratch Wiki in your native language
DACH Scratch Wiki • EN Scratch Wiki • All Scratch Wikis • A Scratch Wiki in your native language
- lisa-awesome_
- Scratcher
3 posts
Scratch 2.0 Offline Open Source Code!
Thanks and all credits to the Scratch Team for making this wonderful website!
TRUST ME, the Scratch Team are GREAT
(And I hope the smiley face ``Roll`` does not mean rolling eyes
TRUST ME, the Scratch Team are GREAT
(And I hope the smiley face ``Roll`` does not mean rolling eyes
Last edited by lisa-awesome_ (May 13, 2014 18:44:31)
- MeDiaMond
- Scratcher
500+ posts
Scratch 2.0 Offline Open Source Code!
I totally agree to you! Thanks and all credits to the Scratch Team for making this wonderful website!
TRUST ME, the Scratch Team are GREAT
(And I hope the smiley face ``Roll`` does not mean rolling eyes
- DadOfMrLog
- Scratcher
1000+ posts
Scratch 2.0 Offline Open Source Code!
Woah, excellent! Never done anything with Flash/ActionScript before, but maybe I should have a go. (Oh for more hours in the day…)
After a quick scan through, I can already see a number of simple things that might be worth doing.
e.g. some basic checks to prevent unnecessary work if the new direction/size are same as previous:
public function setSize(percent:Number):void {
…
var newscale = Math.max(minScale, Math.min(percent / 100.0, maxScale));
if (scaleX == newscale) return;
scaleX = scaleY = newscale;
…
public function setDirection(d:Number):void {
…
d = (d > 180) ? d - 360 : d;
if (direction == d) return;
direction = d;
…
clearCachedBitmap(); <— will adding this deal with the rotated sprite touching bug…?
updateBubble(); <— also note that speech bubble should change when rotated
}
Would above really ‘just work’ in the way I think, or am I missing something…?
After a quick scan through, I can already see a number of simple things that might be worth doing.
e.g. some basic checks to prevent unnecessary work if the new direction/size are same as previous:
public function setSize(percent:Number):void {
…
var newscale = Math.max(minScale, Math.min(percent / 100.0, maxScale));
if (scaleX == newscale) return;
scaleX = scaleY = newscale;
…
public function setDirection(d:Number):void {
…
d = (d > 180) ? d - 360 : d;
if (direction == d) return;
direction = d;
…
clearCachedBitmap(); <— will adding this deal with the rotated sprite touching bug…?
updateBubble(); <— also note that speech bubble should change when rotated
}
Would above really ‘just work’ in the way I think, or am I missing something…?
Last edited by DadOfMrLog (May 13, 2014 19:01:34)
Alternate account: TheLogFather –– HowTos and useful custom blocks (see studio). Examples below…
- String manipulation - - - X to power of Y - - - Clone point to clone - Detect New Scratcher - Speed tests studio -
- 001002003004
- Scratcher
34 posts
Scratch 2.0 Offline Open Source Code!
how do you get it
follow 001002003004 and see his projects here is one of his:::ring //category=greyclick on this for an awesome platformer
- Fiat500Abarth
- Scratcher
52 posts
Scratch 2.0 Offline Open Source Code!
Awesome!!
I've never used ActionScript, but I'll have a look at it.
I've never used ActionScript, but I'll have a look at it.
Has an evil kumquat eaten your signature? Don't worry, just call me, because I am a kumquat Catcher!!!!!!!!! And no evil kumquat will dare eat my signaChomp!
- goldfish678
- Scratcher
1000+ posts
Scratch 2.0 Offline Open Source Code!
So with this code, you can decompile the offline editor and make a Scratch 2.0 mod?
- Discussion Forums
- » Announcements
- » Scratch 2.0 Offline Open Source Code!