Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Need Basic RPG Code(s)
- otherfireangel
-
3 posts
Need Basic RPG Code(s)
Hello! I'm new here so I don't know much, but I'm very ambitious. I'd like to make an RPG in the style of Epic Battle Fantasy IV, but I don't have a firm grasp of Scratch's code yet.
What I want to include:
- Top/front view walking on a grid, with blocks that can't be walked on and blocks that can be pushed or that open a fight scene or other interaction.
- Transitions between screens (like the side swipe).
- Fight scenes where first the players take turns attacking and they have attacks to choose from, then the monsters attack from a random set of attacks. It needs a “run away” option.
- Cutscenes that are activated when certain blocks are stepped on.
- Idle animations (in and out of fights), attack animations (in fights), and walking animations (out of fights).
- “Dialog Boxes” for some interactions.
- An inventory of healing items, and chest blocks or shops that would provide them.
Some specific things I wonder about:
- How to turn key presses into walking.
- The most streamlined way of making an animation.
- Making sprites move in an arc shape
What I have available to me:
- Photoshop
- GarageBand
- Scratch
Can y'all please tell me how I might go about making one or more of the things on those lists up there? I'm hoping for a more conceptual answer like “move a bit and then use a repeat loop with these items plus whatever else you need” rather than “copy/paste these blocks.” If anyone wants a reference, look up “Epic Battle Fantasy IV” on Kongregate (or Google). I'd like to do pretty much that, except for the only inventory is for healing items.
Additionally, if anyone has any “practice projects” that they think would help me learn more about Scratch for RPG gaming, please let me know.
What I want to include:
- Top/front view walking on a grid, with blocks that can't be walked on and blocks that can be pushed or that open a fight scene or other interaction.
- Transitions between screens (like the side swipe).
- Fight scenes where first the players take turns attacking and they have attacks to choose from, then the monsters attack from a random set of attacks. It needs a “run away” option.
- Cutscenes that are activated when certain blocks are stepped on.
- Idle animations (in and out of fights), attack animations (in fights), and walking animations (out of fights).
- “Dialog Boxes” for some interactions.
- An inventory of healing items, and chest blocks or shops that would provide them.
Some specific things I wonder about:
- How to turn key presses into walking.
- The most streamlined way of making an animation.
- Making sprites move in an arc shape
What I have available to me:
- Photoshop
- GarageBand
- Scratch
Can y'all please tell me how I might go about making one or more of the things on those lists up there? I'm hoping for a more conceptual answer like “move a bit and then use a repeat loop with these items plus whatever else you need” rather than “copy/paste these blocks.” If anyone wants a reference, look up “Epic Battle Fantasy IV” on Kongregate (or Google). I'd like to do pretty much that, except for the only inventory is for healing items.
Additionally, if anyone has any “practice projects” that they think would help me learn more about Scratch for RPG gaming, please let me know.
- A-KouZ1
-
100+ posts
Need Basic RPG Code(s)
Wow, this is a big ideal!
Do you have a strong desire to realize the Ideals?
If so, learn Scratch first, until you have know basics of Scratch, now you can do what you must do.
Do you have a strong desire to realize the Ideals?
If so, learn Scratch first, until you have know basics of Scratch, now you can do what you must do.
I'm learning Scratch by autodidact, and I know how Scratch codes are work,
but I have no dream to create an big game,
most scratcher, include me… just doing a test-project, or something
- RainaERusch
-
100+ posts
Need Basic RPG Code(s)
Hey! Do you want to collaborate on a game of some sort? I know my way around Scratch, but a, still learning, so this possible collaboration may benefit the both of us! I would suggest we work on a platformer, though, since I know how to script it, and you could do the artwork. We could even hire voice actors to do that for us, if you would like.
- footsocktoe
-
1000+ posts
Need Basic RPG Code(s)
Take a look at this…
https://scratch.mit.edu/studios/1141546/
https://scratch.mit.edu/studios/1141546/
- Animesh-Ish
-
3 posts
Need Basic RPG Code(s)
I'm working on my own RPG, currently. Do you think we could use something for communication and possibly work on the two together?
- footsocktoe
-
1000+ posts
Need Basic RPG Code(s)
Some specific things I wonder about:
1. How to turn key presses into walking.
2. The most streamlined way of making an animation.
3. Making sprites move in an arc shape
1. That one will be easy to find out since every game with walking has it.
2. The most streamlined way to animate is to use only the extreme poses. For example, in walking there are only 4 extreme poses (only 2 if you are in silhouette) and they are:
a. Right foot all the way forward, left foot all the way back
b. Feet crossing, right leg straight, left leg bent and under right
c. Left foot all the way forward, right foot all the way back
d. Feet crossing, left leg straight, right leg bent and on top
Using those four poses produces a very convincing walk animation. And in Scratch you don't need four more to walk in the other direction, because Scratch has direction blocks.
3. Moving in an arc is done by using the “turn” block in combination with the “move” block
Here is what it looks like with an animated walk
- Discussion Forums
- » Help with Scripts
-
» Need Basic RPG Code(s)