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

#1 2008-07-23 05:52:53

deskjem
Scratcher
Registered: 2008-06-26
Posts: 6

Coding hotline. if you need help coding just ask and we'll help

today we are going to make an fps, the standard of all war games. it is fairly simple so long as you fallow my directions. first make the sprite of the gun. make sure it looks good though. name the sprite "gun". now we set the x and y position. put the gun at the bottom of the sreen and type in this coding, <set x to(<mouse x> <forever><hide><go to front><when green flag clicked>. now make a target sprite. just let it sit there and get shot. call the sprite "shotty". now you need to make a second costume for "gun". just copy "gun" and edit "gun2" to have muzzle flair. now program the muzzle flair. type in,<wait( .1<switch to costume[gun]  )secsc> <switch to costume[gun2] <mouse down?><if><forever><when green flag clicked> now program "shotty". <wait( .0999<hide> )secsc><play sound[ <when[ shotty ]clicked> . that sould be all. tell me if you have any trouble. okay.

Offline

 

#2 2008-07-23 08:54:02

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

Re: Coding hotline. if you need help coding just ask and we'll help

Few things: Thanks for being Scratch related, this isn't troubleshooting, it's "show & Tell", and awesome!


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

 

#3 2009-10-08 08:50:45

frih
Scratcher
Registered: 2009-09-10
Posts: 98

Re: Coding hotline. if you need help coding just ask and we'll help

little bit confusing to me since i am a new user, i will try it.

Offline

 

#4 2010-01-20 18:59:21

tylerscheller
Scratcher
Registered: 2009-03-22
Posts: 9

Re: Coding hotline. if you need help coding just ask and we'll help

if u ever need to make a solid wall use this script <if><touching[ wall sprite
<change y by( 0 ) hope that helps  smile

Offline

 

#5 2010-01-21 01:15:19

MyRedNeptune
Community Moderator
Registered: 2007-05-07
Posts: 1000+

Re: Coding hotline. if you need help coding just ask and we'll help

I'll move this to All About Scratch since this doesn't seem to belong in Troubleshooting. ^_^


http://i52.tinypic.com/5es7t0.png I know what you're thinking! "Neptune! Get rid of those filthy advertisements and give us back the Zarathustra siggy, you horrible person!" Well, don't worry about it, the Zara siggy will be back soon, new and improved! ^^ Meanwhile, just do what the sig tells you to. >.>

Offline

 

#6 2010-01-21 07:06:47

ihaveamac
Scratcher
Registered: 2007-09-22
Posts: 1000+

Re: Coding hotline. if you need help coding just ask and we'll help

This is a almost a year old. tylerscheller bumped it.


~ihaveamac - visit ihaveamac.net

Offline

 

#7 2010-01-21 08:47:46

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

Re: Coding hotline. if you need help coding just ask and we'll help

Ancient thread...closing.


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

Offline

 

Board footer