It seems to seriously affect game performance when I'm running a log of an update sequence. Is this normal?
MV Rpg maker console
Learning Javascriptdepending on where and how you did this, an update can be called and processed up to sixty times per second - so yes, that can affect performance if done in a bad way.
For more help you would have to post details on your code
For more help you would have to post details on your code
I was just checking how scene.update() is called to verify a view stuff
If you put a console.log in the update function, you're logging a message to the console 60 times per second, as Andar said. That *will* cause lag. The console isn't meant to be used that often.
I've put log in the update method to see how many times it's called and it was fine.
Depends on your specs though. When I had 80 logs per frame, then it was really slowing me down.
Depends on your specs though. When I had 80 logs per frame, then it was really slowing me down.
Ah ok good, this makes things a bit tricky for my script in how and when to perform certain functions since I need low spec compatibility
Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-console.126533/