Show_debug_message accepts both strings and variables, but if you use both strings and variables at the same time, the variables must be converted to a string by using either string or string_format. For example, I often use it to check whether code is running, what order code is running in, and receive updates on the various inner-workings of my projects - such as player or enemy state information. Real-time information is incredibly useful for understanding how your game is working, a critical aspect of debugging. This function creates a custom message which will be printed in the output window at runtime - e.g. One of these tools is the built in GML function show_debug_message. An explanation of show_debug_message, how to use it, and some helpful utility scripts.ĭebugging is one of the most important skills in coding, and GM comes with a variety of tools to help you.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |