51 Commits

Author SHA1 Message Date
Erik Vroon
c8e3b8417d Fix entry type in C# example for loading savegames (#4850) 2021-04-25 22:09:38 +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
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
Yuri Chornoivan
be6ef615b1 Fix minor typos 2018-07-01 15:50:18 +02:00
Hugo Locurcio
830394f747 Improve Data paths page and mention feature tags 2018-06-20 18:30:25 +02:00
mhilbrunner
3fa4cc3355 Reinstate fun 2018-05-08 08:36:51 +02:00
Max Hilbrunner
a4dde2eb83 Remove empty heading 2018-05-07 09:21:50 +02:00
mhilbrunner
f215a0cf26 Proofing/review: Remove filler words, adhere to style guide 2018-05-06 05:23:37 +02:00
Poommetee Ketson
53e51a5eab Tutorial/EncryptingSaveGames: OS.get_unique_ID -> OS.get_unique_id 2018-04-30 21:35:39 +07:00
Neil Moore
5ce57724d8 Merge branch 'master' into issue-1023 2018-04-10 19:09:47 -04:00