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

#1 2008-06-20 17:06:06

JUSTJAMES
Scratcher
Registered: 2008-06-20
Posts: 38

2 questions plz answer!

How do I make a platform for my sprite to jump on and how do i make my sprite shoot stuff?

Offline

 

#2 2008-06-23 03:50:39

Monicadj101
Scratcher
Registered: 2008-04-29
Posts: 36

Re: 2 questions plz answer!

you haven't asked you're question well enough, please be more specific.


Scratch on, everyone! Never get discouraged! SCRATCH ROCKS!!!!!!

Offline

 

#3 2008-06-23 04:26:07

deatheater
Scratcher
Registered: 2008-04-11
Posts: 1000+

Re: 2 questions plz answer!

make another sprite for the platform, by pressng the paintbrush button  smile

Offline

 

#4 2008-06-23 06:01:45

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: 2 questions plz answer!

Here's a gallery of sample projects that you might find helpful...it has some jumping projects in it that you can download and take a look at.

http://scratch.mit.edu/galleries/view/17972

It the meantime, does anybody have a really simple shooting project demo that they can show JUSTJAMES?  If so, please leave a link.  Thanks.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#5 2008-06-23 09:08:03

JUSTJAMES
Scratcher
Registered: 2008-06-20
Posts: 38

Re: 2 questions plz answer!

More specific: I have a sprite, There's a platform for him to jump on. How do I make him jump on the platform (What script, you cant just say up or you go off screen to quickly)
P.S. I'm making a shooting game, it's going well

Offline

 

#6 2008-06-23 17:32:05

Jacobo
Scratcher
Registered: 2007-06-15
Posts: 100+

Re: 2 questions plz answer!

Are you trying to make a script for the sprite to jump or a script that will it allow it to stop falling when you land on platform?


"It's like deja vu all over again"
-Yogi Berra

Offline

 

#7 2008-06-23 17:35:38

deatheater
Scratcher
Registered: 2008-04-11
Posts: 1000+

Re: 2 questions plz answer!

JUSTJAMES wrote:

More specific: I have a sprite, There's a platform for him to jump on. How do I make him jump on the platform (What script, you cant just say up or you go off screen to quickly)
P.S. I'm making a shooting game, it's going well

<when green flag clicked>
<forever>
<if><key[ up arrow ]pressed?>
<if><touching[ platform
<repeat( 10<change y by( 5
<end>
<repeat until><touching[ platform
<change y by( -5
<end>
<end>
<end>

That should be the script  smile

Offline

 

#8 2008-06-24 12:49:34

JUSTJAMES
Scratcher
Registered: 2008-06-20
Posts: 38

Re: 2 questions plz answer!

Ok, now how do i make a sprite that when I press SPACE, shoots a blue circle?

Offline

 

#9 2008-06-24 12:55:17

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: 2 questions plz answer!

[blocks]<when[ space  ]key pressed>[/blocks]
[blocks]<point in direction( [/blocks]
[blocks]<show>[/blocks]
[blocks]<repeat until><touching[ edge[/blocks]
[blocks]<move( 10  )steps>[/blocks]
[blocks]<end>[blocks]
[blocks]<hide>[/blocks]
[blocks]<end>[/blocks]


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#10 2008-06-24 18:52:50

mletreat
Scratcher
Registered: 2008-05-01
Posts: 100+

Re: 2 questions plz answer!

JUSTJAMES wrote:

How do I make a platform for my sprite to jump on and how do i make my sprite shoot stuff?

Here is a tutorial on making platforms:
http://scratch.mit.edu/projects/Cyclone103/155940

Here is a demo on shooting bullets:
http://scratch.mit.edu/projects/Tutorial_Maker/190024

hope this helps!

Offline

 

Board footer