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

#251 2008-03-13 20:44:41

redjoe
Scratcher
Registered: 2008-03-10
Posts: 3

Re: Ask me anything, for i am a Pro Scratcher

I've never used the pen before, so now I'm baffled when I need it now.
How do I make the pen follow directly behind my sprite? Right now it seems to just start somewhere at random. I feel like I'm missing something obvious.
Thanks

Offline

 

#252 2008-03-13 20:52:33

heybrian1
Scratcher
Registered: 2008-03-02
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

do you mean behind as in like, in the same spot but it dosnt show? do this.

(this is the pen)



    <when green flag clicked>
    <forever>
    <go to[ sprite1
    <go back(1)layers>
    <end>



And be sure to say "<when green flag clicked>
                                 <pen down>
                                 


Tell me if you have another question.

Last edited by heybrian1 (2008-03-13 20:53:01)


I am Heybrian. Yes, the "Ask me anything, for i am a pro scratcher" Thread IS mine.

Offline

 

#253 2008-03-13 21:19:22

redjoe
Scratcher
Registered: 2008-03-10
Posts: 3

Re: Ask me anything, for i am a Pro Scratcher

Heh, I got caught up in an entirely different thought and didn't even think about doing it the easy way  . . .

Offline

 

#254 2008-03-13 21:23:53

heybrian1
Scratcher
Registered: 2008-03-02
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

ok


I am Heybrian. Yes, the "Ask me anything, for i am a pro scratcher" Thread IS mine.

Offline

 

#255 2008-03-13 22:24:00

redjoe
Scratcher
Registered: 2008-03-10
Posts: 3

Re: Ask me anything, for i am a Pro Scratcher

Hm, still not working right. I want the line to be visible right behind my sprite. I'm trying to make my own version of the classic Tron game. To make it easier to understand what is happening I'll label the sprites "leader" and "follwer" (the follower being the one making the line)
My set up is . .
[Blocks]
<when I receive[ start]
<pen down>
<forever>
<go to[ Tron]
[/blocks]

When I try this command for the "follower" it ends up a few spaces away from the "leader" aka Tron. The odd thing is that when I checked it out, it was actually my "leader" sprite which wasn't in the place the program said it was.
What's going on here?

Offline

 

#256 2008-03-13 22:33:10

FPSFelix
Scratcher
Registered: 2008-02-06
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

check what the rotation point of tron and pen are.
make sure theyre in the center


this is what i brought you, this you can keep.
this is what i brought, you may forget me.
i promise to depart, just promise one thing...
kiss my eyes and lay me to sleep.

Offline

 

#257 2008-03-13 23:22:29

heybrian1
Scratcher
Registered: 2008-03-02
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

post a project. also do "forever: stamp"


I am Heybrian. Yes, the "Ask me anything, for i am a pro scratcher" Thread IS mine.

Offline

 

#258 2008-03-13 23:24:06

fluffyfluflu2
Scratcher
Registered: 2008-02-17
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

i have a sprite that i need to walk to the end but i don't want him to do that forever how do i do that?


http://scratch.mit.edu/forums/viewtopic.php?id=5084rememberonly you can make a difference join the community today change nice effect by 100

Offline

 

#259 2008-03-14 19:45:47

FPSFelix
Scratcher
Registered: 2008-02-06
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

forever if not touching edge


this is what i brought you, this you can keep.
this is what i brought, you may forget me.
i promise to depart, just promise one thing...
kiss my eyes and lay me to sleep.

Offline

 

#260 2008-03-14 20:56:37

heybrian1
Scratcher
Registered: 2008-03-02
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

adding onn to fpsfelixs,    <move(5)steps>


I am Heybrian. Yes, the "Ask me anything, for i am a pro scratcher" Thread IS mine.

Offline

 

#261 2008-03-14 21:59:28

FPSFelix
Scratcher
Registered: 2008-02-06
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

just call me felix
and no cat jokes!!!


this is what i brought you, this you can keep.
this is what i brought, you may forget me.
i promise to depart, just promise one thing...
kiss my eyes and lay me to sleep.

Offline

 

#262 2008-03-14 22:35:56

heybrian1
Scratcher
Registered: 2008-03-02
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

cat jokes?


I am Heybrian. Yes, the "Ask me anything, for i am a pro scratcher" Thread IS mine.

Offline

 

#263 2008-03-15 15:19:46

FPSFelix
Scratcher
Registered: 2008-02-06
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

felix the cat.
an old cartoon charecter.
just youtube it.


this is what i brought you, this you can keep.
this is what i brought, you may forget me.
i promise to depart, just promise one thing...
kiss my eyes and lay me to sleep.

Offline

 

#264 2008-03-15 17:26:38

heybrian1
Scratcher
Registered: 2008-03-02
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

i have no idea what your talking about. actully, ive heard of it, but.....


I am Heybrian. Yes, the "Ask me anything, for i am a pro scratcher" Thread IS mine.

Offline

 

#265 2008-03-15 17:33:32

FPSFelix
Scratcher
Registered: 2008-02-06
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

hey, check out the newest ver. of cybercopter.
it has the HL2 music from dark energy.
from some of your old galleries i can tell youre a hl2 fan.


this is what i brought you, this you can keep.
this is what i brought, you may forget me.
i promise to depart, just promise one thing...
kiss my eyes and lay me to sleep.

Offline

 

#266 2008-03-16 15:03:55

heybrian1
Scratcher
Registered: 2008-03-02
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

Yah.


I am Heybrian. Yes, the "Ask me anything, for i am a pro scratcher" Thread IS mine.

Offline

 

#267 2008-03-18 14:21:29

name30
Scratcher
Registered: 2008-03-11
Posts: 11

Re: Ask me anything, for i am a Pro Scratcher

http://scratch.mit.edu/projects/name30/118952  how do i fix this?

Offline

 

#268 2008-03-18 19:57:33

auburn1996
Scratcher
Registered: 2008-03-18
Posts: 15

Re: Ask me anything, for i am a Pro Scratcher

how do you make the screen move
i/e how do make the screen be like a mario game when the screen moves

Offline

 

#269 2008-03-18 20:10:04

heybrian1
Scratcher
Registered: 2008-03-02
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

ok i'll tell you. make a sprite as long as possible. Do this. make a variable called scroll X. Now do this:


<when green flag clicked>
<forever if><key[right]pressed?>
<change{scrollX}by( -5
<forever if><key[left]pressed?>
<change{scrollX}by(5
<end>


And now do this for each indivisual sprite:


<when green flag clicked>
<forever>
<set x to(<{scroll X}>


And sometimes you'll need to do       (( <{scroll X  }> <+> 480  ))



And

<when green flag clicked>
<forever if><<<( scroll X <>>280  )>  <or><(-280  <>> scroll X )>  >>
<hide>


I am Heybrian. Yes, the "Ask me anything, for i am a pro scratcher" Thread IS mine.

Offline

 

#270 2008-03-18 20:12:58

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Ask me anything, for i am a Pro Scratcher

For instructions on scrolling go to http://scratch.mit.edu/forums/viewtopic.php?id=2440

In case you don't understand the above post.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#271 2008-03-18 20:17:18

funkymonkey
Scratcher
Registered: 2007-06-03
Posts: 1000+

Re: Ask me anything, for i am a Pro Scratcher

heybrian1 wrote:

And now do this for each indivisual sprite:


<when green flag clicked>
<forever>
<set x to( <{ scroll X }>

i dont think you need to use this script, only the one for the backround or something. also, there are a lot of scrolling tutorials, just go to the gallery "Help Projects" and you will find a lot.

Last edited by funkymonkey (2008-03-18 20:18:34)


http://i243.photobucket.com/albums/ff67/hprules_photos/banner2.jpg
Kuzimu: Dawn of a New Age                                                                                                  Coming May 2010

Offline

 

#272 2008-03-18 20:57:40

heybrian1
Scratcher
Registered: 2008-03-02
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

What i ment is what i said later, for each indivisual sprite do it set x to scroll x plus 480 and 960 and such.


I am Heybrian. Yes, the "Ask me anything, for i am a pro scratcher" Thread IS mine.

Offline

 

#273 2008-03-18 22:15:54

thecooltodd
Scratcher
Registered: 2008-03-08
Posts: 75

Re: Ask me anything, for i am a Pro Scratcher

Help please? OK, I notice in this game http://scratch.mit.edu/projects/JP1894/119830 the author can just put in <point in direction( -90 )) and the sprite will turn to the opposite direction.  When I do the same thing, my sprite rotates 180 degrees.  It's the exact same command that does something different?

Last edited by thecooltodd (2008-03-18 22:17:52)

Offline

 

#274 2008-03-19 00:14:11

heybrian1
Scratcher
Registered: 2008-03-02
Posts: 100+

Re: Ask me anything, for i am a Pro Scratcher

I know why. Next to the thing you can rotate the sprite with there will be three things. a circular arrow, a sideways arrow, and some other thing. Click the side ways arrow. Now it will work.


I am Heybrian. Yes, the "Ask me anything, for i am a pro scratcher" Thread IS mine.

Offline

 

#275 2008-03-19 04:00:17

thecooltodd
Scratcher
Registered: 2008-03-08
Posts: 75

Re: Ask me anything, for i am a Pro Scratcher

Wow, I didn't even notice that.  Thanks  big_smile

What does the third thing do?

Offline

 

Board footer