comparison

  1. E

    Legacy GM [Likely Solved] Why are so many collision functions in GameMaker: Studio?

    For example, Multimedia/Clickteam Fusion has only 2 collision detection commands but why they are so many in GameMaker: Studio?
  2. Simon Gust

    Legacy GM Test FunctionA() against FunctionB()

    Might as well make it a thread if that is legal. What I want here is for people to take similar functions or whole methods and compare their speed. Like distance_to_object() vs distance_to_point() vs point_distance(). While the functions are different and might not work for every situation, it...
  3. D

    Legacy GM A comparison of 2 "visually" equal numbers doesn't return true

    Hello all, I'm having this problem for a while now and it's really driving me nuts. First of all this is the relevant code: if jerked { var jerkSpeed = fireSpeed; var jerkHspeed = abs(lengthdir_x(jerkSpeed, jerkAngle)); var jerkVspeed = abs(lengthdir_y(jerkSpeed, jerkAngle)); x...
  4. Simon Gust

    GML Data structure comparison

    I want to test the speeds of data structures in certain jobs. Some are better at certain things so I'm trying to find the fastest. I am building a caching system, where I have to store data to be used later due to: - seperating writing data saves time on some calculations: I have an array...
  5. LucasSchachtMusic

    Legacy GM [SOLVED] Multiple ORs ?

    Hey I'm quite the beginner and need to ask for multiple possible conditions... basically what I am looking for is a proper: if this or this or this or this or this... and so on... my code does not work, and I want to understand why... here is it: if (instance_exists(obj_buttonlight) &&...
  6. G

    GameMaker [SOLVED] enum v. #macro

    hey all, i was wondering what the differences between enums and macros are when it comes to just using them in lieu of ungrouped numbers, if i do something like this: #macro TSTEP 30 #macro HSTEP 8 #macro VSTEP 12 #macro MSTEP 10 versus enum step { tstep = 30, hstep = 8, vstep = 12...
  7. M

    Legacy GM Which is better: 1.99 vs 1.4

    I'm running version 1.99 on one of my comps and was wondering if upgrading to the final version 1.4 is necessary or of any benefit.
  8. T

    Windows [SOLVED] Having trouble getting the "==" equality to work

    Hi guys, Im trying to use the "==" to say if an object travelling across the screen hits or crosses the x position of another object, do something. It does not do anything. Im making a pong-based game and trying to say if the ball passes the opponent's line (player is fixed on the y axis so his...
  9. I

    Hey everyone, planning to purchase one of the packages and I need some questions answered, please.

    Hi Everyone! I am currently using Unity3D and Unreal Engine 4 but I would love to also acquire Game Maker and add it to my collection. I noticed there are different prices for Game Maker (1) or the free version. I noticed there is a new version Game Maker 2 and it is $99 for the PC version...
Top