Hello. I've only gotten back to using Game Maker after several years, and I'm having a bit of trouble. I have a shadow that is positioned below the character using the following code:
x = objCharacter.x+3;
y = objCharacter.y+11
It works fine, but when I have the character set to increase its y value by 0.25 using the following:
y += 0.25
The shadow 'stutters'. I can sort of see the reason for this, but even if I use
x = round(objCharacter.x+3);
y = round(objCharacter.y+11)
It still stutters.
Now, I need the character to move at a speed of 0.25. Lowering the speed of the room is not an option. I've also already made it travel using an alarm that increases its x value by 1 every four frames, as opposed to 0.25 every frame. I've also tried setting a 'ytarget' variable that increases by 0.25 every frame, then the character increases its y value when ytarget is more than 1 over the character's y value. Both methods work, but not efficiently and they're awkward. Also, I feel I should note that the character moves flawlessly, and that the shadow uses an image_alpha value of 0.5.
Is there anyway I could fix this?
Thanks,
Sir Cyrus.