GameMaker Studio 2 Desktop

GameMaker Studio 2 Desktop

gnonme Jan 28, 2018 @ 12:11pm
Help with delta time and particle systems
I'm trying to make my game run the same on any frame rate and for the most part it's working. However, I just can't seem to get delta time to work with my custom particle systems. An example of this is a spaceships smoke. I have taken screenshots of this at 30, 60, and 120 fps.[imgur.com]

I tried looking at this[forum.yoyogames.com] and this but I couldn't get anything to work.

I want it to always look how it does at 60 fps.

Please help me.
:special:
Last edited by gnonme; Jan 28, 2018 @ 12:12pm
< >
Showing 1-2 of 2 comments
Warrenaterz Jan 29, 2018 @ 5:12am 
GameMaker's default particle system won't work using delta time because it's configured to use frame per second game speed. I'm going to do a tutorial on this on my YouTube channel pretty soon. https://www.youtube.com/warrenaterz In the mean time though, what you will have to do is create an array containing all of the different X and Y particle locations in a parent particle object, then iterate through the array size using a for loop in the draw event to draw all of the sprites in one step.
gnonme Jan 29, 2018 @ 9:29am 
Originally posted by Warrenaterz:
GameMaker's default particle system won't work using delta time because it's configured to use frame per second game speed. I'm going to do a tutorial on this on my YouTube channel pretty soon. https://www.youtube.com/warrenaterz In the mean time though, what you will have to do is create an array containing all of the different X and Y particle locations in a parent particle object, then iterate through the array size using a for loop in the draw event to draw all of the sprites in one step.
Alright I'll wait for the video. One question though: your more recent tuts are for GMS 2, will they still work in 1.4?
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Jan 28, 2018 @ 12:11pm
Posts: 2