Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Swordfighting game
- 1415917
- Scratcher
98 posts
Swordfighting game
I am working on a swordfighting game project, and I can't make the sword point down or to the right; only left and up and in between. How do I fix this? Please help ASAP!!!!!
Last edited by 1415917 (Oct. 21, 2013 13:23:48)
According to J. K. Rowling, Muggles can do magic. Chain of logic:
1. J. K. Rowling wrote The Philosopher's Stone.
2. In The Philosopher's Stone, the students at Hogwarts sing the school song to the tune of their choice, after which Albus Dumbledore says, “Ah, music. A magic beyond all we do here.”
3. Therefore, music is magic.
4. Muggles can make music.
5. Therefore, Muggles can perform magic.
- 1415917
- Scratcher
98 posts
Swordfighting game
Okay, Thank you!
According to J. K. Rowling, Muggles can do magic. Chain of logic:
1. J. K. Rowling wrote The Philosopher's Stone.
2. In The Philosopher's Stone, the students at Hogwarts sing the school song to the tune of their choice, after which Albus Dumbledore says, “Ah, music. A magic beyond all we do here.”
3. Therefore, music is magic.
4. Muggles can make music.
5. Therefore, Muggles can perform magic.
- 1415917
- Scratcher
98 posts
Swordfighting game
According to J. K. Rowling, Muggles can do magic. Chain of logic:
1. J. K. Rowling wrote The Philosopher's Stone.
2. In The Philosopher's Stone, the students at Hogwarts sing the school song to the tune of their choice, after which Albus Dumbledore says, “Ah, music. A magic beyond all we do here.”
3. Therefore, music is magic.
4. Muggles can make music.
5. Therefore, Muggles can perform magic.
- drmcw
- Scratcher
1000+ posts
Swordfighting game
Sorry but it needs to be shared to be visible to others.
- 1415917
- Scratcher
98 posts
Swordfighting game
okay.
According to J. K. Rowling, Muggles can do magic. Chain of logic:
1. J. K. Rowling wrote The Philosopher's Stone.
2. In The Philosopher's Stone, the students at Hogwarts sing the school song to the tune of their choice, after which Albus Dumbledore says, “Ah, music. A magic beyond all we do here.”
3. Therefore, music is magic.
4. Muggles can make music.
5. Therefore, Muggles can perform magic.
- 1415917
- Scratcher
98 posts
Swordfighting game
okay, it's shared. i wish there was an easier way to do these projects–i mean, this project is supposed to be due tomorrow…
According to J. K. Rowling, Muggles can do magic. Chain of logic:
1. J. K. Rowling wrote The Philosopher's Stone.
2. In The Philosopher's Stone, the students at Hogwarts sing the school song to the tune of their choice, after which Albus Dumbledore says, “Ah, music. A magic beyond all we do here.”
3. Therefore, music is magic.
4. Muggles can make music.
5. Therefore, Muggles can perform magic.
- drmcw
- Scratcher
1000+ posts
Swordfighting game
Looks very good to me.FYI You don't need to add a stop script to the end of a script because it will end anyway.
Te way you change the sword is by changing costume. If you want to rotate the swird then you can do it easily with just one costume and in the motin blocks the rotate blocks so;
Te way you change the sword is by changing costume. If you want to rotate the swird then you can do it easily with just one costume and in the motin blocks the rotate blocks so;
point in direction [0 v]will twist the sword 90 degrees downwards. You need to ensure that the cotume of the sword is pointing up when point in direction is 0 and also that the costume center is set so that it rotates about the correct point.
repeat (9)
turn left (10) degrees
end
- 1415917
- Scratcher
98 posts
Swordfighting game
okay, thanks!
According to J. K. Rowling, Muggles can do magic. Chain of logic:
1. J. K. Rowling wrote The Philosopher's Stone.
2. In The Philosopher's Stone, the students at Hogwarts sing the school song to the tune of their choice, after which Albus Dumbledore says, “Ah, music. A magic beyond all we do here.”
3. Therefore, music is magic.
4. Muggles can make music.
5. Therefore, Muggles can perform magic.
- 1415917
- Scratcher
98 posts
Swordfighting game
how do you make the script blocks appear in the forum? I can't figure it out, but everyone is doing it, so there must be a way…
According to J. K. Rowling, Muggles can do magic. Chain of logic:
1. J. K. Rowling wrote The Philosopher's Stone.
2. In The Philosopher's Stone, the students at Hogwarts sing the school song to the tune of their choice, after which Albus Dumbledore says, “Ah, music. A magic beyond all we do here.”
3. Therefore, music is magic.
4. Muggles can make music.
5. Therefore, Muggles can perform magic.
- 1415917
- Scratcher
98 posts
Swordfighting game
the game seems to be working now. Thank you!
According to J. K. Rowling, Muggles can do magic. Chain of logic:
1. J. K. Rowling wrote The Philosopher's Stone.
2. In The Philosopher's Stone, the students at Hogwarts sing the school song to the tune of their choice, after which Albus Dumbledore says, “Ah, music. A magic beyond all we do here.”
3. Therefore, music is magic.
4. Muggles can make music.
5. Therefore, Muggles can perform magic.
- ErnieParke
- Scratcher
1000+ posts
Swordfighting game
You just use this format: how do you make the script blocks appear in the forum? I can't figure it out, but everyone is doing it, so there must be a way…
[scratchblocks]
scripts
[/scratchblocks]
For example, this little piece of code:
[scratchblocks]
when gf clicked
forever
if (mouse down?) then
say [This is a script! Hurrah!]
end
[/scratchblocks]
Becomes:
when gf clicked
forever
if (mouse down?) then
say [This is a script! Hurrah!]
end
Nice, isn't it? Also, good job on getting your project fixed!
Explaining,
ErnieParke
- Discussion Forums
- » Help with Scripts
- » Swordfighting game