GMS 2 Functions perfomance hit

Discussion in 'Programming' started by I'm lost, Aug 14, 2019.

Tags:
  1. I'm lost

    I'm lost Member

    Joined:
    Jul 11, 2018
    Posts:
    19
    Greetings,
    I would like to know if anyone knows the perfomance hit of two functions, because recently I'm using them quite often and I think they might slow down my game i bit more that I would expect

    The functions I'm talking about are:
    lengthdir_x/y()
    device_mouse_x/y_to_gui()

    Are those some unusualy demanding functions?

    Thank you in advance for your reply
     
  2. FrostyCat

    FrostyCat Member

    Joined:
    Jun 26, 2016
    Posts:
    4,317
    The ones you showed are not particularly heavy functions. If you really want to know where performance hits come from, do it the proper way and learn to use the profiler in debug mode.
     
    I'm lost likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice