• 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!

forces

  1. J

    GML Visual [SOLVED] How to make Physics object go towards nearest enemy object?

    How can I make a physics object go towards the nearest specific object in a physics world? Ex: (obj_fish1) who can only eat other same fish (obj_fish1) so how could I make them go towards each other so they can eat each other? I tried using a force...
  2. L

    GML Applying forces to a main character

    Just looking for some clarification on if i'm doing this correctly. My player has normal movement attributes: a velocity vector, max_velocity, accel, etc. // Move, creates the desired velocity based on player input player_move(); // Apply forces, 20 being the player's density, F = MA right? var...
  3. L

    GML [SOLVED] Physics Move at Certain Speed

    I'm having some trouble figuring out how to move my character at a certain speed, for example 2.68 m/s (average jogging speed for a person). I've defined 512 pixels as 1 meter in my physics room (value of 0.1354666667). Since the physics_apply_force uses newtons to move things, i'm not sure what...
  4. P

    Legacy GM Apply force without use box2d and general confusion.

    Hi everyone first of all sorry for my bad english, I am here because I have problems to simulate some physics for a little project 2d I'm working into. Basically I have a rectangle that rapresent my object I want to move with width of 160pixel. Now I want to use someone real proportion so I set...
  5. T

    [Solved] - Physics - Double Jump Scenario Issue

    Hi, I'm new here =) This looks like a great community!! I have a question regarding this: "physics_apply_local_impulse(0, 0, 0, -5 );" The Scenario i have the player object sitting on the ground, when hitting "Space" i run this command to jump using "physics_apply_local_impulse(0, 0, 0, -5...
  6. X

    Legacy GM [Solved] Can camera borders be controlled via code? Can objects not collide but be force affected?

    Sorry for the title getting a bit crammed there. Didn't have enough characters to put a dash in-between "force" and "affected" and add a question mark at the end :P So, I'm working on my game and a problem I'm getting is that "zoom in" and "zoom out" doesn't really work out properly. I've done...
Top