Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2024.8 monthly #167

Merged
merged 251 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
251 commits
Select commit Hold shift + click to select a range
c664e9c
[general] reviewed pages: quick start guide and what is programming
gurpreetsinghmatharoo Dec 18, 2023
c02b6b7
[general] reviewed Creating Sprites
gurpreetsinghmatharoo Dec 18, 2023
5038613
[general] reviewed 'creating tile sets'
gurpreetsinghmatharoo Dec 18, 2023
db88a4f
[General] Reivewed 'Adding Sound Effects'
gurpreetsinghmatharoo Dec 18, 2023
4eb8438
[General] Reviewed 'Objects And Instances'
gurpreetsinghmatharoo Dec 19, 2023
5c0128d
[General] Reviewed 'Rooms'
gurpreetsinghmatharoo Dec 19, 2023
d609882
[General] Reviewed 'Drawing'
gurpreetsinghmatharoo Dec 19, 2023
cbdca5f
[General] Reviewed 'Movement and Controls' and 'Summary'
gurpreetsinghmatharoo Dec 19, 2023
98d690f
docs(general): added missing "Shaders" section under Drawing section …
YYBartT Jul 1, 2024
2ead5e5
docs(general): GLSL ES reference link on Shader Constants page not found
YYBartT Jul 1, 2024
363cb08
docs(feature): particle_get_info() doesn't give a way of getting emit…
YYBartT Jul 1, 2024
edd58de
docs(general): part_type_colour2() and ...3() incorrectly change the …
YYBartT Jul 2, 2024
02d4a3f
docs(general): replaced ampersand character with its HTML equivalent …
YYBartT Jul 2, 2024
809ffc1
docs(general): removed remaining non-breaking space characters with t…
YYBartT Jul 2, 2024
ef6565f
docs(general): Page generation templates improvement: added index and…
gurpreetsinghmatharoo Jul 3, 2024
4180c96
docs(feature): created basic flex panel pages, non-reference
gurpreetsinghmatharoo Jul 3, 2024
2cdfe0c
docs(feature): Document flexpanel_create_node, flexpanel_delete_node,…
gurpreetsinghmatharoo Jul 3, 2024
ffab397
docs(feature): 5 more flex panel functions
gurpreetsinghmatharoo Jul 3, 2024
327dcb5
Merge branch 'develop' into develop.bart
YYBartT Jul 3, 2024
2835586
docs(general): Replace "mac_hotkeys.json" with "PlatformOverride" fie…
YYBartT Jul 3, 2024
ed3da4f
docs(feature): 6 more flexpanel functions
gurpreetsinghmatharoo Jul 3, 2024
bb2aee4
docs(feature): Set up styling section for flex panel function reference
gurpreetsinghmatharoo Jul 3, 2024
6e3f6b5
docs(feature): set up skeleton for styling page
gurpreetsinghmatharoo Jul 3, 2024
571010e
docs(general): Replace "mac_hotkeys.json" with "PlatformOverride" fie…
YYBartT Jul 3, 2024
b871726
docs(feature): Merged flexpanel struct and styling pages, listed stru…
gurpreetsinghmatharoo Jul 4, 2024
2a64b9f
docs(feature): Describe basic properties for node struct
gurpreetsinghmatharoo Jul 4, 2024
cc3cc07
docs(general): Compiler Optimization: Hash Literals
YYBartT Jul 4, 2024
14e4428
docs(feature): Documented some more style members
gurpreetsinghmatharoo Jul 4, 2024
811d64f
docs(feature): documented more properties on struct members
gurpreetsinghmatharoo Jul 4, 2024
30f3889
docs(feature): document flex wrap
gurpreetsinghmatharoo Jul 4, 2024
fe3b8b9
docs(general): F3/Shift+F3 to jump to neighbouring results do not wor…
YYBartT Jul 4, 2024
e002ebb
docs(general): update Shader Constants manual page
YYBartT Jul 4, 2024
e10b338
docs(feature): Redefine Keys: Add Save/Load functionality for saving …
YYBartT Jul 4, 2024
480ccbd
docs(feature): documented all properties
gurpreetsinghmatharoo Jul 5, 2024
538a7fd
docs(feature): Improvements on flex panel styling page
gurpreetsinghmatharoo Jul 5, 2024
759716b
docs(feature): Documented flexpanel_node_get_struct
gurpreetsinghmatharoo Jul 5, 2024
6d623e7
docs(feature): Document some style set functions
gurpreetsinghmatharoo Jul 5, 2024
37dbd3a
docs(feature): more style set pages
gurpreetsinghmatharoo Jul 5, 2024
84ae955
docs(feature): more style set functions
gurpreetsinghmatharoo Jul 5, 2024
cdb2c41
docs(feature): all style set functions done
gurpreetsinghmatharoo Jul 5, 2024
2ec7660
docs(feature): some style get functions
gurpreetsinghmatharoo Jul 5, 2024
e705367
docs(feature): all style get function pages done
gurpreetsinghmatharoo Jul 5, 2024
d40ae23
docs(feature): linked styling functions on section index page
gurpreetsinghmatharoo Jul 5, 2024
48f17fd
docs(feature): Add a new Preference to toggle VSync within the IDE
YYBartT Jul 5, 2024
7689ba8
docs(feature): finish flex panel overview page
gurpreetsinghmatharoo Jul 8, 2024
071fdea
docs(feature): Flex Panel functions added to ToC
gurpreetsinghmatharoo Jul 8, 2024
40e66db
docs(feature): inserted next links on all flexpanel functions
gurpreetsinghmatharoo Jul 8, 2024
1a571ba
docs(feature): examples done for all basic flexpanel functions; styli…
gurpreetsinghmatharoo Jul 8, 2024
a0fee8b
docs(feature): finish examples for flex style set funcs
gurpreetsinghmatharoo Jul 8, 2024
a14a607
docs(feature): finish examples for style get pages
gurpreetsinghmatharoo Jul 8, 2024
b621954
docs(general): nameof() no longer works with enums and macros in 2024.6
YYBartT Jul 8, 2024
6145084
docs(feature): added function links on struct members page
gurpreetsinghmatharoo Jul 9, 2024
6ebcf4b
docs(general): fixed "Next" link on dbg_view page
YYBartT Jul 9, 2024
f7c6e48
docs(feature): Add the server socket ID into the Async - Networking e…
YYBartT Jul 9, 2024
904f570
docs(general): Middle clicking "with" will take you to the front page…
YYBartT Jul 9, 2024
fd56820
docs(feature): documented the gpu scissor functions, reverted Templat…
gurpreetsinghmatharoo Jul 10, 2024
3ede809
docs(feature): updated debug overlay page for flexpanel window
gurpreetsinghmatharoo Jul 10, 2024
dd2d8b3
docs(feature): Review and fixes for flex functions
gurpreetsinghmatharoo Jul 10, 2024
35f5f98
docs(feature): fix index rules described on flexpanel_node_insert_child
gurpreetsinghmatharoo Jul 10, 2024
e306181
docs(feature): preferences are included with bug reports
gurpreetsinghmatharoo Jul 10, 2024
3307419
docs(general): Add sprite option to dbg_button (Imgui ImageButton())
YYBartT Jul 10, 2024
caa7e82
docs(feature): flexpanels bart review
gurpreetsinghmatharoo Jul 11, 2024
5541000
docs(feature): remove 'detach workspace' option
gurpreetsinghmatharoo Jul 11, 2024
5607b7f
docs(general): better wording for get_track_position
gurpreetsinghmatharoo Jul 11, 2024
7b71dca
docs(general): asset element names usage
gurpreetsinghmatharoo Jul 11, 2024
39b3889
docs(feature): update bug reporter for project inclusion drop down
gurpreetsinghmatharoo Jul 11, 2024
c4945c1
docs(general): Clarification on what the Tile Set Confirm Dialogs pre…
gurpreetsinghmatharoo Jul 11, 2024
41a46f3
docs(general): Licencing links updated
gurpreetsinghmatharoo Jul 11, 2024
c6a44cd
docs(general): shaders_are_supported() update to mention what can ret…
gurpreetsinghmatharoo Jul 11, 2024
4b24595
docs(general): macOS and Ubuntu manual pages refer to nonexistent Bor…
gurpreetsinghmatharoo Jul 11, 2024
05390b9
docs(general): Page for draw_light_get function has slight inaccuracy…
YYBartT Jul 11, 2024
25cf0b7
Merge pull request #144 from YoYoGames/develop.gurpreet
gurpreetsinghmatharoo Jul 12, 2024
6888921
docs(general): Clarification on default folder for buffer async save
gurpreetsinghmatharoo Jul 12, 2024
e7be277
docs(general): updated hyperlink to cross-reference
YYBartT Jul 12, 2024
bb2e6a7
docs(general): Lists of variables inside various sequence related str…
YYBartT Jul 12, 2024
2fe836b
docs(general): added "read-only" tag for struct members
YYBartT Jul 12, 2024
a417430
docs(general): Lists of variables inside various sequence related str…
YYBartT Jul 12, 2024
c3b22ef
docs(feature): Add align option to dbg_text_separator()
YYBartT Jul 12, 2024
282b18d
docs(general): fixed binary typo in bit shift example
YYBartT Jul 12, 2024
a294429
Merge pull request #145 from YoYoGames/develop.bart
gurpreetsinghmatharoo Jul 16, 2024
7978bb2
docs(general): syntax error in sample code on Evaluation Order page
gurpreetsinghmatharoo Jul 16, 2024
a91096c
docs(general): Document all available injection strings available for…
gurpreetsinghmatharoo Jul 16, 2024
659fc51
docs(general): Audio buffers main page claims that Game Maker support…
gurpreetsinghmatharoo Jul 16, 2024
54f0353
docs(general): Page for audio_create_play_queue is incorrect about Au…
gurpreetsinghmatharoo Jul 16, 2024
9e8524d
docs(general): Android: Extension compiler crash on valid tag injecti…
YYBartT Jul 16, 2024
bab1134
docs(general): add YYBundleIdentifier to ext injection strings
gurpreetsinghmatharoo Jul 17, 2024
5a786c8
docs(general): Empty NOTE section in Expressions And Operators page
gurpreetsinghmatharoo Jul 17, 2024
7d0d26a
docs(general): Incorrect function array_length_id used in debug_get_c…
gurpreetsinghmatharoo Jul 17, 2024
4b726d7
docs(feature): all audio functions taking sounds will now crash inste…
gurpreetsinghmatharoo Jul 17, 2024
02ac051
docs(general): GC pages text improvements
gurpreetsinghmatharoo Jul 18, 2024
81951c6
Merge branch 'develop' into develop.gurpreet.flexpanels
gurpreetsinghmatharoo Jul 18, 2024
bf1f7cf
Merge pull request #146 from YoYoGames/develop.gurpreet.flexpanels
gurpreetsinghmatharoo Jul 18, 2024
38c53de
docs(general): Android: Extension compiler crash on valid tag injecti…
YYBartT Jul 18, 2024
684001f
docs(general): Update the Gamepad Input example on the Movement and C…
gurpreetsinghmatharoo Jul 18, 2024
e5bdd43
Merge branch 'develop' into develop.gurpreet
gurpreetsinghmatharoo Jul 18, 2024
9f0d4b3
docs(feature): With statement passes for obj checks that haven't had …
gurpreetsinghmatharoo Jul 18, 2024
b356321
docs(general): sequence_track_new crashes when seqtracktype_moment is…
YYBartT Jul 19, 2024
391c805
docs(general): Erroneous text in diagram in Collision Mask section of…
gurpreetsinghmatharoo Jul 19, 2024
f9dc5f3
docs(general): various general manual fixes
gurpreetsinghmatharoo Jul 19, 2024
1b6c809
docs(general): Lists of variables inside various sequence related str…
YYBartT Jul 19, 2024
12d8ea6
Merge pull request #149 from YoYoGames/develop.gurpreet
gurpreetsinghmatharoo Jul 19, 2024
f8ffd88
Merge branch 'develop' into develop.bart
gurpreetsinghmatharoo Jul 30, 2024
049330e
docs(general): Wrong function used in example code for gpu_set_texrep…
gurpreetsinghmatharoo Jul 31, 2024
158ab44
docs(general): Manual Content: DS Grids page should not describe grid…
gurpreetsinghmatharoo Jul 31, 2024
70eb3aa
docs(general): Manual Content: Pages for gamepads should not use exam…
gurpreetsinghmatharoo Jul 31, 2024
9799822
docs(general): Manual: call_later page doesn't mention that the retur…
gurpreetsinghmatharoo Jul 31, 2024
bc83705
docs(feature): Sound instance indices will not throw in 2024.8, but w…
gurpreetsinghmatharoo Jul 31, 2024
45d6d65
docs(feature): gmrt and package manager, only a little work
gurpreetsinghmatharoo Jul 31, 2024
c277285
Merge pull request #151 from YoYoGames/develop.gurpreet
gurpreetsinghmatharoo Aug 1, 2024
371d345
Merge pull request #150 from YoYoGames/develop.bart
gurpreetsinghmatharoo Aug 1, 2024
6093d7a
docs(general): Clarify layer RMB properties regarding room inheritance
gurpreetsinghmatharoo Aug 1, 2024
057ed6b
docs(feature): More open beta GMRT changes
gurpreetsinghmatharoo Aug 2, 2024
a9e75f6
docs(feature): finished initial documentation on GMRT open beta
gurpreetsinghmatharoo Aug 5, 2024
ff6a517
docs(general): removed superfluous style on Project Tool page's first…
YYBartT Aug 5, 2024
6a4ad4e
Merge pull request #152 from YoYoGames/develop.gurpreet.gmrt
gurpreetsinghmatharoo Aug 5, 2024
8539600
docs(general): Marketplace update - no paid assets
gurpreetsinghmatharoo Aug 2, 2024
d1c9732
Merge branch 'develop' into develop.gurpreet
gurpreetsinghmatharoo Aug 5, 2024
3555634
Merge branch 'develop.gurpreet.marketplace-paid' into develop.gurpreet
gurpreetsinghmatharoo Aug 5, 2024
a8a11a3
docs(general): Various dev/debug async dialog pages state it shouldn'…
YYBartT Aug 5, 2024
177f146
docs(general): CSS append fix for mobile issues:
gurpreetsinghmatharoo Aug 6, 2024
9e20525
Merge pull request #153 from YoYoGames/develop.gurpreet
gurpreetsinghmatharoo Aug 6, 2024
81b72b9
docs(general): Various dev/debug async dialog pages state it shouldn'…
YYBartT Aug 6, 2024
acc4850
docs(general): Update hotkey serialization to disallow trailing comma…
YYBartT Aug 6, 2024
63e9bdb
docs(general): Link scm preferences on scm page
gurpreetsinghmatharoo Aug 7, 2024
906b142
docs(feature): flexpanel documentation does not explain whether nodes…
gurpreetsinghmatharoo Aug 7, 2024
ae0a7d9
docs(general): Document that disabling application surface or depth b…
gurpreetsinghmatharoo Aug 7, 2024
2d183be
docs(general): Manual Content: "visible" page should state that the v…
gurpreetsinghmatharoo Aug 7, 2024
99cc53d
docs(general): variable_clone() doc omits that cloned methods are bou…
gurpreetsinghmatharoo Aug 7, 2024
2781e82
docs(general): Add hint onto Windows's Game Options - Images page tha…
gurpreetsinghmatharoo Aug 7, 2024
3873cf4
docs(feature): Reorder flexpanel_node_style_set_flex_basis and flexpa…
gurpreetsinghmatharoo Aug 7, 2024
93f6d98
docs(feature): Add new function http_set_connect_timeout() to enable …
YYBartT Aug 7, 2024
f05cab8
docs(general): Room Editor: Brush Tool's "Alt" key functionality no l…
YYBartT Aug 7, 2024
0bcc29d
docs(general): keyboard_virtual_height() when no virtual keyboard is …
YYBartT Aug 7, 2024
8584910
docs(feature): In-Game: dbg_drop_down() should add support for scroll…
YYBartT Aug 7, 2024
a9855d9
docs(feature): In-Game: dbg_drop_down() should add support for scroll…
YYBartT Aug 7, 2024
cb75160
Merge pull request #155 from YoYoGames/develop.bart
gurpreetsinghmatharoo Aug 8, 2024
c603926
Merge branch 'develop' into gurpreet.scm
gurpreetsinghmatharoo Aug 8, 2024
ed0be81
Merge pull request #156 from YoYoGames/gurpreet.scm
gurpreetsinghmatharoo Aug 8, 2024
a08ed34
docs(feature): Help Menu: Change "Create Your Contact Us Package" to …
YYBartT Aug 8, 2024
c990d27
docs(general): help menu - upload package - fix
gurpreetsinghmatharoo Aug 9, 2024
aec7c0b
docs(feature): In-Game: weak_ref_create() should be able to take in a…
YYBartT Aug 9, 2024
91ef8ff
docs(general): layer_sprite_speed()'s description has a minor error
YYBartT Aug 12, 2024
0984a1c
docs(general): layer_sprite_speed()'s description has a minor error
YYBartT Aug 12, 2024
47b5fda
docs(general): layer_sprite_speed()'s description has a minor error
YYBartT Aug 12, 2024
1f5cf00
docs(general): layer_sprite_speed()'s description has a minor error
YYBartT Aug 12, 2024
afa5ae4
docs(feature): Preferences page is missing an entry for the Particle …
YYBartT Aug 12, 2024
b6e039b
docs(feature): add note to weak_ref_create
gurpreetsinghmatharoo Aug 13, 2024
e04b5d6
Merge pull request #158 from YoYoGames/develop.bart
gurpreetsinghmatharoo Aug 13, 2024
ab2a536
Merge branch 'develop' into develop.gurpreet
gurpreetsinghmatharoo Aug 13, 2024
3c3b88b
docs(general): Make it clear that you can do anything in the optional…
gurpreetsinghmatharoo Aug 13, 2024
e04f021
docs(general): update all external URLs to the gamemaker.io domain
YYBartT Aug 13, 2024
409f845
docs(general): update all external URLs to the gamemaker.io domain
YYBartT Aug 13, 2024
ee2e670
docs(general): Fix object_exists example
gurpreetsinghmatharoo Aug 14, 2024
8ee81cf
Merge branch 'develop' into develop.bart
gurpreetsinghmatharoo Aug 16, 2024
9f71d44
Merge pull request #159 from YoYoGames/develop.bart
gurpreetsinghmatharoo Aug 16, 2024
a79e18e
docs(feature): Package Manager: Move the default install path out of …
gurpreetsinghmatharoo Aug 16, 2024
ec5388f
feat(highlighting): Add `new` and `static` keywords
thennothinghappened Aug 17, 2024
5418985
feat(highlighting): fix `#macro`, `#region`/`#endregion` highlighting
thennothinghappened Aug 17, 2024
32b4896
feat(highlighting): Add multi-line string support
thennothinghappened Aug 17, 2024
2ae23b4
feat(highlighting): variable declarations & assignments, multi-line s…
thennothinghappened Aug 17, 2024
6bbb6f3
fix(highlighting): missing `struct_*` functions
thennothinghappened Aug 17, 2024
48bdc08
fix(highlighting): move `struct_*` to alphabetical order
thennothinghappened Aug 17, 2024
b28fe23
feat(highlighting): function declaration and calls
thennothinghappened Aug 17, 2024
d55aeb0
fix(highlighting): add missing `throw` keyword
thennothinghappened Aug 17, 2024
bda3a4a
feat(highlighting): sneaky guess for user-made asset constants
thennothinghappened Aug 17, 2024
494a71a
fix(highlighting): don't highlight switch `case <...>:` as struct lit…
thennothinghappened Aug 17, 2024
4741758
feat(highlighting): add `try`, `catch`, `finally` keywords
thennothinghappened Aug 17, 2024
5bc14d3
fix(highlighting): don't steal LHS identifier in prop access
thennothinghappened Aug 17, 2024
e1047cd
fix(highlighting): stop `<br />` being matched as an identifier
thennothinghappened Aug 18, 2024
16ddc69
fix(highlighting): allow arbitrary whitespace after `#` directives
thennothinghappened Aug 18, 2024
f89eef0
feat(highlighting): highlight enums and their entries
thennothinghappened Aug 18, 2024
e528bfa
docs(highlighting): documentation for added modes
thennothinghappened Aug 18, 2024
b38ac42
feat(highlighting): pass non-`<br>` code to parser
thennothinghappened Aug 18, 2024
5ea54ca
fix(highlighting): remove single-quote non-multiline strings
thennothinghappened Aug 18, 2024
cda52c5
refactor(highlighting): `EXPRESSION` mode
thennothinghappened Aug 18, 2024
ba236a3
fix(highlighting): single-line comments were stealing next lines
thennothinghappened Aug 18, 2024
c37dd67
feat(highlighting): support for various number literals
thennothinghappened Aug 18, 2024
6968379
fix(highlighting): erroneous highlighting numbers inside identifiers
thennothinghappened Aug 18, 2024
0184681
fix(highlighting): don't skip lone `<br>` newlines
thennothinghappened Aug 18, 2024
7be9b68
fix(highlighting): `#` and `$` literals next to whitespace
thennothinghappened Aug 18, 2024
dd8e5dd
feat(highlighting): colour method calls
thennothinghappened Aug 18, 2024
4ccd996
feat(highlighting): remove now unneeded function list!
thennothinghappened Aug 20, 2024
2467e3d
fix(highlighting): remove unused CSS rule from prev. change
thennothinghappened Aug 20, 2024
7ca16b3
docs(general): window_has_focus text fix
gurpreetsinghmatharoo Aug 20, 2024
0057bcf
docs(feature): ​YYAndroidBuildTypesRelease injection tag
gurpreetsinghmatharoo Aug 20, 2024
ebfeb8c
feat(highlighting): remove var decl. & prop look-behinds
thennothinghappened Aug 20, 2024
267d1c8
docs(feature): Live Wallpapers: Block url_open(), url_open_ext() and …
gurpreetsinghmatharoo Aug 20, 2024
301c8ed
docs(general): method_get_self() page mentions returning "pointer_nul…
gurpreetsinghmatharoo Aug 20, 2024
72a85a4
Merge pull request #160 from thennothinghappened/syntax-highlighting-…
gurpreetsinghmatharoo Aug 20, 2024
40f52a7
Merge branch 'develop' into develop.gurpreet
gurpreetsinghmatharoo Aug 20, 2024
8a2c197
docs(general): updated page generator to not insert new functions int…
gurpreetsinghmatharoo Aug 20, 2024
d1aa28b
docs(feature): Flexpanel typos fix
gurpreetsinghmatharoo Aug 21, 2024
aa464b6
docs(general): Pages for phy_position_xprevious/yprevious incorrectly…
gurpreetsinghmatharoo Aug 21, 2024
0bde91e
docs(general): delta_time()'s page text incorrectly uses the word "so…
gurpreetsinghmatharoo Aug 21, 2024
2971750
docs(feature): Manual Content: GX.games preferences doesn't mention G…
gurpreetsinghmatharoo Aug 21, 2024
753c974
docs(general): layer_element_move code typo fix
gurpreetsinghmatharoo Aug 21, 2024
c88adad
docs(general): Do/Until page's final block of code has a couple of sm…
gurpreetsinghmatharoo Aug 21, 2024
6bae40f
docs(general): os_is_paused() documents incorrect effects on audio pl…
gurpreetsinghmatharoo Aug 21, 2024
5395b31
docs(general): Typo in access key build command on Building via Comma…
gurpreetsinghmatharoo Aug 21, 2024
9f3b0bd
docs(feature): The example on the flexpanel_node_style_set_position_t…
gurpreetsinghmatharoo Aug 21, 2024
5d03445
docs(general): window_center() does not work correctly after exiting …
gurpreetsinghmatharoo Aug 21, 2024
78d9e9e
docs(general): The Timeline Editor page shows non-existent right-clic…
gurpreetsinghmatharoo Aug 21, 2024
8db2642
docs(general): Example for how the "self" keyword differs from "id" i…
gurpreetsinghmatharoo Aug 21, 2024
bf7469b
docs(general): Example for how the "self" keyword differs from "id" i…
gurpreetsinghmatharoo Aug 21, 2024
02bd99b
docs(general): No mention of lack of support for Dynamic Textures or …
gurpreetsinghmatharoo Aug 21, 2024
9386933
docs(general): Macros page could use a couple of clarifications to he…
gurpreetsinghmatharoo Aug 21, 2024
f6fb8c0
Merge pull request #162 from YoYoGames/develop.gurpreet
gurpreetsinghmatharoo Aug 22, 2024
4d3b0ff
docs(general): Added page on Objects vs Instances
gurpreetsinghmatharoo Aug 22, 2024
5720865
docs(general): Improvements to Objects vs. Instances page
gurpreetsinghmatharoo Aug 22, 2024
c48b6f8
docs(general): Added the instance collision functions under the Colli…
gurpreetsinghmatharoo Aug 22, 2024
3db1f3a
docs(general): Removed Struct Forbidden Variables page
gurpreetsinghmatharoo Aug 22, 2024
b857fc0
docs(general): Removed Struct Forbidden Variables page
gurpreetsinghmatharoo Aug 22, 2024
8ee53cd
Merge branch 'develop' into develop.gurpreet
gurpreetsinghmatharoo Aug 22, 2024
870d309
docs(general): Show Virtual Keyboard's GML Visual Action's Example Is…
gurpreetsinghmatharoo Aug 22, 2024
7f4ee49
docs(general): string_format will round decimal numbers
gurpreetsinghmatharoo Aug 22, 2024
beed98c
docs(general): Objects vs Instances page fixes
gurpreetsinghmatharoo Aug 22, 2024
9e06095
Merge pull request #163 from YoYoGames/develop.gurpreet.GMB-7155-obje…
gurpreetsinghmatharoo Aug 22, 2024
077033e
Merge branch 'develop' into develop.gurpreet
gurpreetsinghmatharoo Aug 22, 2024
958ff37
docs(general): game_project_name fix
gurpreetsinghmatharoo Aug 22, 2024
e786014
docs(general): Update the screenshot on the Android Preferences page …
gurpreetsinghmatharoo Aug 22, 2024
0034b2f
docs(general): event_inherited() docs improved
gurpreetsinghmatharoo Aug 22, 2024
aed1775
docs(general): Configurations: Screenshots need to be updated
gurpreetsinghmatharoo Aug 22, 2024
943648b
docs(general): Document that you can use global in struct functions
gurpreetsinghmatharoo Aug 22, 2024
e21bf76
docs(general): Document that you can drag and drop directly from the …
gurpreetsinghmatharoo Aug 22, 2024
0d36fa9
docs(general): Document that some webhosts may have behaviour which m…
gurpreetsinghmatharoo Aug 22, 2024
3d19a18
docs(general): Depth article needs expanding to clarify things at the…
gurpreetsinghmatharoo Aug 22, 2024
4f6f3a6
docs(general): Fixed dnd tables
gurpreetsinghmatharoo Aug 22, 2024
419b7f5
docs(general): file_find_next and similar need a line that they won't…
gurpreetsinghmatharoo Aug 22, 2024
1c4049e
docs(general): directory_exists() and similar need a line that they w…
gurpreetsinghmatharoo Aug 22, 2024
56fc631
docs(general): Add a note to all functions with removeback/smoothback…
gurpreetsinghmatharoo Aug 22, 2024
e89ce30
Merge pull request #164 from YoYoGames/develop.gurpreet
gurpreetsinghmatharoo Aug 22, 2024
5332c1e
docs(general): Improve documentation for mipmapping and border size o…
gurpreetsinghmatharoo Aug 23, 2024
b4ab12f
docs(feature): Flexpanels - Fix syntax section for flex_basis and pos…
gurpreetsinghmatharoo Aug 23, 2024
3bf47b6
docs(general): Improved documentation for creating physics fixtures
gurpreetsinghmatharoo Aug 23, 2024
44c94c0
docs(general): Document where buffers are saved
gurpreetsinghmatharoo Aug 23, 2024
ce463ed
docs(feature): keyboard virtual functions - mention platforms on func…
gurpreetsinghmatharoo Aug 23, 2024
9f0c3ef
docs(general): Building via command line page updates for more focus …
gurpreetsinghmatharoo Aug 23, 2024
fc49719
Merge pull request #165 from YoYoGames/develop.gurpreet
gurpreetsinghmatharoo Aug 26, 2024
6c2672b
docs(general): Document that draw_sprite_general gradients will not s…
gurpreetsinghmatharoo Aug 26, 2024
377ea3a
docs(general): add collision search tag to Collisions page
gurpreetsinghmatharoo Aug 26, 2024
8066222
docs(feature): GMRT/GMPM docs improvements
gurpreetsinghmatharoo Aug 27, 2024
9872171
docs(feature): Use snippets for grid and zoom controls in various edi…
gurpreetsinghmatharoo Aug 27, 2024
9821702
docs(general): Add info on what happens on destroy of a particle syst…
gurpreetsinghmatharoo Aug 27, 2024
2808be9
docs(general): Document the data types that are and aren't supported …
gurpreetsinghmatharoo Aug 27, 2024
305e005
docs(general): remove shader_ from highlight
gurpreetsinghmatharoo Aug 28, 2024
3f2a48d
docs(feature): Remove shaders from ToC under Drawing
gurpreetsinghmatharoo Aug 28, 2024
4aa245d
docs(general): Improved texture pages
gurpreetsinghmatharoo Aug 28, 2024
ac4fab6
Merge pull request #166 from YoYoGames/develop.gurpreet
gurpreetsinghmatharoo Aug 28, 2024
d7a4dd9
docs(general): Objects vs Instances fix
gurpreetsinghmatharoo Aug 28, 2024
1e36e5a
Merge pull request #168 from YoYoGames/develop.gurpreet
gurpreetsinghmatharoo Aug 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
78 changes: 29 additions & 49 deletions Manual/GenerateKeyboardShortcutTableFromJson.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
### Python script to generate copy-pasteable HTML tables from JSON files
### Python script to generate copy-pasteable HTML tables from JSON file
###
### Provide the full directory path to the .json files as the command line argument.
### Provide the full directory path to the .json file as the command line argument.
### The output HTML file will also be placed there.
### For example: CMD > python GenerateKeyboardShortcutTableFromJson.py "C:/Users/Dev/Documents/GitHub/ameMaker-Manual/Manual/" -name_as_desc -env beta -update_rh_vars
### For example: CMD > python GenerateKeyboardShortcutTableFromJson.py "C:/Users/Dev/Documents/GitHub/GameMaker-Manual/Manual/" -name_as_desc -env beta
###
### You can provide a few optional arguments:
###
### -name_as_desc: Add this to write the hotkey's name as the description.
### -env: Provide this, followed by the environment in which you want to look for the JSON files
### -env: Provide this, followed by the environment in which you want to look for the JSON file
### (one of: "dev", "lts", "beta", "prod")
### Note: only works on Windows!
### -update_rh_vars: Add this to update the RoboHelp variables
### A RH variable is written (or updated if exists) for every Win/Mac shortcut
### For example: Hotkey_Create_Asset_Win, Hotkey_Create_Asset_Mac
###
### Important: Technically, the JSON cannot contain trailing commas, this isn't supported
### using the built-in json module. Though it is supported through the yy_load function.
###

import sys
Expand All @@ -30,18 +27,8 @@
# Unique modifier keys
mods = set()

def yy_load(file):
""" Load json from a file that possibly contains trailing commas """
# Do some tricky regex substitution
# so we can use the json module
data_string = ''.join(file.readlines())
data_string = re.sub("(,)(\s*[]}])","\g<2>", data_string)

# Now we can import using the json module
return json.loads(data_string)

# Utility functions
def get_combo_string(combo):
def get_combo_string(combo, replace_in_names=[]):
global mods
if not combo:
combo_string = ""
Expand All @@ -55,11 +42,14 @@ def get_combo_string(combo):
else:
# This is a regular hotkey
combo_string = " + ".join([*modifier, combo['Keys']])

if replace_in_names:
for item in replace_in_names:
combo_string = combo_string.replace(item[0], item[1])
return combo_string

# Default names
fname_win_hotkeys = "default_hotkeys.json"
fname_mac_hotkeys = "mac_hotkeys.json"
fname_hotkeys = "default_hotkeys.json"

install_dirs = {
"dev": "GameMaker-Dev",
Expand Down Expand Up @@ -98,22 +88,20 @@ def get_combo_string(combo):
exit()

# Check if files exist
fpath_win = in_dir + os.sep + fname_win_hotkeys
fpath_mac = in_dir + os.sep + fname_mac_hotkeys
if not os.path.isfile(fpath_win) or not os.path.isfile(fpath_mac):
print("ERROR - One or more files doesn't exist. Exiting...")
fpath_win = in_dir + os.sep + fname_hotkeys
if not os.path.isfile(fpath_win):
print("ERROR - Shortcuts file doesn't exist. Exiting...")
exit()

# Data structures
input = [] # input from file
shortcuts = dict() # maps shortcut name => shortcut data
shortcuts_per_location = OrderedDict() # stores shortcuts under locations

# First read the Windows defaults file
# Read the defaults file
with open(fpath_win, 'r', encoding="utf-8") as f:
# Load all the data
# input = json.load(f) # risk of errors if trailing commas are present
input = yy_load(f) # regex-replace variety that fixes things
input = json.load(f) # risk of errors if trailing commas are present

# Add items under their respective locations (i.e. "group" per location)
for shortcut in input:
Expand All @@ -139,6 +127,20 @@ def get_combo_string(combo):
# "Localisation": combo['Localisation']
}

# Store platform overrides, if there are any
if 'PlatformOverrides' in shortcut and shortcut['PlatformOverrides']:
for override in shortcut['PlatformOverrides']:
if override['Platform'] != 'MacOs':
continue

# Get this shortcut's Mac combo(s)
cbo = override['Combo']
combos = [cbo] if type(cbo) is not list else cbo
combo_strings = [get_combo_string(combo, replace_in_names=[("Windows", "Command")]) for combo in combos]

# Assign to final output
shortcuts[name]['mac_combo'] = combo_strings

# Store name of shortcut under all its locations
loc = shortcut['Location']
locations = [loc] if (type(loc) == str) else loc
Expand All @@ -151,28 +153,6 @@ def get_combo_string(combo):
# Add the shortcut
shortcuts_per_location[location][name] = name

# Then add the combos in the macOS defaults file
with open(fpath_mac, 'r') as f:
# Load all the data
input = yy_load(f)

# Add items under their respective locations
for shortcut in input:
# Get unique name
name = shortcut['Name']

# Nothing to do for unlisted shortcuts
if name not in shortcuts:
continue

# Get this shortcut's combo(s)
cbo = shortcut['Combo']
combos = [cbo] if type(cbo) is not list else cbo
combo_strings = [get_combo_string(combo) for combo in combos]

# Just overwrite the macOS combo under the right name here
shortcuts[name]['mac_combo'] = combo_strings

# Generate HTML
html = ""
for location in shortcuts_per_location:
Expand Down
1 change: 0 additions & 1 deletion Manual/_page_generation/Template_Code_Page.htm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
<body>
<h1><span data-field="title" data-format="default">INSERT_TITLE</span></h1>
<p>Keyword Description Goes Here.</p>
<p>Additional Information Goes Here.</p>
<p> </p>
<h4>Syntax:</h4>
<p class="code"><span data-field="title" data-format="default"></span>(arguments);</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ <h1><span data-field="title" data-format="default">Additional Information</span>
<p>This section of the manual contain a collection of miscellaneous articles related to programming and the way the GameMaker Language works. The following articles are designed as companion articles to further expand your understanding of how <span data-keyref="GameMaker Name">GameMaker</span> works and how to get the most from the different language features available:</p>
<ul class="colour">
<li><a href="Best_Practices_When_Programming.htm">Best Practices When Programming</a></li>
<li><a data-xref="{title}" href="Objects_vs_Instances.htm">Objects vs. Instances</a></li>
<li><a href="Bitwise_Operators.htm">Bitwise Operators</a></li>
<li><a href="Type_Tables.htm">Type Tables</a></li>
<li><a data-xref="{title}" href="Whitespace_Characters.htm">White-space Characters</a></li>
Expand All @@ -32,6 +33,7 @@ <h1><span data-field="title" data-format="default">Additional Information</span>
<li><a href="Compatibility_Functions.htm">Compatibility Functions</a></li>
<li><a href="Compatibility_Scripts.htm">Compatibility Scripts</a></li>
<li><a href="Obsolete_Functions.htm">Obsolete Functions</a></li>
<li><a data-xref="{title}" href="../Introduction/The_Marketplace.htm">The Marketplace</a></li>
</ul>
<p> </p>
<p> </p>
Expand All @@ -42,7 +44,7 @@ <h1><span data-field="title" data-format="default">Additional Information</span>
<div style="float:right">Next: <a data-xref="{text}" href="../GameMaker_Language.htm#h">GameMaker Language</a></div>
</div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2023 All Rights Reserved</span></h5>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2024 All Rights Reserved</span></h5>
</div>
<!-- KEYWORDS
Additional Information
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1>Best Practices When Programming</h1>
<p><a class="dropspot" data-rhwidget="DropSpot" data-target="drop-down" href="#">Programming Style</a></p>
<div class="droptext" data-targetname="drop-down">
<p class="dropspot">When it comes to writing code everyone has a <em>style</em>. The style you program in is the way you place your brackets, how you indent the lines, and how you declare and name variables, etc., and is essential to making your code clear and readable to other people (and to your future self, when you have to come back to this project after a time on something else).</p>
<p class="dropspot">There are many, many <a href="http://en.wikipedia.org/wiki/Programming_style">programming styles</a>, and some would argue that theirs is the best one to use, but the truth is that almost any style is fine as long as you are <strong>consistent </strong>when using it and it is <em>clear </em>and <em>obvious </em>what everything is and does.</p>
<p class="dropspot">There are many, many <a href="https://en.wikipedia.org/wiki/Programming_style">programming styles</a>, and some would argue that theirs is the best one to use, but the truth is that almost any style is fine as long as you are <strong>consistent </strong>when using it and it is <em>clear </em>and <em>obvious </em>what everything is and does.</p>
<p class="dropspot"><img alt="Code Style Example" class="center" src="../assets/Images/Scripting_Reference/Additional_Information/BestPractice_Style_Example.png" />The above image is an example of a function declaration in a script to illustrate the above points. You can see that it uses the JSDoc style comments to clearly explain what it all does, and the coding style is consistent, with 4 space indents, underscores used for local vars, logged output, etc...</p>
<p class="dropspot">Also note that while the script editor permits you to fold code at each of the open/close brackets, you can use <span class="inline">#region</span> and <span class="inline">#endregion</span> tags to section off parts of your code and greatly enhance readability, especially when dealing with larger scripts which contain multiple functions. Regions can be commented, too - see the Editing section of this page in the manual):</p>
<p class="dropspot"><img alt="Example Of Using Regions" class="center" src="../assets/Images/Scripting_Reference/Additional_Information/BestPractice_Regions.png" />When writing code, you should be aware that when compiling your final game, <span data-keyref="GameMaker Name">GameMaker</span> strips out comments, removes unnecessary line breaks and whitespace, substitutes in constant/macro/enum values, and generally compresses your code down as part of the process. This means that you can add as much whitespace around your code as required and you don&#39;t need to worry about keeping your comments short or only using them sparingly.</p>
Expand Down Expand Up @@ -122,7 +122,7 @@ <h1>Best Practices When Programming</h1>
<p> </p>
<p>Apart from the main things mentioned above, there are other more general things that can help with performance and that are considered &quot;good practices&quot; too:</p>
<ul class="colour">
<li>don&#39;t be afraid to use the trigonometric functions as (contrary to popular belief) they are pretty fast, especially when compared to particles, collisions, strings, etc...</li>
<li>don&#39;t be afraid to use the trigonometric functions as (contrary to popular belief) they are pretty fast, especially when compared to particles, collisions, strings, etc.</li>
<li>don&#39;t put code that is not for drawing things in the Draw events</li>
<li>use an alarm to call any code that doesn&#39;t have to be called every step (rather than just adding this into the Step event anyway)</li>
</ul>
Expand All @@ -134,10 +134,10 @@ <h1>Best Practices When Programming</h1>
<div class="buttons">
<div class="clear">
<div style="float:left">Back: <a href="Additional_Information.htm">Additional Information</a></div>
<div style="float:right">Next: <a href="Bitwise_Operators.htm">Bitwise Operators</a></div>
<div style="float:right">Next: <a data-xref="{title}" href="Objects_vs_Instances.htm">Objects vs. Instances</a></div>
</div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2023 All Rights Reserved</span></h5>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2024 All Rights Reserved</span></h5>
</div>
<!-- KEYWORDS
Nest Practices
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Compiler Errors</title>
<meta name="generator" content="Adobe RoboHelp 2020" />
<meta name="generator" content="Adobe RoboHelp 2022" />
<link rel="stylesheet" href="../../assets/css/default.css" type="text/css" />
<script src="../../assets/scripts/main_script.js" type="module"></script>
<meta name="rh-authors" content="Mark Alexander" />
Expand Down Expand Up @@ -45,15 +45,15 @@ <h1>Compile Errors</h1>
</tr>
<tr>
<td>Fatal Error while compiling <i>[name]</i> - bailing details below</td>
<td>This message simply means that some error has been discovered but the compiler cannot place what or where (if this happens consistently you may wish to contact <a href="https://accounts.yoyogames.com/contact-us" target="_blank">support</a> and supply the details that the compiler output window shows)</td>
<td>This message simply means that some error has been discovered but the compiler cannot place what or where (if this happens consistently you may wish to contact <a href="https://gamemaker.io/en/contact-us" target="_blank">support</a> and supply the details that the compiler output window shows)</td>
</tr>
<tr>
<td>Recursive macro expansion is not supported</td>
<td>You have used recursive macros that refer to each other and constantly expand</td>
</tr>
<tr>
<td>Unable to find TextureGroup <span class="inline">[group]</span></td>
<td>This error is usually only found from trying to run a malformed project file (if this happens consistently you may wish to contact <a href="https://accounts.yoyogames.com/contact-us" target="_blank">support</a> and supply the details that the compiler output window shows)</td>
<td>This error is usually only found from trying to run a malformed project file (if this happens consistently you may wish to contact <a href="https://gamemaker.io/en/contact-us" target="_blank">support</a> and supply the details that the compiler output window shows)</td>
</tr>
<tr>
<td>Wrong to convert <span class="inline">[value]</span> to number</td>
Expand Down Expand Up @@ -483,7 +483,7 @@ <h1>Compile Errors</h1>
<div style="float:right">Next: <a href="Runner_Errors.htm">Runner Errors</a></div>
</div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2022 All Rights Reserved</span></h5>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2024 All Rights Reserved</span></h5>
</div>
<!-- KEYWORDS
Compiler Errors
Expand Down
Loading