38 Commits

Author SHA1 Message Date
ntlblpm
fd9c88a424 Update saving_games.rst 2024-11-29 01:46:08 -05:00
Anish Mishra
e41a55ebc8 update groups image in saving_games tutorial 2024-11-26 01:44:17 +05:30
Hugo Locurcio
802f5b49c2 Fix outdated get_data() JSON method usage in Saving games
Direct member access is now used in Godot 4.
2024-09-16 23:30:13 +02:00
skyace65
a7b87b50c0 Rename save game variable for clarity 2024-03-05 19:14:08 -05:00
Ryan Eisenbarth
0378ba1b56 Minor text change from i to node
Keeps document consistent throughout
2023-12-11 09:13:21 -07:00
Yuri Sizov
cd92be066d Update references to private class methods across the docs 2023-11-10 16:06:36 +01:00
Hugo Locurcio
3dfbfbf381 Add links to demo projects where relevant (#6874)
* Add links to demo projects where relevant

- Warn about poor compute shader support on mobile GPUs (due to driver bugs).
- Update control gallery image for 4.0.
- Fix typo in Internationalizing games.

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-03-09 06:09:56 +01:00
Raul Santos
b319da3f07 Update some C# examples for 4.0 (#6693)
* Update some C# examples

- Rename members that have been renamed in Godot's C# API for 4.0.
- Change `delta` parameter type to `double`.
- Ensure parameters match base declaration.
- Other minor code fixes.

---------

Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
2023-02-04 17:03:03 +01:00
Eddie (Xiao Di) Li
5c80189d97 Update Saving games documentation for Godot 4.0 (#6371) 2023-02-01 16:25:47 +01:00
Hugo Locurcio
509804650e Update all instances of instance() to instantiate() 2022-11-29 16:59:09 +01:00
Max Hilbrunner
198393eec7 More Godot 4 rename fixes (#6315)
* Spatial -> 3D, Transform, Quaternion

* File -> FileAccess

* Camera -> Camera3D

* Update references to MeshInstance and MultiMeshInstance

* ImmediateGeometry -> ImmediateMesh, misc renames
2022-10-15 20:54:47 +02:00
Jeferson 'Shin' Leite Borges
f036086dc4 Update description on the IO to use the JSON class (#6120)
* Update description on the IO to use the JSON class

* Apply suggestions from code review

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-10-11 09:24:26 +02:00
Max Hilbrunner
ccf9c7c67e JSON vs binary serialization improvements 2021-08-09 16:18:26 +02:00
Max Hilbrunner
7fa80b37ba Merge pull request #4977 from levilindsey/saving-games
Update the saving games doc to describe tradeoffs of JSON vs binary s…
2021-08-09 15:54:44 +02:00
Marcin Sędłak-Jakubowski
bd19917ea0 Draft: Remove "simple", "simply", "easy", and "just" from the docs (#4496)
* Various style edits

* Edit out "simple" when possible

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2021-07-11 14:38:53 +02:00
Levi Lindsey
09afb8a241 Update the saving games doc to describe tradeoffs of JSON vs binary serialization. 2021-06-14 15:28:36 -07:00
Rémi Verschelde
044b6a74f8 Cleanup uses of double spaces between words or after punctuation 2021-06-07 10:44:02 +02:00
Erik Vroon
6706901b40 Fix entry type in C# example for loading savegames (#4850) 2021-04-25 22:09:25 +02:00
Nathan Lovato
3665f22bab Edit the scripting section
Misc grammar fixes, improvements to phrasing, and more.

Co-authored-by: balloonpopper <5151242+balloonpopper@users.noreply.github.com>
2020-11-10 08:18:44 -06:00
Nathan Lovato
1eb9da99b6 Write and edit overridable_functions.rst, remove scripting_continued.rst 2020-11-08 09:49:48 -06:00
TheTrainDoctor
b9072edace fixed incorrect variable in C# code example
save_game is not the variable used in the C# tab
2020-09-09 12:09:07 +02:00
Michael Alexsander
1f6d3995e4 Apply general code formatting to some pages in the tutorial section 2020-07-08 23:02:14 -03:00
Amanda Steinwedel
59731584ab C# Correct how to type cast Dictionaries returned from JSONParseResult
Casting with either `(Godot.Collections.Dictionary<string,
object>)parsedResult` or `parsedResult as
Godot.Collections.Dictionary<string, object>` fails with an
InvalidCastException (or silently returning null with the `as` keyword).
Instead, a typed constructor using `new` should be used.
2020-06-17 07:36:19 -07:00
Rémi Verschelde
4d85e219ff Fix C# example in saving games using Godot.Collections.Dictionary
Co-authored-by: giusdp <depalma.gsp@gmail.com>
2019-11-29 12:16:18 +01:00
Xavier Gómez Gosálbez
5747b8b89e Added missing references for some functions
I've added some missing references for some functions to better interact with the docs.

(cherry picked from commit 44b38d79e1)
2019-11-22 14:40:18 +01:00
Rémi Verschelde
fcc5134fde Merge pull request #2843 from nekomatata/tutorial-saving-games
Improvements in "Saving Games" tutorial
2019-10-29 09:13:09 +01:00
PouleyKetchoupp
ca886ca062 Improvements in "Saving Games" tutorial
- Check for common errors and display error messages (node not instanced, missing save function)
- Proper logic for checking there's a line left when iterating through the save file
- Extra comments and different variable names to make the code more clear
2019-10-28 19:40:30 +01:00
Hugo Locurcio
fa77e6c0fc Add a note about ConfigFile in the Saving games tutorial
This closes #2879.

Co-authored-by: nikhilCad <47214394+nikhilCad@users.noreply.github.com>
2019-10-26 18:05:48 +02:00
Johnny
f732bd4bf1 Added null check for GDScript to mirror C# Code
I also re-worded a few sentences to make the intent a bit clearer.
2019-09-24 14:44:13 +01:00
Hugo Locurcio
87d81b9d4a Fix various typos 2019-03-20 01:03:48 +01:00
Arman
0813f1265e Rewrite last paragraph in Saving games
- Rewrote the middle sentence of the last paragraph to be less vague.
- Changed structure of sentence explaining order of object loading/saving to improve flow.
2019-03-15 21:10:58 -07:00
Asheraryam
58a935b57f Mismatched brackets
Unnecessary right bracket, causing game script to fail compiling.
2019-02-02 20:35:18 +02:00
corrigentia
c12707d249 Fix punctuation in saving_games (#2095)
Fix punctuation in saving_games. Clarify possessive, not plural.
2019-01-08 13:11:55 +01:00
Rémi Verschelde
a1af0dfc13 Adapt tutorial hyperlinks after godotengine/godot#24640 2019-01-07 11:43:18 +01:00
Thomas Viktil
9502fe64dd Break comments to make them readable (#1977)
The comments are wider than the viewable area in the docs, which makes them hard to read. On Mac, the scrollbars are hidden so you either need an Apple mouse that can scroll sideways, or fumble with scrolling and catching the scroll handle as it appears, so that you can drag it sideways. It's easier for all of us to wrap the comments.
2018-12-05 15:55:02 +01:00
mhilbrunner
f215a0cf26 Proofing/review: Remove filler words, adhere to style guide 2018-05-06 05:23:37 +02:00
Neil Moore
5ce57724d8 Merge branch 'master' into issue-1023 2018-04-10 19:09:47 -04:00
Neil Moore
dc7463f7dc Moved certain tutorials to better-named subfolders from 'Misc' 2018-04-04 23:23:11 -04:00