64 Commits

Author SHA1 Message Date
Rémi Verschelde
4b9efd20fd Data paths: Fix editor paths and improve docs on custom user dir
(cherry picked from commit 00beb9f6f5)
2022-09-09 15:18:23 +02:00
Telmo "Trooper
72759722a1 Add exit condition to prevent thread from hanging in resource_queue.gd (#5833)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-05-23 15:01:14 +02:00
Hugo Locurcio
3b988d8d22 Fix example resource path in Data paths
Co-authored-by: Sergey Pershenkov <s.pershenkov@icloud.com>
2022-05-15 19:24:26 +02:00
Hugo Locurcio
d2ca6aa0d4 Improve File paths in Godot projects documentation
- Fix missing word in the beginning of the page.
- Add separate table for exported project data location.
- Fix editor table mentioning `app_userdata`, as it's only relevant
  for project data.
- Remove mention of consoles as Godot currently doesn't officially
  support consoles.
- Mention that self-contained mode isn't supported for use by projects
  yet.
2022-05-06 19:24:50 +02:00
Max Hilbrunner
c6900647cc Merge pull request #5463 from skyace65/data-path
Fix and expand user data path information

(cherry picked from commit dc0819b593)
2022-03-11 14:22:57 +01:00
zacryol
330a9d4c38 State the implementation of HTML5 export for user:// path in Data Paths (#5418)
(cherry picked from commit 6645e09b35)
2021-12-21 16:42:22 +01:00
Nathan Lovato
e2d349c116 fix warnings with files not appearing in any table of contents 2021-11-24 20:52:30 -06:00
Nathan Lovato
85b8565cef Edit the scripting section
Misc grammar fixes, improvements to phrasing, and more.

Co-authored-by: balloonpopper <5151242+balloonpopper@users.noreply.github.com>
2021-11-24 10:33:27 -06:00
Nathan Lovato
5450fa236c Write and edit overridable_functions.rst, remove scripting_continued.rst 2021-11-24 10:33:22 -06:00
Nathan Lovato
9a12147a31 Rename I/O page into Input and Output (I/O)
Closes #4144
2021-11-24 10:28:09 -06:00
Nathan Lovato
0c4f113703 Move binary_serialization_api to io/ 2021-11-24 10:27:04 -06:00
Nathan Lovato
5ae5a3a3be Rename and edit data_paths.rst
Closes #4181
2021-11-24 10:23:45 -06:00
Rémi Verschelde
e2b95576d8 Cleanup uses of double spaces between words or after punctuation 2021-07-13 00:44:58 +02:00
Erik Vroon
ccbc372743 Fix entry type in C# example for loading savegames (#4850) 2021-04-25 22:09:35 +02:00
Rémi Verschelde
f73f012e8e Remove controversial satirical piece 🔥
This piece was written back in 2014 before open sourcing Godot, and while its
intent is to be sarcastic, it leaves ample room for misinterpretation.

The intended meaning of this piece was, and always has been, the following:

Exploitative game mechanics suck. Games are a beautiful and artful medium
which can provide players with a wide range of experiences: entertainment,
enlightenment, joy, sadness... Games can be just for fun or they can bear
a message. They can connect people with each other or open the player's mind.

Make games worth your players' time and their money, and do your best to do so
while running a successful and respectful business. Hugs <3

(cherry picked from commit b872229427)
2021-03-03 14:02:53 +01: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
strank
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 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
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 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
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