Ok, the game I am making has a thing that pushes objects away from it. I am trying to add kinda the opposite of gravity? This is also my first game and having trouble. I am making this with gamemaker studio to.
If you are using a collision script with hspd and vspd and you want to give the effect of side ways gravity just have the hspd += your gravity variable. Like for normal gravity you would have vspd += gravity.