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

#1 2007-06-10 12:29:26

totalownage
Scratcher
Registered: 2007-06-10
Posts: 1

I NEED HELP!!

I'm trying to make a sword fighting game and one action is a shield. I can't figure out how to make it so that you don't lose if you get hit by the other person's sword if using your shield. I need help!

Offline

 

#2 2007-06-10 13:02:53

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

Re: I NEED HELP!!

Just make it so the character only takes damage if the shield is off and make a variable to determine whether the shield is on or off.


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

 

#3 2007-06-10 14:05:32

Totalownage1
Scratcher
Registered: 2007-06-10
Posts: 6

Re: I NEED HELP!!

but how do you do that? (im the same person i just forgot my password).

Offline

 

#4 2007-06-10 16:50:22

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: I NEED HELP!!

An alternative would be to use "if colour over colour" scripts to register hits - then make the "shield in use" costume a slightly different colour.


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#5 2007-06-10 18:24:25

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

Re: I NEED HELP!!

If button for shield is down shield down=1

else sheilddown=0

{monster attacks}
If shielddown = 0 and touching charater
change characterhp by -1

I hope this helps.


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

 

#6 2007-06-14 21:21:21

Totalownage1
Scratcher
Registered: 2007-06-10
Posts: 6

Re: I NEED HELP!!

alright thanks for the help. ive got another question though. im fairly new to scratch and i don't know how to download pictures, can you help me?

Offline

 

#7 2007-06-14 22:58:02

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

Re: I NEED HELP!!

Umm if you want to download pictures off the internet you left the the picture and click save as. If you want to put a picture in your scratch project you go to a sprite's costumes tab and import costume and then select your picture.


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

 

#8 2007-06-27 17:22:48

Totalownage1
Scratcher
Registered: 2007-06-10
Posts: 6

Re: I NEED HELP!!

Another problem, Archmage i know your "draw your game" has some sort of gravity on the ball. Would you mind telling me how? (im not looking for only archmages answers i need all the help i can get!).

Offline

 

#9 2007-06-27 18:20:51

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

Re: I NEED HELP!!

If you want gravity go to open a existing sprite and in the examples directory you will find a folder called things open it. Then find a sprite called gravity ball it has gravity codes.


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

 

#10 2007-06-28 19:55:41

Totalownage1
Scratcher
Registered: 2007-06-10
Posts: 6

Re: I NEED HELP!!

Ive tried that but there is no gravity ball. Maybe i have a different version of scratch than you?

Offline

 

#11 2007-06-28 20:50:02

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

Re: I NEED HELP!!

Sorry the sprite is called Gravity Marble not Gravity Ball run a system search for it.
Or download the sprite here http://www.mooload.com/new/file.php?file=file01/290607/1183076544/Gravity+Marble.sprite&s=t


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

 

#12 2007-06-28 23:46:34

Totalownage1
Scratcher
Registered: 2007-06-10
Posts: 6

Re: I NEED HELP!!

How do you search?

Offline

 

#13 2007-06-29 00:11:03

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

Re: I NEED HELP!!

Go to start and then search c drive. I not extally sure though because it can vary on the operating system.


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

 

#14 2007-06-29 12:21:09

DrJim
Scratcher
Registered: 2007-05-26
Posts: 100+

Re: I NEED HELP!!

Searching the full C: drive (or doing the Mac equivalent) can take quite a bit of time. Better to  first find where Scratch is installed (in my case at C: \Program Files\Scratch, but that can vary)  and then just search that directory.

Offline

 

#15 2007-06-29 14:41:16

paulmedwal
Scratcher
Registered: 2007-03-09
Posts: 100+

Re: I NEED HELP!!

Gravity ball, and other pre-made sprites (that already have code with them) are only in the most recent version of Scratch. Make sure you are using Scratch 1.1 by looking in the title bar.

Paulmedwal


clutter.scratch.mit.edu Visit the Clutter site to create multi-scene stories and multi-level games with Scratch.

Offline

 

#16 2007-07-08 08:50:57

Toasty
Scratcher
Registered: 2007-07-01
Posts: 500+

Re: I NEED HELP!!

I don't know how to submit my projects into a gallery


http://i44.tinypic.com/263wpxe.png
Lovin' Toast

Offline

 

#17 2007-07-08 09:45:22

HowTo
Scratcher
Registered: 2007-07-08
Posts: 1

Re: I NEED HELP!!

Put it up on my gallery HowTo or on MadModifier's one, and I'll help

Offline

 

#18 2007-07-17 12:56:15

Totalownage1
Scratcher
Registered: 2007-06-10
Posts: 6

Re: I NEED HELP!!

Okay thanks I found it.

Offline

 

#19 2007-07-17 13:05:28

Fiz
Scratcher
Registered: 2007-07-15
Posts: 4

Re: I NEED HELP!!

I have a game that i need help with. Its called space shooter (i forgot to put demo after it) Please take a look at it and tell me how to make it better. (pay special attention to how when you shoot the UFOs sometimes it just get damaged and sometimes they get destroyed? please help.)

Offline

 

#20 2007-07-17 21:22:54

Fiz
Scratcher
Registered: 2007-07-15
Posts: 4

Re: I NEED HELP!!

Nvm I fixed it.

Offline

 

Board footer