K
kingjohnc19
Guest
I've seen a ton of threads about this, but none of them seem to work for me. My camera dimensions are 486x243, and my viewport dimensions are 1728x864. Also, I've seen some that have something to do with the hspd and vspd, but because using that sort of script causes glitches with the player sprite, I just use this sort of script:
I'm a beginner at gamemaker, so if there is actually a way to do this, chances are I won't understand it.
Code:
if (right_key) {
phy_position_x += spd;
sprite_index = playerRight;
image_speed = .4;
}