- Joined
- Jul 17, 2013
- Messages
- 64
- Reaction score
- 0
- First Language
- English
- Primarily Uses
Hello all I just picked up some ruby tutorials a few days ago and I thought of a way I could apply it to RPG Maker but I need a bit of help.
A lot of the things in the tutorial deal with virtual dogs and cats however I would like to apply these things to a in game virtual sheep.
I'm not really sure how to do it though. I felt like if I were shown how to do it once I could apply all the other things I learned to my sheep.
Basically what I would like to do is create a common script where all my sheep are declared a variable. And create a method to force my sheep to move randomly. I'm not 100% sure I phrased that right but I think you get what I mean. I want to be able to apply attributes both to individual sheep as well as all sheep.
Class Sheep
def initialize
sheep = $game_map.events[sheep1, sheep2, sheep3, sheep4, sheep5, sheep6, sheep7]
A lot of the things in the tutorial deal with virtual dogs and cats however I would like to apply these things to a in game virtual sheep.
I'm not really sure how to do it though. I felt like if I were shown how to do it once I could apply all the other things I learned to my sheep.
Basically what I would like to do is create a common script where all my sheep are declared a variable. And create a method to force my sheep to move randomly. I'm not 100% sure I phrased that right but I think you get what I mean. I want to be able to apply attributes both to individual sheep as well as all sheep.
Class Sheep
def initialize
sheep = $game_map.events[sheep1, sheep2, sheep3, sheep4, sheep5, sheep6, sheep7]
