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

#1 2009-04-18 00:38:36

Generalflood
Scratcher
Registered: 2009-04-17
Posts: 4

Need serious help with shooting (top-down game)

Say for instance, I have a top-down game, and I want the bullet to point in the same direction as the character is and go away from the character.
In other words, I don't have any idea how to make the bullet move the same way you are pointing.

Offline

 

#2 2009-04-18 01:40:57

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

Re: Need serious help with shooting (top-down game)

under the sencing tab is a block that should look like this:

[xposition] of [sprite1]

click on the first drop down and look for direction and the second drop down for the char's sprite name. then just incorporate that in your code.

Offline

 

#3 2009-04-18 10:11:08

Generalflood
Scratcher
Registered: 2009-04-17
Posts: 4

Re: Need serious help with shooting (top-down game)

Perfect, thanks.

Offline

 

Board footer