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

#1 2012-04-08 20:56:31

Nuregami
New Scratcher
Registered: 2012-04-08
Posts: 10

Twinkling stars?

To my project, I need help how to make stars twinkling.

I'm not just looking for some spark although!

I want the stars look like they already do, which have already in the project, and then at random some get larger twist and around a little, and then go back to normal size, you'll get what I'm saying?

And I'm sorry my English!

Offline

 

#2 2012-04-08 21:07:41

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

Re: Twinkling stars?

Something like this should work:

when gf clicked
forever
wait (pick random (5) to (10)) secs
repeat (20)
change size by (.25)
turn cw (3) degrees
end
end

Last edited by MoreGamesNow (2012-04-08 21:08:55)


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

Offline

 

#3 2012-04-08 21:12:22

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: Twinkling stars?

when gf clicked
set size to [100]%
forever
wait until <you're ready>
repeat until <you're ready>
change size by <pick random (-7) to (7)>
change [whirl v] effect by <pick random (-2) to (2)>
end
wait until <you're ready>
set [whirl v] effect to [0]
repeat until <<size>=[100]>
change size by [-1]
end
This would also work, it would reset itself all the time

Offline

 

#4 2012-04-08 21:20:20

Nuregami
New Scratcher
Registered: 2012-04-08
Posts: 10

Re: Twinkling stars?

Thank you, but what about you in the red block mean said, "you ready? "I can't find in the scratch menu to make a new sprite

Offline

 

#5 2012-04-08 21:26:49

coolhogs
Scratcher
Registered: 2011-07-26
Posts: 1000+

Re: Twinkling stars?

Nuregami wrote:

Thank you, but what about you in the red block mean said, "you ready? "I can't find in the scratch menu to make a new sprite

Umm, put a number there.


Get ready for domination of:  tongue

Offline

 

#6 2012-04-08 21:28:24

Nuregami
New Scratcher
Registered: 2012-04-08
Posts: 10

Re: Twinkling stars?

Does it matter what number I'm would pick?

Offline

 

#7 2012-04-08 21:29:52

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: Twinkling stars?

Nuregami wrote:

Thank you, but what about you in the red block mean said, "you ready? "I can't find in the scratch menu to make a new sprite

You have to put

wait (5) secs
or
wait until <(insert variable name here)=[whatever it needs to equal]>
You would have to program that
<you're ready>

Offline

 

#8 2012-04-09 13:17:58

Nuregami
New Scratcher
Registered: 2012-04-08
Posts: 10

Re: Twinkling stars?

Thanks you for your great help!  big_smile  You are very nice!

Offline

 

Board footer