I apologise in a advance for vagueness I would like to get answers without giving away too much, but if I am too vague ask specifics if you think you can help.
Alright well I am using Ace and I am not a complete code noob but my lack of knowledge of both RPG maker and RUBY itself has caught up with me
I have a ruby class to represent entites I would like to have a map presence I figure the best way to go about this is is using events:
For arguments sake lets say my class is an NPC (
I plan to have a max of these of about 10 and the "Active" number will change when they are not active :
So these NPCs will each have their own stats and one of the is a bool called "active" when active is false I want him to not display.
So a few questions I need help address is in correlation to the engine itself and my code:
Should I just init these 10 "NPCs" in a custom game manager class (which I have built to track score already) all at once or should I use the events and self flags (if the later can an example of a plausible way to do that) so that they are each initialized as needed. If I do either one of those ways will I face a likelyhood that they will reinit at strange times. (my game manager inits at game run and then again at new game).
I tired to figure a way to do this looking through the engine scripts and coul not figure how objects with their own class exsisted within it (This is where I think its a lack of RUBY know how) the best i can decern is they are in a enum? and not an array? ........
I went with my own "NPC" class becuase I dont want to have my hands tied with the event system, but ultimately should I just build each "NPC" inside the event using script rather than having my class?
Maybe I am just rambling and trying to clear my head, maybe I have legitimate questions in there, but any help, guidance, suggestions, critcism will not at all upset me.