D
Dwojityv
Guest
[SOLVED]
THANKS GUYS!!
I AM WRITING IN CAPS, BECAUSE I AM SO EXCITED!
The problem really was my wrong zooming in.. To make it more clear : my base resolution of game is 640x360 . When zoomed, it was 448x252.. Somehow I thought that if I keep the same aspect ratio, nothing bad could happen. Oh was I wrong.
I basically changed values and now I zoom to 320x180. This means I have to change how my camera works now, but I rather code camera again than dealing with that pesky stuttering!
Again, thank you very much!
------------------------------------------------------THE PROBLEM-----------------------------------------------------------------
Hello,
In my game (platformer), instead of moving player, I move all tiles and objects. However, everything that moves is stuttering / jiggling, almost blinking. It's so distracting!
I tried to figure out what's going on, so I recorded my game, zoomed in and this is the result as GIF:
http://imgur.com/a/w4JSq
This is zoomed in frame by frame recording of grass in my game - that's where the stuttering is visible most.
If you pay attention to single piece of grass - in one frame it's thick and in other it's thin.
I move all the tiles using this code: (global.moveSpeed = 5)
And I move object with this code (I use parent for most)
I handle the global.moveSpeed in collision-detecting code and it's working properly - by using debug I figured out the variable stays at 5 (it's not switching between 5 and 0 or something)
I also tried to turn on/off Interpolate pixels in settings and using round() or without round() it's still the same.
This is GIF of game in progress - Yes, I zoom in my game using views, but the problems persists even if I keep the game in original size, so that's not the problem.
http://imgur.com/a/LiRT4
Again, look at the grass, that's where it is visible most.
I should also mention, that this happens on Windows and Android - I didn't test anything else, but I think that problem isn't because of platform.
I am being desperate now. I can't seem to find fix to my problem. I think that I browsed google for few days straight now.
If you guys have any idea, I would be so happy if you help me out. I put so many hours into this game and I feel like I can't release game with this choppy blinking graphics.
btw sorry for my bad english, it's not my native language and longer texts aren't on my bright side!
Thanks!
THANKS GUYS!!
I AM WRITING IN CAPS, BECAUSE I AM SO EXCITED!
The problem really was my wrong zooming in.. To make it more clear : my base resolution of game is 640x360 . When zoomed, it was 448x252.. Somehow I thought that if I keep the same aspect ratio, nothing bad could happen. Oh was I wrong.
I basically changed values and now I zoom to 320x180. This means I have to change how my camera works now, but I rather code camera again than dealing with that pesky stuttering!
Again, thank you very much!
------------------------------------------------------THE PROBLEM-----------------------------------------------------------------
Hello,
In my game (platformer), instead of moving player, I move all tiles and objects. However, everything that moves is stuttering / jiggling, almost blinking. It's so distracting!
I tried to figure out what's going on, so I recorded my game, zoomed in and this is the result as GIF:
http://imgur.com/a/w4JSq
This is zoomed in frame by frame recording of grass in my game - that's where the stuttering is visible most.
If you pay attention to single piece of grass - in one frame it's thick and in other it's thin.
I move all the tiles using this code: (global.moveSpeed = 5)
Code:
/// Moving Tiles
tile_layer_shift(1000000,-round(global.moveSpeed),0);
Code:
/// Moving all objects
x-=round(global.moveSpeed);
I also tried to turn on/off Interpolate pixels in settings and using round() or without round() it's still the same.
This is GIF of game in progress - Yes, I zoom in my game using views, but the problems persists even if I keep the game in original size, so that's not the problem.
http://imgur.com/a/LiRT4
Again, look at the grass, that's where it is visible most.
I should also mention, that this happens on Windows and Android - I didn't test anything else, but I think that problem isn't because of platform.
I am being desperate now. I can't seem to find fix to my problem. I think that I browsed google for few days straight now.
If you guys have any idea, I would be so happy if you help me out. I put so many hours into this game and I feel like I can't release game with this choppy blinking graphics.
btw sorry for my bad english, it's not my native language and longer texts aren't on my bright side!
Thanks!
Last edited by a moderator: