Status
Not open for further replies.

Lucas7eixeira

Villager
Member
Joined
May 1, 2019
Messages
24
Reaction score
3
First Language
portuguese
Primarily Uses
RMMV
Hi everyone and thx in advance for anyone who try to help me! :)
So im developing a game with a time/weather/season system and i need a common event to :
1º - See if im on a external or internal map, if im at internal it stops every tint/weather effects, if not it does the next steps.
2º - Tint the screen to give a night/day look.
3º - Based on season, weather effects are triggered hourly (in game time, not real. I've made a common event to measure time/day/season/year).

Now, the problem... when tint+weather effects are on, the game lags A LOT and after a few seconds it crashes.
My RPGmaker is in portuguese so i dont know if a print will help, but here it is:
Sem título.png
Sem título1.png
I have a Ryzen 5 2400G with 4GB ram and SSD, so I dont think it's a spec issue...
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,305
Reaction score
11,732
First Language
English
Primarily Uses
RMVXA
Just an initial thought - do you have any Wait commands in there? If not, that parallel process is trying to run 60 times a second. Does it need to do that? Try putting a Wait command at the end - even a Wait of 10 frames could make all the difference.
 

Lucas7eixeira

Villager
Member
Joined
May 1, 2019
Messages
24
Reaction score
3
First Language
portuguese
Primarily Uses
RMMV
Just an initial thought - do you have any Wait commands in there? If not, that parallel process is trying to run 60 times a second. Does it need to do that? Try putting a Wait command at the end - even a Wait of 10 frames could make all the difference.
thx, although it still lagging a little, it worked. It was unplayable now its just a little annoying frame drop... :D
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,305
Reaction score
11,732
First Language
English
Primarily Uses
RMVXA
Try a wait of 15 and see if that is any better.
 

Lucas7eixeira

Villager
Member
Joined
May 1, 2019
Messages
24
Reaction score
3
First Language
portuguese
Primarily Uses
RMMV
even if i set it to 60frames it was still happening, found out (with a little help lol) that my AV was causing that lag, now with it disabled or with the playtest executable in the "trusted list" it runs smooth 60FPS! :)
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,305
Reaction score
11,732
First Language
English
Primarily Uses
RMVXA
@Lucas7eixeira Glad it's all running well now. However, it was useful that you had this problem because you've now been alerted to the need to have Wait commands in a parallel process.

If this has fully resolved your query, please Report your post and ask for the thread to be closed.
Thanks.
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
8,324
Reaction score
5,488
First Language
Dutch
Primarily Uses
RMXP

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.

 
Status
Not open for further replies.

Latest Threads

Latest Profile Posts

It seems that I have to change the order with which I make the fantasy games on my bucket list, because the intended title is used as a story element in the first two games in the line, and somebody else might take the title for their own game because the term uses real words. I can't risk going over the apparent three year limit for registering trademark ahead of time.
I am interested in collaborations so if you like my art, hit up my messages! :wub
unknown.png

Making good progress with the second chapter. :)

Still work in progress.

(Real life, it is chronically the fourth chapter that I am making.)
constructionworkconcept.pngezgif-2-0acb620ecf8d.gifezgif-2-afeaf16ebb8d.gif "The Great Wall is great. But, most people can only be the slaves who built it, leaving their bones underneath that wall. They spent their whole life to build that wall and the empire, an empire that enslaves them." :kaoswt2: I'm just going to turn it into a modern-day sad tale.

Forum statistics

Threads
110,676
Messages
1,055,107
Members
143,796
Latest member
ShadyBrain_Entertainment
Top