Commit Graph
58 Commits
Author SHA1 Message Date
Rémi Verschelde 917d85c69e Merge pull request #4439 from Calinou/data-paths-globalize-localize-path
Mention the ProjectSettings globalize/localize methods in Data paths
2021-01-04 16:58:10 +01:00
Dirk KrauseandHugo Locurcio 790d7d0e0b Add data path location for macOS starting from 10.15 (Catalina) (#4456)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-12-13 22:08:56 +01:00
Hugo Locurcio 0700379dac Mention the ProjectSettings globalize/localize methods in Data paths
This closes https://github.com/godotengine/godot-docs/issues/4409.
2020-12-09 17:58:30 +01:00
Nathan Lovatoandballoonpopper 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
Nathan Lovato 68817428d9 Merge pull request #4214 from NathanLovato/edit/data_paths
Rename and edit data_paths.rst
2020-10-09 10:08:48 -06:00
Nathan Lovato 5b45992dfb Rename I/O page into Input and Output (I/O)
Closes #4144
2020-10-08 16:57:48 -06:00
Nathan Lovato d29793759e Move binary_serialization_api to io/ 2020-10-08 14:14:44 -06:00
Nathan Lovato a9aebefb60 Rename and edit data_paths.rst
Closes #4181
2020-10-06 16:56:35 -06:00
Hubert Ekvall ad95164095 Fix of a grammatical error. 2020-09-09 20:26:24 +02: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
Hugo Locurcio c6aafe6be9 Add a note about the introduction in Encrypting save games
Many contributors have opened pull requests to remove it,
but the consensus over the years is that most people are actually fine
with the paragraph in question.
2020-06-13 20:17:46 +02:00
Hugo Locurcio c7e119bbed Remove outdated notice at the end of Background loading
punto is generally not available on IRC for support questions.
2020-05-17 23:12:37 +02:00
Hugo Locurcio d494d19dac Remove trailing whitespace and irregular whitespace 2020-05-17 00:26:19 +02:00
Hugo Locurcio 701c94ed8e Mention self-contained mode in the editor compilation guides
When working on the editor itself, using separate configuration
is sometimes desired to avoid conflicts or accidentally losing
settings.

This closes https://github.com/godotengine/godot/issues/21567.
2020-04-17 21:48:02 +02:00
Yuri Sizov 4acf7a6563 Fix syntax highlighting for various languages (#3387) 2020-04-15 16:33:20 +02:00
strankandStefan Rank 43d5f7a40a Fix typo in code example (#3274)
Co-authored-by: Stefan Rank <strank@strank.info>
2020-03-15 16:09:45 +01:00
Aaron Franke b104610ae1 Update resource_queue.gd for Godot 3.2 (#3228)
Fix warnings, fix using a deprecated method, style fixes.
2020-03-03 20:18:38 +01:00
Hugo Locurcio a504ab1647 Mention the Godot data paths specific to the Flatpak version 2020-01-19 18:18:57 +01:00
Rémi Verscheldeandgiusdp 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
PouleyKetchoupp 854185495c Fixed code tags for true/false/null and a few property references 2019-11-02 13:09:14 +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 LocurcioandnikhilCad 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 13528555d7 Improve the Data paths page
- Add examples for the editor data paths and mention XDG compliance
- Add information about the self-contained mode
2019-08-06 23:45:56 +02:00
Bobby Youstra 14018a6193 Updated OS.get_unique_id() platform availability notice 2019-07-03 17:00:48 -07:00
bitbutter db6ba33246 Update background_loading.rst
Various fixes.
2019-04-08 22:05:43 +02: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
Rémi Verschelde c344f8d801 Misc style fixes 2019-02-10 13:38:13 +01:00
Asheraryam 58a935b57f Mismatched brackets
Unnecessary right bracket, causing game script to fail compiling.
2019-02-02 20:35:18 +02:00
Rémi Verschelde 89334217b5 Merge pull request #2096 from corrigentia/patch-95
Improve word choice in encrypting_save_games
2019-01-08 13:13:03 +01: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 0567599117 Merge pull request #2093 from corrigentia/patch-92
Add a missing comma to data_paths
2019-01-08 13:09:27 +01:00
corrigentia 3ac6537a93 Tweak background_loading (#2092)
Fix some punctuation and grammar in background_loading. 
Notes: 
"**setup**" (a single [compound] word) is a  _noun_  (a name for an object; a signifier [in Ferdinand de Saussure's semiology], a referrer, an identifier); 
"**set up**" (two separate words) is an 
_idiomatic_  (only makes sense when you take it as it is in its proper context) 
_transitive_  (it takes a [direct] object [in a sentence -- grammar]) 
_phrasal_  (made up of more than one word)
_verb_  (something that expresses an action being done; a process).

Data on which functions are expected to operate:
"**argument(s)**" is the name for what a function takes in when it is being called/invoked/"conjured"/"summoned" [👿 occult language right there 😒]; 
"**parameter(s)**" is the name for that/those factor(s) that alter[s] what a function is designed to return when one is defining it 📜, usually introduced/"declared" in the function header.

"Low**-**level" is the correct spelling of the adjective.
2019-01-08 13:09:07 +01:00
Rémi Verschelde aa7a9f8675 Misc heading fixes 2019-01-08 11:30:55 +01:00
Rémi Verschelde a1af0dfc13 Adapt tutorial hyperlinks after godotengine/godot#24640 2019-01-07 11:43:18 +01:00
corrigentia c7a8cdfcf3 Improve word choice in encrypting_save_games
Improve word choice in encrypting_save_games. Fix subjunctive mood and punctuation.

Notes:
"**everyday**" is the correct spelling of the  _adjective_; 
"**every day**" is an  _adverbial phrase_: 

(_what kind of_ ... ?)
"That is an  **everyday** occurrence." / 
"That happens  **every day**."
(_when_?)

Data types ~ parts of speech
2019-01-04 08:56:47 +02:00
corrigentia 2d71f183a9 Add a missing comma to data_paths
Add a missing comma to data_paths.
2019-01-03 15:56:26 +02: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
Max Sandholm 19b575c1e4 Add clarifying paragraph on encryption page (#1672)
I wouldn't want to mislead people into thinking that encrypting and decrypting a save file locally on the player's computer can prevent editing and sharing of save files. It can't. The only way to prevent unauthorized editing and sharing of save data is to keep the save data on a remote server, and also running the game logic on that server instead of locally on the player's computer.
2018-11-20 11:38:10 +01:00
Rémi Verschelde 4ef06a4135 Removing trailing whitespace
With `sed -i $(rg -l '[[:blank:]]*$' -g'!classes') -e 's/[[:blank:]]*$//g'`
2018-11-20 11:08:34 +01:00
Frido 6f602a578a Fixed typo in I/O tutorial 2018-10-16 23:07:10 +02:00
FeralBytes 7e14ac0e7d Fix VS.flush->VisualServer.sync
Fixes #1544
2018-07-31 16:02:36 -08:00
FeralBytes b0c75ee4ca Minor Grammar and Naming Fix (#1624)
* Minor Grammar and Naming Fix

Removed an extra "to" in comment.
Renamed var len to var length to avoid name conflict with len() and to make it more clear.

* Fix spelling error on my part

thanks @cbscribe
2018-07-30 21:16:11 -07:00
BARICHELLO 6c57f2967e Update background_loading.rst
Simple typo fix
2018-07-21 02:01:02 -03:00