its my first post here and a first game (platformer) im working on.
i wish to put some objects on the map that will upon interacting, change the player's movement speed.
say, you go into mud, it's -50 speed, on ice you would gain +50 speed, a power-up would add 20 movement speed etc.. it's ok if i set movement speed manually for every "zone" a player is in, but what if im in the mud, and having predefined speed for that place on the map, than i take a power-up, how can i add +speed?
hope you understand what im trying to make.
thanks in advance