Commit Graph
79 Commits
Author SHA1 Message Date
Rémi Verschelde 00beb9f6f5 Data paths: Fix editor paths and improve docs on custom user dir 2022-09-08 15:14:54 +02:00
Telmo "TrooperandHugo Locurcio d24f12558f 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:27 +02:00
Hugo Locurcio 6a510d5556 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 18:09:10 +02:00
Markus Sauermann 1e6a033a8f Update tutorials: VisualServer to RenderingServer 2022-02-09 20:20:13 +01:00
Hugo Locurcio fefe84fb23 Apply suggestions from code review 2021-12-24 19:06:29 +01:00
Hugo Locurcio 0956d0e993 Apply suggestions from code review 2021-12-24 19:05:28 +01:00
skyace65 2b7d5fec92 Fix and expand user data path information 2021-12-23 19:33:25 -05:00
zacryol 6645e09b35 State the implementation of HTML5 export for user:// path in Data Paths (#5418) 2021-11-29 02:10:56 +01:00
Aaron Franke 5c7f653347 Optimize PNG and SVG images using oxipng and svgcleaner (#5254) 2021-09-14 17:50:17 +02:00
Aaron Franke 4060179184 Remove trailing space characters (#5251) 2021-09-13 14:52:39 +02:00
Max Hilbrunner 33867029bb Merge pull request #4976 from levilindsey/master
Update the binary serialization API doc to accurately describe how Ob…
2021-08-10 12:22:35 +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
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 6050ba3bdc Update the binary serialization API doc to accurately describe how Objects are encoded. 2021-06-16 09:35:52 -07: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
Martin 3471030a1f Use same file name when explaining how to address it 2021-05-15 12:13:32 +02:00
Simone GianniandHugo Locurcio 3f60675227 Specify when integers and floats are 32 and when 64 bits (#4893)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-05-05 18:47:10 +02:00
Erik Vroon 6706901b40 Fix entry type in C# example for loading savegames (#4850) 2021-04-25 22:09:25 +02:00
Rémi Verschelde b872229427 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
2021-03-03 13:58:16 +01:00
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