Skip to content

Commit

Permalink
v4.0 Released
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxyOfJungle committed Jul 30, 2024
1 parent 32af86b commit 3f1da61
Show file tree
Hide file tree
Showing 134 changed files with 3,489 additions and 2,731 deletions.
64 changes: 33 additions & 31 deletions TurboGML/TurboGML.resource_order
Original file line number Diff line number Diff line change
@@ -1,39 +1,41 @@
{
"FolderOrderSettings": [
"FolderOrderSettings":[
{"name":"Example","order":1,"path":"folders/Example.yy",},
{"name":"Paths","order":1,"path":"folders/Example/Paths.yy",},
{"name":"Code","order":1,"path":"folders/KazanGames/TurboGML/Code.yy",},
{"name":"Objects","order":1,"path":"folders/Example/Objects.yy",},
{"name":"Rooms","order":2,"path":"folders/Example/Rooms.yy",},
{"name":"Others","order":2,"path":"folders/KazanGames/TurboGML/Others.yy",},
],
"ResourceOrderSettings": [
{"name":"TGM_Strings","order":10,"path":"scripts/TGM_Strings/TGM_Strings.yy",},
{"name":"TGM_AudioLoad","order":19,"path":"scripts/TGM_AudioLoad/TGM_AudioLoad.yy",},
"ResourceOrderSettings":[
{"name":"ReleaseNotes","order":2,"path":"notes/ReleaseNotes/ReleaseNotes.yy",},
{"name":"TGM_Layers","order":12,"path":"scripts/TGM_Layers/TGM_Layers.yy",},
{"name":"spr_player","order":7,"path":"sprites/spr_player/spr_player.yy",},
{"name":"TGM_Vector","order":4,"path":"scripts/TGM_Vector/TGM_Vector.yy",},
{"name":"TGM_DimensionConversion","order":6,"path":"scripts/TGM_DimensionConversion/TGM_DimensionConversion.yy",},
{"name":"TGM_Arrays","order":8,"path":"scripts/TGM_Arrays/TGM_Arrays.yy",},
{"name":"TGM_Misc","order":2,"path":"scripts/TGM_Misc/TGM_Misc.yy",},
{"name":"TGM_Drawing","order":14,"path":"scripts/TGM_Drawing/TGM_Drawing.yy",},
{"name":"TGM_Structs","order":9,"path":"scripts/TGM_Structs/TGM_Structs.yy",},
{"name":"TGM_Files","order":17,"path":"scripts/TGM_Files/TGM_Files.yy",},
{"name":"obj_solid","order":12,"path":"objects/obj_solid/obj_solid.yy",},
{"name":"TGM_Paths","order":13,"path":"scripts/TGM_Paths/TGM_Paths.yy",},
{"name":"TGM_Cameras","order":11,"path":"scripts/TGM_Cameras/TGM_Cameras.yy",},
{"name":"obj_enemy","order":4,"path":"objects/obj_enemy/obj_enemy.yy",},
{"name":"objEnemy","order":4,"path":"objects/objEnemy/objEnemy.yy",},
{"name":"objPlayer","order":10,"path":"objects/objPlayer/objPlayer.yy",},
{"name":"objSolid","order":12,"path":"objects/objSolid/objSolid.yy",},
{"name":"TGM_Arrays","order":2,"path":"scripts/TGM_Arrays/TGM_Arrays.yy",},
{"name":"TGM_AudioLoad","order":1,"path":"scripts/TGM_AudioLoad/TGM_AudioLoad.yy",},
{"name":"TGM_Cameras","order":3,"path":"scripts/TGM_Cameras/TGM_Cameras.yy",},
{"name":"TGM_Collisions","order":4,"path":"scripts/TGM_Collisions/TGM_Collisions.yy",},
{"name":"TGM_Data","order":5,"path":"scripts/TGM_Data/TGM_Data.yy",},
{"name":"TGM_Debug","order":6,"path":"scripts/TGM_Debug/TGM_Debug.yy",},
{"name":"TGM_DimensionConversion","order":7,"path":"scripts/TGM_DimensionConversion/TGM_DimensionConversion.yy",},
{"name":"TGM_Drawing","order":8,"path":"scripts/TGM_Drawing/TGM_Drawing.yy",},
{"name":"TGM_DsLists","order":9,"path":"scripts/TGM_DsLists/TGM_DsLists.yy",},
{"name":"TGM_Files","order":10,"path":"scripts/TGM_Files/TGM_Files.yy",},
{"name":"TGM_General","order":11,"path":"scripts/TGM_General/TGM_General.yy",},
{"name":"TGM_Graphics","order":12,"path":"scripts/TGM_Graphics/TGM_Graphics.yy",},
{"name":"TGM_Layers","order":13,"path":"scripts/TGM_Layers/TGM_Layers.yy",},
{"name":"TGM_Matrix","order":14,"path":"scripts/TGM_Matrix/TGM_Matrix.yy",},
{"name":"TGM_Misc","order":15,"path":"scripts/TGM_Misc/TGM_Misc.yy",},
{"name":"TGM_Paths","order":19,"path":"scripts/TGM_Paths/TGM_Paths.yy",},
{"name":"TGM_ProceduralData","order":20,"path":"scripts/TGM_ProceduralData/TGM_ProceduralData.yy",},
{"name":"TGM_Raycasting","order":16,"path":"scripts/TGM_Raycasting/TGM_Raycasting.yy",},
{"name":"TGM_Strings","order":18,"path":"scripts/TGM_Strings/TGM_Strings.yy",},
{"name":"TGM_Structs","order":17,"path":"scripts/TGM_Structs/TGM_Structs.yy",},
{"name":"TGM_Tags","order":21,"path":"scripts/TGM_Tags/TGM_Tags.yy",},
{"name":"Sprite10","order":5,"path":"sprites/Sprite10/Sprite10.yy",},
{"name":"TGM_Debug","order":7,"path":"scripts/TGM_Debug/TGM_Debug.yy",},
{"name":"TGM_Raycasting","order":5,"path":"scripts/TGM_Raycasting/TGM_Raycasting.yy",},
{"name":"TGM_ProceduralData","order":16,"path":"scripts/TGM_ProceduralData/TGM_ProceduralData.yy",},
{"name":"TGM_Collisions","order":3,"path":"scripts/TGM_Collisions/TGM_Collisions.yy",},
{"name":"spr_solid","order":6,"path":"sprites/spr_solid/spr_solid.yy",},
{"name":"Sprite6","order":3,"path":"sprites/Sprite6/Sprite6.yy",},
{"name":"TGM_Data","order":18,"path":"scripts/TGM_Data/TGM_Data.yy",},
{"name":"TGM_Graphics","order":15,"path":"scripts/TGM_Graphics/TGM_Graphics.yy",},
{"name":"Sprite4","order":1,"path":"sprites/Sprite4/Sprite4.yy",},
{"name":"obj_player","order":10,"path":"objects/obj_player/obj_player.yy",},
{"name":"TGM_General","order":1,"path":"scripts/TGM_General/TGM_General.yy",},
{"name":"TGM_Vector","order":22,"path":"scripts/TGM_Vector/TGM_Vector.yy",},
{"name":"sprCoinPattern","order":5,"path":"sprites/sprCoinPattern/sprCoinPattern.yy",},
{"name":"sprMask1","order":1,"path":"sprites/sprMask1/sprMask1.yy",},
{"name":"sprMask2","order":3,"path":"sprites/sprMask2/sprMask2.yy",},
{"name":"sprPlayer","order":7,"path":"sprites/sprPlayer/sprPlayer.yy",},
{"name":"sprSolid","order":6,"path":"sprites/sprSolid/sprSolid.yy",},
],
}
122 changes: 62 additions & 60 deletions TurboGML/TurboGML.yyp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

59 changes: 59 additions & 0 deletions TurboGML/notes/ReleaseNotes/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,63 @@

===================[ v4.0 ]===================

[ADDED] clamp_angle_fov() function. With this function, you can limit the rotation angle based on the target angle.
[ADDED] lerp_dt() function. Works exactly the same as lerp(), but with delta time support.
[ADDED] lerp_angle_dt() function. Works like a lerp_angle() but works with delta time.
[ADDED] approach_angle() function. Move linearly angle A to angle B in the specified amount.
[ADDED] array_find_closest_number() function. Find the number closest to the reference value in an array.
[ADDED] string_get_read_time() function. Calculates the reading time of a string (useful for dialogues).
[ADDED] buffer_slice() function. Make a new buffer, based on parts from an existing buffer.
[ADDED] buffer_debug() function. Read the contents of a buffer and print each value to the console.
[ADDED] mod_wrap() function. Works like "mod" or "%" but works as expected for negative numbers. a % b.
[ADDED] distance_to_rectangle() function. Returns the distance from a point to a rectangle (Manhattan distance).
[ADDED] distance_to_cube() function. Returns the distance from a point to a cube (Manhattan distance).
[ADDED] eerp() function. Interpolates in log scale (multiplicatively linear). Alternative to lerp().
[ADDED] matrix_get_position() function.
[ADDED] matrix_get_scale() function.
[ADDED] matrix_get_x() function.
[ADDED] matrix_get_y() function.
[ADDED] matrix_get_z() function.
[ADDED] matrix_get_xscale() function.
[ADDED] matrix_get_yscale() function.
[ADDED] matrix_get_zscale() function.
[ADDED] string_currency_prettify() function. Formats a number that represents money in the game, in a beautiful way, adding surfixes like K, M, B, T. Also supports negative numbers.
[ADDED] display_get_true_resolutions() function.
[ADDED] ds_list_get_random() function.
[ADDED] ds_list_sum() function.
[ADDED] ds_list_is_empty() function.
[ADDED] ds_list_max() function.
[ADDED] ds_list_min() function.
[ADDED] ds_list_mean() function.
[ADDED] ds_list_median() function.
[ADDED] ds_list_contains_value() function.
[ADDED] ds_list_sort_ext() function.
[ADDED] ds_list_to_array() function.
[ADDED] .Project() method to Vector2 and Vector3.

[FIXED] More organized functions and feather fixes.
[FIXED] bytes_get_size() optimized.
[FIXED] string_word_first_letter_upper_case() optimized.
[FIXED] string_case_reverse() optimized.
[FIXED] ClampedMagnitude() from Vector2 and Vector3 was giving an error.

[CHANGED] SORT_ASCENDING and SORT_DESCENDING optimized.
[CHANGED] world_to_screen_dimension() now receives canvas size, so it is not necessary to calculate it several times, if you are using the function more than once.
[CHANGED] struct_empty() function renamed to struct_is_empty().
[CHANGED] array_empty() function renamed to array_is_empty().
[CHANGED] array_choose() function renamed to array_get_random().
[CHANGED] array_random_index() function renamed to array_get_random_index().
[CHANGED] random_pseudo_numbers() function renamed to array_create_random_sequence().
[CHANGED] random_pseudo_numbers_ext() function renamed to array_create_random_sequence_ext().
[CHANGED] Renamed camera_get_area_2d() to camera_get_rect()
[CHANGED] Improved fps_average function.
[CHANGED] Improved draw_debug_resolutions() function.
[CHANGED] It is now possible to initialize Vector2 and Vector3 as 0, without having to declare the number explicitly.

[REMOVED] wave_normalized(), as this function is a bit inconsistent and not very useful. Use wave_period() instead, or sin() directly.
[REMOVED] texturegroup_debug_draw_sprites(). Use the debug window with show_debug_overlay().


===================[ v3.0 ]===================

[FIXED] ds_debug_print() saying data structure doesn't exists even if it exists.
Expand Down
14 changes: 8 additions & 6 deletions TurboGML/notes/ReleaseNotes/ReleaseNotes.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3f1da61

Please sign in to comment.