MCBICK'S PROFILE
McBick
1339
Search
Filter
[RM2k3] Need help with step counter!
Well thanks for the help, at least I learned some good stuff for future projects. I think I've learned more stuff from you than any other source so far lol.
[RM2k3] Need help with step counter!
Ok after some testing it only seems to be slightly faster, maybe 2-3 seconds faster. I thought I found the solution to make this event work, but guess not. I think it's because it cycles one part about 48,000 times or more total(Scanning entire screen), just a rough estimate. It's the part in your trigo script where it checks SIGHTEND is less than GUARDX. I created a counter to check how many times it cycles through that and it ranges from 30-350 per tile. It has to execute 10(commands) x 48,000(cycles) which is way more than the 10k limit per frame.
Edit: Do Dyn plugins operate outside of the 2k3 engine? If it does then I can try to use that to eliminate the 10k limit.
Edit: Do Dyn plugins operate outside of the 2k3 engine? If it does then I can try to use that to eliminate the 10k limit.
[RM2k3] Need help with step counter!
I have to run the loop constantly though so it doesn't mess the fog up when the character moves which moves the screen as well. I'm currently working on something else, but in about 30 mins I will redo the coding and see if it works.
[RM2k3] Need help with step counter!
Oh so if i just use label loops instead I'll be fine? The event I am talking about checks every tile on the screen and will create a black tile if your character's view is obstructed. To check every tile it takes about 5-10 seconds depending on where the character is located relative to the screen, this can be optimized to reduce the total time to 5-6 seconds. I have to combine 2 pages of coding into one to try it though, as it is now it cycles through 2 pages in the event.
Edit: By my estimate I should save 5.12 seconds since it cycles through 320(Every tile on screen) times which is 320 invisible 0.0 waits.
Edit2: Might save even more time since I only counted one page, but it cycles through 2 pages of an event.
Edit: By my estimate I should save 5.12 seconds since it cycles through 320(Every tile on screen) times which is 320 invisible 0.0 waits.
Edit2: Might save even more time since I only counted one page, but it cycles through 2 pages of an event.
[RM2k3] Need help with step counter!
If that's true then I can speed up parallel processes by adding a loop in it? I ask this because one of my events just isn't fast enough to be useful. Also I thought someone told me that the loop in 2k3 was buggy and caused lag.
[RM2k3] Need help with step counter!
[RM2k3] Need help with step counter!
Thanks for your help everyone, works now. Does anyone know why a loop works and a parallel process doesn't, seems weird to me?
[RM2k3] Need help with step counter!
[RM2k3] Need help with step counter!
@Kazesui
I copied Sated's event that he posted and yes it seems to work with the loop, but I only tested it in short distances. Will it be 100% accurate if I continue walking for +100 steps?
I copied Sated's event that he posted and yes it seems to work with the loop, but I only tested it in short distances. Will it be 100% accurate if I continue walking for +100 steps?













