• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GameMaker Character placement issue with "Set Gravity Force"

1

1R85

Guest
Hello everybody!

I use: Drag and drop. (No coding.)
IDE Version: 2.2.2.413 Current Runtime: 2.2.2.326

Game info: Low resolution game.
Room Settings / Camera Properties: Width 160x88px
Sprite size: 8x8px
Viewport Properties: 1600x880px

I want my character to stand/walk/land pixel perfect on "the ground", but with "Set Gravity Force" above 0 he starts off a bit below the upper line of the ground. (Like the gravity pushed him down a bit..)

I have the Force set to 0.2
And every time he jumps/flies he lands a little below the line.

I have also tried other values, like 1:
If he jumps/flies he will land in any 3 ways:
- a bit below the line (Boo!)
- on the line (Hurray!)
- a bit over the line (Boo!)
(Well 1 would be to strong a force anyway - but the changing result is strange...)

Is this a bug? Or did I mess something up?

If I set Force to 0 its ok, but then he wont land again when jumping :)
 
Last edited by a moderator:
Top