RPG Maker MV

RPG Maker MV

This topic has been locked
Blank May 16, 2018 @ 4:45pm
How much can this engine handle?
So here's what I'm trying to achieve. I'm wanting to make enemies visible on the overworld screen and have encounters happen when the enemy touches the player, instead of random battles. I'm going to have multiple enemy events on the field at once that are constantly checking the player's position relative to the event's position and orientation. Here's how the logic works:

-Enemy sprite event appears on the field, set to wandering and parallel process.
-Event continually calls the common event that processes enemy visibility.
-Common event constantly checks the player's and enemy's map coordinates as well as the enemy's orientation.
-Also, whenever the enemy's wandering movement changes orientation, it changes its range of visibility (about 4 tiles in front, 2 to each side, and 0 behind), which will be specified in the common event.
-If the player steps into the enemy's range of visibility, the event displays a "!" bubble above its head, waits 60 frames, then changes the movement pattern to "approach player" for a few steps.
-(edit) If the player touches the enemy from behind, you might get a pre-emptive strike.
-(edit) If the enemy fails to touch the player, it "cools down" for 60 frames, and continues to wander.
-Event will have a second event page set to "player touch" that starts an encounter if the enemy touches the player.
-If the player wins the encounter, the event deletes itself.

I have not written this script yet, because i've had issues with FPS drops within my project. My computer is really powerful so that is not the reason. I narrowed down the cause of the FPS drop to a loop that I created in one of my scripts that controlled they day/night cycle. After I took the loop out, the game ran fine.

My question is, how many concurrent scripts have you been able to run in RMMV before it bogged down? I haven't written this script yet because I'm afraid that having it run multiple times concurrently on one map on a loop for each one is going to tank the game's FPS. What's your guys's experience with this sort of thing?
Last edited by Blank; May 16, 2018 @ 4:50pm
Originally posted by Caethyril:
Originally posted by Actual Cancer:
I narrowed down the cause of the FPS drop to a loop that I created in one of my scripts that controlled they day/night cycle. After I took the loop out, the game ran fine.
You should be able to use a parallel event here. Parallel (and autorun) events repeat indefinitely while active. =)

Using a "Wait 1 frame" event command is highly recommended in loops to prevent the system from trying to do X frames worth of checks every frame (where X is "as many as the system can handle"). If you don't need to check something every single frame, just increase the wait time. ^_^

Edit: aside from Yanfly's Chase & Stealth plugins...
Originally posted by Actual Cancer:
-(edit) If the player touches the enemy from behind, you might get a pre-emptive strike.
...
-Event will have a second event page set to "player touch" that starts an encounter if the enemy touches the player.
Plugins you may find useful here: Galv's Event Start Types[galvs-scripts.com] or Yanfly's Event Encounter Aid[yanfly.moe]. Event Touch is the trigger you want if you're looking to have the event's movement start the encounter.
< >
Showing 1-15 of 45 comments
Iguana Guy May 16, 2018 @ 5:13pm 
I'm not sure why you are not looking into Yanfly Chase Event Player and Yanfly Event Chase Stealth Plugins. they basically do what you are trying to accomplish in your description provided. Maybe you had not heard of them though. becuase they are compatable plugins the bog down on your system should not be too much. Check his site out at Yanfly.moe and watch the youtube vids regarding these two plugins from there.
Blank May 16, 2018 @ 5:17pm 
@IguanaGuy Ha, I literally just read your Boombox thread. Good stuff you got there.

Anyway, I know of Yanfly. I want to avoid using other people's stuff as much as I can so that I can say I made it myself. It's admittedly a pride thing... I just want to see if I can do it myself before I use someone else's work.
JohnDoeNews May 16, 2018 @ 7:23pm 
Originally posted by Actual Cancer:
...
I know it is off topic, but your name is seriously not cool. :steamfacepalm:
Last edited by JohnDoeNews; May 16, 2018 @ 7:23pm
Iguana Guy May 16, 2018 @ 7:36pm 
That's neat that you want to try eventing and scripting the battle setups yourself. You can certainly learn a lot about the program when you push your skill and MV to its limits. I know I have run several parallel events at the same time on a map and had few issues with that. I would suggest smaller more numerous maps vs one big one with events running all over. That may get laggy and potentially freeze your game if to many things switch pages at the same time.
:steamhappy: Yeah - everyone seems to really like the Boom Box idea. It is basically a support troop in "ghettoblaster" form. One could take the concept and use it as anything.
Blank May 16, 2018 @ 8:17pm 
Originally posted by BigFatX:
Originally posted by Actual Cancer:
...
I know it is off topic, but your name is seriously not cool. :steamfacepalm:

REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

At least I'm honest with myself.
Last edited by Blank; May 16, 2018 @ 8:21pm
Blank May 16, 2018 @ 8:18pm 
Originally posted by IguanaGuy:
That's neat that you want to try eventing and scripting the battle setups yourself. You can certainly learn a lot about the program when you push your skill and MV to its limits. I know I have run several parallel events at the same time on a map and had few issues with that. I would suggest smaller more numerous maps vs one big one with events running all over. That may get laggy and potentially freeze your game if to many things switch pages at the same time.
:steamhappy: Yeah - everyone seems to really like the Boom Box idea. It is basically a support troop in "ghettoblaster" form. One could take the concept and use it as anything.

So you're saying it probably won't take all that many concurrent events to have issues?
XIIIthHarbinger May 16, 2018 @ 9:23pm 
Originally posted by BigFatX:
I know it is off topic, but your name is seriously not cool. :steamfacepalm:

Oh I don't know.

It's rather refreshing to see a nooblet that comes right out admits what it is.

I wish more of them were so forthright, & simply acknowledged the reality of their own existence by putting it in the user name.

Like "mouth breathing, helmet wearing, window licking, short bus riding, down syndrome afflicted byproduct of an incest gangbang" or "Walking, talking, defecating poster child for the societal benefits of eugenics"
Last edited by XIIIthHarbinger; May 16, 2018 @ 11:48pm
Iguana Guy May 16, 2018 @ 11:01pm 
Not sure about what level you would have issues at. That would be discovered by pushing the program and seeing what happens. if you plan on giving this game to others though, a good rule of thumb is not making your game ride the edge of crashing and locking up. :steammocking: If you check the comments of many "good" games out there you will still see a common complaint is "crashes without warning" etc. I have had about 10 or more parrallel without much issue but then again they were not all out to catch and battle with me either so a different game mechanic comes into play there. All I know is that those who say that MV "can't do much" have not been trying very hard because so far it has exceeded my expectations as far as offbeat game abilities go. The only limitation so far is my learned level of how it functions.
Blank May 16, 2018 @ 11:50pm 
Originally posted by XIIIthHarbinger:
Originally posted by BigFatX:
I know it is off topic, but your name is seriously not cool. :steamfacepalm:

Oh I don't know.

It's rather refreshing to see a nooblet that comes right out admits what it is.

I wish more of them were so forthright, & simply acknowledged the reality of their own existence by putting it in the user name.

Like "mouth breathing, helmet wearing, window licking, short bus riding, down syndrome afflicted by product of an incest gangbang" or "Walking, talking, defecating poster child for the societal benefits of eugenics"

I mean, my username is just to let people know that I'm an ♥♥♥♥♥♥♥ and I like to f*ck with people. That's really all it means.
XIIIthHarbinger May 17, 2018 @ 12:28am 
Originally posted by Actual Cancer:
I mean, my username is just to let people know that I'm an ♥♥♥♥♥♥♥ and I like to f*ck with people. That's really all it means.

Then be prepared to routinely banned by BitchNuggets.

& out edgelorded by the forums OG ♥♥♥♥♥♥♥♥.
The author of this thread has indicated that this post answers the original topic.
Caethyril May 17, 2018 @ 1:09am 
Originally posted by Actual Cancer:
I narrowed down the cause of the FPS drop to a loop that I created in one of my scripts that controlled they day/night cycle. After I took the loop out, the game ran fine.
You should be able to use a parallel event here. Parallel (and autorun) events repeat indefinitely while active. =)

Using a "Wait 1 frame" event command is highly recommended in loops to prevent the system from trying to do X frames worth of checks every frame (where X is "as many as the system can handle"). If you don't need to check something every single frame, just increase the wait time. ^_^

Edit: aside from Yanfly's Chase & Stealth plugins...
Originally posted by Actual Cancer:
-(edit) If the player touches the enemy from behind, you might get a pre-emptive strike.
...
-Event will have a second event page set to "player touch" that starts an encounter if the enemy touches the player.
Plugins you may find useful here: Galv's Event Start Types[galvs-scripts.com] or Yanfly's Event Encounter Aid[yanfly.moe]. Event Touch is the trigger you want if you're looking to have the event's movement start the encounter.
Last edited by Caethyril; May 17, 2018 @ 1:16am
Hajami May 17, 2018 @ 3:44am 
Hello OP and Welcome to the Community.
Respect you provided a very detailed and good list of things you want to achieve,we sadly rarly get provided with such by new Users. So this is realy nice to See.

As it reads all of that should be possible with simple Eventing.
But you want to avoid to have to much Events on Paralell Process, that uses to much of the Performance Reserves the Maker has.
But one Paralell Event can without Problems controll all those View Range Code for around 50 Events without Problems depending on other Performance sucking stuff.
For APP Games you would want to use less Events because those Phone Games got much less Performance Power (Cant tell how much less because i did not Test it fully).

JohnDoeNews May 17, 2018 @ 8:12am 
Just saying... There is people who actually HAVE cancer in this world. They are dying one by one. Little kids, who may even try to make their own RPG before they die at age 16. And when they come here, to find out how to make a chest open and shut, they see their terminal illness is nothing but a joke to you.

Seriously, if you were right in front of me, and said that to my face... You'd have a sidewalk tile on your face right now. I'd have all the little cancer patience take a turn kicking you in the face, while you're helpless on the floor... Just like you kick them in the face by laughing at them!!!

Originally posted by Hajami:
...

So making fun of cancer is not against the rules? Not even as much as a request to stop it? Or a warning? You just ignore the whole thing and answer his questions??? Very fair and objective. What the hell??? He actually is here to cause troubvle and ♥♥♥♥ with people He just said that!!! I've been banned for less!!! Or do you only ban people when they argue with YOU???
◢ k r i s ◤ May 17, 2018 @ 8:43am 
BFX - they are "Internet" cancer. http://knowyourmeme.com/memes/cancer
Example: https://steamcommunity.com/app/363890/discussions/0/1692669912385539652/?tscn=1526553849#c1692669912386092372

OP hasn't broken any rules yet and the name isn't considered as offensive as you say (it's more like a self-insult towards themselves, if you are familiar with the slang - thus Harbinger's remark). When they break rules, they'll get banned just like anyone else.

------
In the past you've been banned for going "off-topic" and throwing disruptive tantrums when you don't get your way - sort of like you are beginning to do now. Slow down and cool-off - it's not just Hajami that gets frustrated with that side of you.
Last edited by ◢ k r i s ◤; May 17, 2018 @ 8:58am
JohnDoeNews May 17, 2018 @ 9:10am 
Originally posted by ◢ k r i s ◤:
In the past you've been banned for going "off-topic" and throwing disruptive tantrums when you don't get your way - sort of like you are beginning to do now. Slow down and cool-off - it's not just Hajami that gets frustrated with that side of you.

You really got it wrong man. You really think I am one of the users who love the thunderdome? I do not.

I can get wind up, when:
- People are unfair.
- People twist my words around.

If that is more frustrating than people actually trying to wind people up, then there is something really really wrong with the world.

The one that actively uses cancer to anger other people, (he actually just said that is the reason he uses this) can not be worse than the one who gets angry by it.

If you see 2 man walking in the street, and one just punches the other straigt in the throath, and a 3rd guy comes and kicks the one that punched... Which one would you think is the bad guy? The one that punches out of the blue, or the one kicking back?

Right now, Actual Cancer is the one, knowingly and willingly, punching strangers in the face, and I am the bad guy, cause I kick back? Really Kris?

YOU might not think it is offensive. Cause YOU probably don't have cancer, or a kid with cancer, or a mom who died from cancer or... or... If anyone you love, has or had cancer, you would never say it isn't offensive.

Nice, that you have the guts to put the blame on me... I am not making fun of people dying of cancer, their families and their lovers. That is he. And you are defending him.

Originally posted by Actual Cancer:
I mean, my username is just to let people know that I'm an ♥♥♥♥♥♥♥ and I like to f*ck with people. That's really all it means.

Yeah.... but i am the bad guy...
Last edited by JohnDoeNews; May 17, 2018 @ 9:21am
< >
Showing 1-15 of 45 comments
Per page: 1530 50

Date Posted: May 16, 2018 @ 4:45pm
Posts: 45