Pages: 1
Topic closed
MyRedNeptune's excellent movie 'Endless Road' is the basis of this general question.
http://scratch.mit.edu/projects/MyRedNeptune/3809
'Newbies' coming to Scratch quickly learn to create basic movies and games. But then you encounter creations like this one. At first, the visible script looks ridiculously short and simple. Then you notice two green flags and not the one that 'newbies' might assume is the norm. Then, if you start clicking on the sprites, all manner of new codes appear for the actions of the moon and other elements etc. etc.
You then go back to the basic script that you saw in the first place and find yourself asking "How the heck does all that fit together?"
THAT is a perfect example of what I meant in earlier posts about the problems that can arise when trying to read a Scratch script.
Somewhere, I suggest, a tutorial needs to be assembled by the Scratch team to explain how much more sophisticated and subroutine-like programming like this can be learned.
Meanwhile - back to the Endless Road. if you haven't seen it - have a look!
Offline
Wow, thanks, Mohlar! I didn't think my Endless Road would impress even "newbies". It's a very easy project.
Last edited by MyRedNeptune (2007-05-29 22:44:47)
Offline
It's nice - could you use a broadcast command or a variable, or the timer, to transition from night to day, so that even when running online the sun and moon remain in synch with night and day?
And can you tell me why you used a sprite for the ground, instead of changing the ground on the background? Unless I am missing something (which is quite possible!) I would have thought recolouring the sky and ground together on the different backgrounds would work.
Offline
'Impress' - you're joking? For a 'newbie' it's awesome, especially for someone like myself who isn't really interested in games but in using Scratch for making small story-movies. 'Endless Road' can easily be seen in this context as a scene from a film.
Can I suggest that anyone wanting to make comments ABOUT 'Endless Road' puts them into the usual comment box that accompanies the movie? That way everyone will see them and not everyone will look at this forum. The reason I put my comments here was to illustrate a point I've made about how hard it can be to actually 'read' a script ... especially when you're new to Scratch. One suggestion was made elsewhere (using Shift and Extras), but no-one seems able to make that work.
Offline
mohlar wrote:
'One suggestion was made elsewhere (using Shift and Extras), but no-one seems able to make that work.
It works for me
Project: Endless Road
Author:
Scratch: 1.1
Notes:
Press the green flag and watch days pass! Animated sun and moon! Lots of events and surprises!
History:
5/10/2007 6:33:50 pm old TheAdventure.sb RedNeptune
2007-5-17 15:50:56 share Endless Road MyRedNeptune
2007-5-29 14:16:00 save Endless Road
2007-5-29 14:17:10 save Endless Road
Totals:
Sprites: 10
Stacks: 10
Unique costumes: 25
Unique sounds: 10
--------
Sprite: Stage
Costumes (4):
Day b-ckground (480x360)
Evening b-ckground (480x360)
Night b-ckground2 (480x360)
Morning b-ckground (480x360)
Sounds (6):
Bird (0:00:00)
Cricket (0:00:00)
Crickets (0:00:04)
Duck (0:00:00)
Owl (0:00:01)
WolfHowl (0:00:04)
Stacks (1):
when green flag clicked
switch to background "Day b-ckground"
forever
wait 6 secs
next background
wait 2 secs
next background
end
--------
Sprite: Duck
Costumes (2):
wings up (26x90)
wings down (18x89)
Sounds (2):
pop (0:00:00)
meow (0:00:01)
Stacks (2):
when green flag clicked
forever
wait 0.3 secs
next costume
end
when green flag clicked
hide
point in direction 180
forever
go to x: 59 y: 84
set size to 10%
repeat 30
show
move 3 steps
change size by 3
wait 1 secs
move 3 steps
change size by 3
wait 1 secs
hide
wait 20 secs
end
--------
Sprite: Jeep
Costumes (1):
jeep (143x125)
Sounds (2):
pop (0:00:00)
meow (0:00:01)
No stacks.
--------
Sprite: Doggie
Costumes (2):
doggie (74x97)
doggie's gone (60x104)
Sounds (2):
pop (0:00:00)
meow (0:00:01)
Stacks (1):
when green flag clicked
forever
hide
point in direction 230
go to x: 66 y: pick random -50 to -20
set size to 50%
switch to costume "doggie"
wait pick random 5 to 20 secs
show
repeat 35
move 8 steps
change size by 2
wait 0.1 secs
if touching color c[FFEACC]? or touching color c[787878]?
switch to costume "doggie's gone"
point in direction 180
glide 1 secs to x: x position y: -180
hide
else
if touching " "?
hide
end
--------
Sprite: Palm tree
Costumes (1):
palmtree2 (131x181)
Sounds (2):
pop (0:00:00)
meow (0:00:01)
Stacks (1):
when green flag clicked
hide
point in direction 240
forever
set size to 10%
go to x: -45 y: 53
show
repeat 15
move 5 steps
change size by 5
wait 0.1 secs
move 5 steps
change size by 5
wait 0.1 secs
hide
end
--------
Sprite: Airplane
Costumes (2):
airplane (16x13)
airplane2 (16x13)
Sounds (2):
pop (0:00:00)
meow (0:00:01)
Stacks (1):
when green flag clicked
hide
go to x: -241 y: 114
wait 20 secs
show
glide 5 secs to x: 241 y: 110
hide
end
--------
Sprite: Road line
Costumes (1):
road line (31x9)
Sounds (2):
pop (0:00:00)
meow (0:00:01)
Stacks (1):
when green flag clicked
hide
point in direction 180
forever
set size to 10%
go to x: 0 y: 45
show
repeat 25
move 5 steps
change size by 5
wait 0.1 secs
move 5 steps
change size by 5
wait 0.1 secs
hide
end
--------
Sprite: Ground
Costumes (4):
Day ground (480x236)
Evening ground (480x236)
Night ground (480x236)
Morning ground (480x236)
Sounds (0):
Stacks (1):
when green flag clicked
switch to costume "Day ground"
forever
wait 6 secs
next costume
wait 2 secs
next costume
end
--------
Sprite: Moon
Costumes (8):
full moon (108x104)
fading gibbus (108x104)
half moon (108x104)
fading crescent (108x104)
new moon (108x104)
waxing crescent (108x104)
half moon 2 (108x104)
waxing gibbus (108x104)
Sounds (0):
Stacks (1):
when green flag clicked
go to x: -137 y: 15
wait 8 secs
forever
glide 0.6 secs to x: -123 y: 56
glide 0.6 secs to x: -115 y: 97
glide 0.6 secs to x: -85 y: 140
glide 0.6 secs to x: -43 y: 161
glide 0.6 secs to x: 0 y: 171
glide 0.6 secs to x: 48 y: 153
glide 0.6 secs to x: 90 y: 134
glide 0.6 secs to x: 123 y: 101
glide 0.6 secs to x: 132 y: 55
glide 0.6 secs to x: 130 y: 15
next costume
go to x: -137 y: 15
wait 10 secs
end
--------
Sprite: Sun
Costumes (1):
sun (166x164)
Sounds (0):
Stacks (1):
when green flag clicked
go to x: -128 y: 100
forever
glide 1 secs to x: -85 y: 140
glide 1 secs to x: -43 y: 161
glide 1 secs to x: 0 y: 171
glide 1 secs to x: 48 y: 153
glide 1 secs to x: 90 y: 134
glide 1 secs to x: 123 y: 101
glide 1 secs to x: 132 y: 55
glide 1 secs to x: 130 y: 15
go to x: -137 y: 15
wait 6 secs
glide 1 secs to x: -123 y: 56
glide 1 secs to x: -115 y: 97
end
--------
Sprite: SunTrack
Costumes (1):
sunTrack (356x340)
Sounds (0):
No stacks.
--------
Offline
I made the ground a sprite so that the sun and the moon could SET BEHIND IT.
Offline
MyRedNeptune wrote:
I made the ground a sprite so that the sun and the moon could SET BEHIND IT.
Ah! Of course. I knew there had to be a reason. Thanks.
Offline
Mohlar said: 'Impress' - you're joking?
No, I mean the "newbies" you're talking about. (sorry, I misspelled it, I'll edit the message.)
Offline
i have to admit it was a great project, even for newbies.
http://scratch.mit.edu/forums/viewtopic … 041#p11041
http://scratch.mit.edu/galleries/view/7382
Last edited by adriangl (2007-11-09 22:54:18)
Offline
Topic closed
Pages: 1