coordinates

  1. Morkinas

    Legacy GM Coordinates For Hexagon Tiles

    What is the best way to make a code that would read numbers 13, 14, 22, 24, 33, 34 as "neighbors = true" for number 23? (numbers are coordinates for hexagon tiles) And it would work with any number. 11 12 13 14 15... ...21 22 23 24 25... 31 32 33 34 35... 1,1 1,2 1,3 1,4...
  2. K

    Legacy GM Changing Rooms Logic

    Hello, I have started expanding to more rooms in my game just to play with the logic of moving from room to room. I creating a sort of open world and that I wish for them when returning to a prior room, that the player is where the two rooms are conjoined. But I have never done this in...
  3. S

    [SOLVED] Check if something is moving?

    Hello, just asking if there is any way to tell GameMaker if an object is moving and in what direction. Need it to make the player sprites go where they need to go without the use of 'key' codes. For example, if the player's x is adding, set the player sprite to right. Using the GameMaker...
  4. T

    Legacy GM Trying to make Ogame Coordinates System need help

    I trying to make Ogame Coordinates similar script, need help.. "coordinates_script( galaxynumber, solarnumber, planetnumber);" or is better "coordinates_script(X,YYY,ZZ);" lets says that max number of X is 9, YYY is 999 and Z is 09. i tryed with script arguments, but im noob for that... i...
  5. D

    Interface Buttons with zooming [SOLVED]

    Hello, there! I'm trying to create an interface with buttons, while allowing zooming in the room, but having the buttons stay on the same position on screen. The drawing part is easy, using the GUI function. The collision (for clicking), however, doesn't work, because the object stays in the...
  6. P

    Android Integers being rounded? Need complete accuracy.

    I'm working with coordinates. They return perfectly, but when converted to a string they are rounded to 2 decimal places instead of the 6 that were returned. This is very close to my house but not close enough. the NN.nnnnnn that returned was on my house, in the correct room. NN.nn is up a hill...
  7. A

    collision_line's collision coordinates

    Hello, I'm making a top down shooter and I need to know how to find the coordinates of collision line where it's hitting an enemy or a wall for example. Also I want to make room sides as a collision check end coordinates. Any example of the code would be great, thanks.
  8. Shadowblitz16

    Legacy GM difference between coordinates

    does anybody know the difference between the draw gui event coordinates and the draw event coordinates? is there a way to convert between them? is there a way to make myself a statement that automatically converts between them depending on the view?
Top