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

#1 2012-08-24 16:14:28

Grizzmix
New Scratcher
Registered: 2012-08-24
Posts: 3

Loading bar

how do you make a lading bar

Offline

 

#2 2012-08-24 16:19:30

Grizzmix
New Scratcher
Registered: 2012-08-24
Posts: 3

Re: Loading bar

loading bar i ment to say

Offline

 

#3 2012-08-24 17:31:08

amsteketee
New Scratcher
Registered: 2012-08-24
Posts: 3

Re: Loading bar

When you post the game (or whatever you're making) on the Scratch website, it will make a loading bar for you.  So when someone views your project, a loading bar will apear as it's loading.  You don't need to make any script for a loading bar on your project.

Hope that helped,
amsteketee  smile

Offline

 

#4 2012-08-24 20:12:57

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: Loading bar

amsteketee wrote:

When you post the game (or whatever you're making) on the Scratch website, it will make a loading bar for you.  So when someone views your project, a loading bar will apear as it's loading.  You don't need to make any script for a loading bar on your project.

Hope that helped,
amsteketee  smile

I doubt that's what they want. They want a loading bar as in in the project itself.

when gf clicked
set [text v] to [—]
set [load v] to [0]
forever
change [load v] by (1)
set [text v] to (join (join [Loading ] (load)) [% Complete.])


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

#5 2012-08-25 09:09:33

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: Loading bar

Alternatively, you can use the pen (usually what I use).  The variable "pen" is a variable that stores how close to completion the loading process is.  The script below should work; if you want a project with an example I can supply a link  smile

when I receive [load v]
pen up
go to x:(100) y:(0)
pen down
set pen color to [#000000]
set pen size to (4)
go to x:(-100) y:(0)
set pen color to [#CC0000]
repeat until<(load) > (100)>
set x to (((2)*(load))-(100))
end
pen up
clear


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

Board footer