Home
Help
Search
Calendar
Login
Register
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
New forum theme up and running!
Charas-Project
»
Game Creation
»
RPG Maker
»
Extreme game lag
« previous
next »
Print
Pages: [
1
]
Author
Topic: Extreme game lag (Read 4818 times)
Deathslayer1245
Initiate
Posts: 11
Extreme game lag
«
on:
August 25, 2012, 03:10:43 AM »
I'm using Rpg Maker 2003. I finally got my game to the first boss battle. When I went to check out how the story was coming along, I was hit with an incredible lag. The character barely moved and i didn't know why. I heard that it might be because of too many parallel processes but i'm not sure about this. Also i thought that it wouldn't matter if they were in different maps. So i'm hoping that someone can tell me why my game is lagging so much. It would be appreciated.
Logged
drenrin2120
Global Moderator
Sage
Posts: 6,101
Re: Extreme game lag
«
Reply #1 on:
August 25, 2012, 05:21:03 AM »
It depends on what youre parallel processes are doing. you got to remember parallel process events constantly loop over and over. if you,re parallel process event doesnt have ab end process event or erase event command it will continue ti loop and lag your game. you have to be careful with these kind of events, if you want it to do only one thing you need to put an erase event command or an end process event command. for more complicated parallel process events you need key input events. otherwise you should just use auto event. Auto event doesnt loop. it stops executing at the end of the event.
Logged
Deathslayer1245
Initiate
Posts: 11
Re: Extreme game lag
«
Reply #2 on:
August 25, 2012, 05:43:14 PM »
Thanks! I changed almost all parallel processes (except the one that makes the first bgm play) and changed them to auto-start and my game runs smooth again. Thanks for helping!
Logged
daoman89
Sacrosanct
Exemplar
Posts: 1,114
When we die, will we only live on through memory?
Re: Extreme game lag
«
Reply #3 on:
December 30, 2012, 07:22:58 PM »
Just so you know, you can put multiple things in one event. Such as changing bgm, adding characters to the map, movements, animations, etc etc. The only time you would probably use a separate event would be if, like mr. drenin said, it needs to loop such as thunder in the background. I will show you an example that works if you want. Also remember that auto-starts HAVE to end if they do certain things and then are not needed otherwise the game will freeze. Feel free to correct me if i'm wrong drenin.
Logged
Oooh, she hangs out with cattle. You gotta mess with the easiest one and show them why they call you Mac Daddy Diamond Dave!
drenrin2120
Global Moderator
Sage
Posts: 6,101
Re: Extreme game lag
«
Reply #4 on:
December 30, 2012, 07:32:02 PM »
Auto events loop too and need a switch at the end that triggers a separate page that isnt an autp and parallel process. Also, try not and necropost.
Logged
zuhane
Freakalicious
Leader
Posts: 2,192
Kill me
Re: Extreme game lag
«
Reply #5 on:
December 31, 2012, 04:02:31 AM »
Yeah, a good way to keep it neat and optimized is to only have parallel events running when they need to run. Keep everything on a switch on, switch off
kind of basis. You could write 10,000 lines of code, and if it's not activated, the compiler will jump over it, not read it, and save you some huge processing power!
Logged
Geese ruined my life.
https://soundcloud.com/tom-kingston-3/geese
Print
Pages: [
1
]
« previous
next »
Charas-Project
»
Game Creation
»
RPG Maker
»
Extreme game lag