on one of my maps I am having a bunch of lag. the players walk slowly and choppily and so do the npc's when they talk. I think the problem is that I have an event on almost every tile so that the player can plant flowers almost anywhere. Is there a simple way to reduce the lag?
Laging problems.
● ARCHIVED · READ-ONLY
-
-
A lot of events WILL cause lag. I'd be rethinking the design (look for an alternative to having events everywhere).
How many parallel process events do you have on that map? -
I have no parallel process or autorun events on the map. should I make a common event and just call it all over the map?
-
Are they limited in how many flowers they can plant? How do they go about planting a flower - what are the requirements and the actions? Can you post a screenshot of one of your events (if it has multiple pages, post each page) - make sure to include the WHOLE event window so I can see any conditions/sprites/triggers as well.
Also a screenshot of the map in the editor (zoomed out a bit if necessary) so I can get an idea of just how many events you're talking about and where they are. -
ok i'll try. I am not sure I know how to take screenshots but i'll do my best.
EDIT: I can't take screenshot but I can upload the map and all the events in a zipped folder in another edit to this post in a few minutes. -
How to take a Screenshot:
You've heard people say to take a screenshot, but how does one take a screenshot of their game? Simple, while the game is running, hit the Prt Scr button on your keyboard, which is located right next to your F12 key. If you're using a laptop, you might have to use the Fn key in combination with the Prt Scr key to get it to work.
Now that you've pressed the button, it's time to paste this screenshot into an image editing software. If you don't have anything fancy such as Adobe Photoshop, GIMP or Paint.NET, no worries; you can use MS Paint instead. Open up your image editing software, create a new file, and then hit ctrl+v on your keyboard, or simply right click on the screen and select paste. This should instantly paste the screenshot into your image editing software. You can go ahead and crop the image to suit your needs, or if you don't even know what that means, you can just upload it as it is.
Save the image as a PNG, or if you really need to, as a high quality JPG.
How to upload the image to the forums
Now that you have you have an image on your computer you'd like to show us, how can you get it to show up on the forums? Firstly, you need to find an image hosting site, photobucket.com or imageshack.us are popular ones. If you have another image uploading website, great - use that one! Either way, upload it to the site, and then get the direct link. Don't get the resized link, or the thumbnail link, but the direct URL. You'll know you have the direct URL if the URL ends with the file extension you saved your image in (which will hopefully be .png).
Once you have this direct URL to your image, simply use the IMG tags in your forum post and paste the URL in between them. If this image is big, please leave the image in spoiler tags.
IMG tags:

You can also do
Code:[img=www.website.com/image.png] -
well i'll try to get screenshots of all the event stuff but until i do, here is the map as an entire project.
Here should be the screenshots. for some weird reason I can't upload all the screenshots but the last 2 are the same as the last one, just with a different flower graphic and self switch trigger. -
I've got it. You should edit that post and delete the attachment now. You don't get a lot of space for attachments, and you certainly don't want to be using up a heap of it for an RM project.
Edit: Yeah, that's a lot of events. It looks like you're going to be adding more to each one too (with the water).
I would utilize an event spawning script, maybe my Remember Event Position and Clone Event (slightly modified) scripts, and either a parallel process common event or (probably better) have the seed items call a common event that checks they're on the right map and if they are, allows them to plant the seed - using the event spawning script and the remember event position script, to just put flowers where the player says to, rather than have an event in every possible spot. And I'd limit how many they can plant, and maybe even where they can plant (perhaps by region ids) - no matter what you do to make it easy, if you're going to allow the player to add that many flowers, they're going to end up lagging.
If you're going to add watering and harvesting, you should do a search for some Harvest Moon type systems - I know there are a few around, and even a tutorial or two on the best way to set them up. -
I don't know what you mean, do I delete the screenshots or map project folder zip?
and here are the other two screenshots. -
I mean edit your post and delete the attachment from the post.
Read my post above - I added some more info while you were posting. -
i'll delete my attachments and I already did look and use some good harvest moon tutorials. I think maybe i'll have certain areas where the can plant flowers. I didn't plan for you to harvest the flowers they were just for pretty and like if a girl wanted to plant flowers to customize and make her farm pretty. (my game is not targeting girls in particular, you can play as many different people I just want elements that can appeal to anybody.)
-
You didn't delete your attachment. I can still see it in your post.
-
it took me a little bit it should be deleted now.
-
Yeah, gone now.
I don't know that I can be much more help with the lagging issue though. It's because you've got too many events, so you just need to rethink your design a bit. -
yeah. I made it that there is a sign that tells the player that there are specific places you can plant flowers, and the deleted a bunch of the flower planting events. I made so that you have a small fence that you can plant flowers in and you can also plant the around your house. I guess the lagging problem isn't fixed but I kind of like this way better. and it doen't lag now.
-
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.