![]() The change also means that the following functions have been deprecated: array_length_1d()Īnd the following new functions have been added: array_length(array) ![]() This change means that all platforms will now work the same (including HTML5) and enables much larger arrays, both in number of items as well as number of dimensions. The above is now a multi-dimension array with 2 dimensions to it, but you are no longer limited to just 2 dimensions and can create arrays of 3 or 4 or more dimensions as required, eg: array = 1 // A three dimensional array So how do we create a 2D array now? Well this is done by chaining arrays together to essentially create arrays within arrays. However, this is no longer the case and now all arrays are 1D. Previously, GML only permitted 1D or 2D arrays, eg: array_1d = "hello" The first change to the GameMaker language that we want to discuss is a change to how arrays work. ![]() In a follow up tech blog we'll cover the changes to the IDE. In this tech blog we'll be going over the changes to GML and we'll give a brief overview of the new language features available. ![]() ![]() Now that the 2.3.0 Beta of GameMaker Studio 2 is available, you will be able to see there have been a number of significant changes and additions to the GameMaker Language, as well as a number of changes and additions made to the IDE. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |