point_distance

  1. L

    SOLVED Help calculating the distance between the player and the enemy

    This is what i tried to do. if (point_distance(x,y,o_clover.x,o_clover.y) < 100) { sprite_index = s_boss_reach } Admittedly i don't know much about this topic, could be using this completely wrong. Was wondering if anyone could help.
  2. D

    GMS 2 How to move a object to a coordinate

    So, im really new with the engine and I have really little experience with java so i ask sorry beforehand for my english and my newbie skills. Anyway im trying to make a title screen, so I made a sprite with the the tile put it in an object and put it in the first room, I made some lines of code...
  3. A

    360 Degree Movement Formula Help (Math)

    Hi All, I have been working on a game where I need accurate ship movement. The movement is based through an onscreen based joystick and I have it working properly for the most part with a small exception. Problem - The ship wont move from downward right facing to upward right facing (45...
  4. D

    GML I'm getting weird rotation when using point_distance

    I'm setting up an aiming system where the player can aim with the mouse (I have a different sprite for the arm) and to make the arm follow the mouse i'm using image_angle = point_direction but for reason the arm wont follow the mouse correctly. For example when I move the mouse down the arm wont...
  5. A Random Creator

    Legacy GM [SOLVED] Trying to find half of point_distance()

    Hello everyone, I've been working on a project that has a map that works perfect so far, but the way that it works is using point_distance. The problem is that I want it to have a further range, and the way I'm doing it I need to find half of the point_distance which I don't know how to do. Any...
Top