Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Need help with sword scripts.
- DustyisRusty
-
Scratcher
13 posts
Need help with sword scripts.
I'm making an rpg similar to the legend of zelda (1986) and I don't know how to make a sword script.
- deck26
-
Scratcher
1000+ posts
Need help with sword scripts.
Assuming we know nothing about that game what do you want the script to do?
- ZacJug
-
Scratcher
13 posts
Need help with sword scripts.
I mean from what you've told us I can't tell much but I'd be happy to help
…
Could you tell us what functions you want the sword to perform, how many costumes / what animations you want the sword to undertake, how the damage for the sword will be calculated, etc?
…Could you tell us what functions you want the sword to perform, how many costumes / what animations you want the sword to undertake, how the damage for the sword will be calculated, etc?
- drchubbington
-
Scratcher
100+ posts
Need help with sword scripts.
I can't help you unless you share the project and post the link here, but I can supply ideas…
If you mean a slashing animation with costumes, I can't help you, but…
You can smoothly make it turn and turn back to make it slash.
You can make the sword go the Link's position offsetted by whatever amount.
You can make enemies touching the sword take damage.
You can look at the code in this project:
https://scratch.mit.edu/projects/18284398
If you mean a slashing animation with costumes, I can't help you, but…
You can smoothly make it turn and turn back to make it slash.
You can make the sword go the Link's position offsetted by whatever amount.
You can make enemies touching the sword take damage.
You can look at the code in this project:
https://scratch.mit.edu/projects/18284398
- DustyisRusty
-
Scratcher
13 posts
Need help with sword scripts.
Sorry guys I posted this late last night and my mind was everywhere Its an overhead rpg and Im talking about the direction the sword hits here is a reference.
https://www.youtube.com/watch?v=N3VGCyKgH34 8 seconds in .similar to that the sword swings in the direction the player is facing and the damage depends on what sword it is.
https://www.youtube.com/watch?v=N3VGCyKgH34 8 seconds in .similar to that the sword swings in the direction the player is facing and the damage depends on what sword it is.
Last edited by DustyisRusty (March 11, 2019 16:45:02)
- GamesClient1223
-
Scratcher
1 post
Need help with sword scripts.
I am making a platformer fighting game (with swords) but I can't figure out how to code the sword so it swings
- ametrine_
-
Scratcher
1000+ posts
Need help with sword scripts.
I am making a platformer fighting game (with swords) but I can't figure out how to code the sword so it swingsplease make a new topic for your own issue
- Discussion Forums
- » Help with Scripts
-
» Need help with sword scripts.





