Original Source
- Original title: Cleaning up my parallel processes
- Original author: blacksmithy
- Original date: June 2, 2016
- Source thread: https://forums.rpgmakerweb.com/threads/cleaning-up-my-parallel-processes.62889/
- Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker MV Support
Summary
Hello! I'm making some parallel processes to track the player's progress through various puzzles in my game, and I feel like they could probably be cleaned up a smidge, because they're producing crazy lag in playtesting. (For the record, I only experience significant lag while in rooms with parallels, so Occam's Razor would suggest it's not anything else causing the problem.) I took a screenshot of a couple of my parallels: Just in case those don't work, I've copied the text from one of those parallel processes in the spoiler...
Archived First Post
I'm making some parallel processes to track the player's progress through various puzzles in my game, and I feel like they could probably be cleaned up a smidge, because they're producing crazy lag in playtesting. (For the record, I only experience significant lag while in rooms with parallels, so Occam's Razor would suggest it's not anything else causing the problem.)
I took a screenshot of a couple of my parallels:
https://www.dropbox.com/s/m3sj9iry8qiwmde/Screenshot%202016-06-02%2018.33.02.png?dl=0
https://www.dropbox.com/s/z3e9xdxxr6pkjov/Screenshot%202016-06-02%2018.32.38.png?dl=0
Just in case those don't work, I've copied the text from one of those parallel processes in the spoiler below:
If #0003 is ON
If #0004 is ON
If #0005 is ON
If #0006 is ON
Fadeout Screen
Change Transparency: ON
Control Switches: #0002 = OFF
Control Self Switch C = OFF
Control Self Switch D = ON
Break Loop
Else
End
Else
End
Else
End
Else
End
Repeat Above
Is there any way I can simplify these to reduce lag? I'm open to running the checks in some other way if that's needed to cut it, because playtesting this room is actually impossible due to the lag, and I really need to make sure this puzzle works. I'm a poster child noob when it comes to programming these processes, so I'm sure I can tighten this up somehow.
Thanks in advance!
PS: Just FYI the puzzle involves talking to people and giving them things, so this process is checking whether you've given four specific people their things or not. It then ends the puzzle sequence and moves you forward in the scenario once you've given things to those four people.
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...