This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-01-29 17:39:10

dusty22
Scratcher
Registered: 2012-09-28
Posts: 49

Performance in the Scratch 1.4 offline player...

So I know the offline player is slower than the online flash player... however... you can make it run faster with a few tricks...

1. Efficient Programming

- well this goes without saying
- my tip: have as few forever loops running as you can at a time, I use broadcasts to trigger my loops then as part of the loop they check for a variable that tells them to stop.

2. Have NO variables displayed on the stage

- In my experience, even 1 variable, yes, 1 STINKIN variable can really slow down the Scratch player's performance, not to mention multiple variables displayed gives a big hit
- Doesn't really matter which variables they are
- Don't use variable displays, but rather sprites to display your information you want the player to see

3. Use full screen/presentation mode
- everything seems to run a tad smoother and quicker in this mode


Anyone else have any tips? This was all I figured out so far. If you have any tips post them here.

Offline

 

#2 2013-01-29 17:45:09

dusty22
Scratcher
Registered: 2012-09-28
Posts: 49

Re: Performance in the Scratch 1.4 offline player...

Seeing as I can't edit my post, I'm stuck making another one.

My tips for improving performance of the Scratch studio (not the player, but you performance with programming stuff):

1. Give costumes/sounds small names
- I'd say no more than 8 characters a piece
- This helps whenever you have to bring up a list box with these items

2. Break up large scripts
- temporarily break apart large scripts for editing
- everytime you edit a large script, even the tiniest thing, Scratch has to redraw all of it

3. Take anything off the stage you aren't concerned with for the time being
- hiding sprites you aren't using ATM may help, not sure
- changing your stage to a low-detail costume may help

Offline

 

#3 2013-01-29 18:12:46

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Performance in the Scratch 1.4 offline player...

dusty22 wrote:

Seeing as I can't edit my post, I'm stuck making another one.

Well, actually you can "edit" your post. Just report it to be edited with whatever you want changed, and you're done!

Anyway, these are some nice tips that you have here! One that you might want to add is that I've found that some effects can slow a project down a bit if run it in multiple places over and over.


http://i46.tinypic.com/35ismmc.png

Offline

 

#4 2013-01-31 20:58:23

BoltBait
Scratcher
Registered: 2009-03-09
Posts: 1000+

Re: Performance in the Scratch 1.4 offline player...

Tip:

You can enable Turbo Mode in the offline player by using the menu Edit > Set single stepping > Turbo speed.

Hope this helps!


Animated sigs must be banned!
http://boltbait.com/j.pnghttp://boltbait.com/s.pnghttp://boltbait.com/d.pnghttp://boltbait.com/a.pnghttp://boltbait.com/p.png

Offline

 

#5 2013-01-31 21:49:54

dusty22
Scratcher
Registered: 2012-09-28
Posts: 49

Re: Performance in the Scratch 1.4 offline player...

ErnieParke wrote:

dusty22 wrote:

Seeing as I can't edit my post, I'm stuck making another one.

Anyway, these are some nice tips that you have here! One that you might want to add is that I've found that some effects can slow a project down a bit if run it in multiple places over and over.

What kind of effects, like graphic effects like "change color/brightness etc."?

^I personally know about turbo mode, but I didn't for a while. Only thing is that, for me anyway, usually it just makes things run ridiculously fast, not necessarily smoother, but good as a tool in the toolbox none the less.

Offline

 

Board footer