Commit Graph
96 Commits
Author SHA1 Message Date
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
Matthew 44c2aa0b07 Add note that C# tools plugin requires the mono SDK on Linux (#5228)
* Add note that C# tools plugin requires mono SDK
2021-09-10 12:42:41 +02:00
Max Hilbrunner 110e0af817 Merge pull request #5219 from skyace65/C#Exports
Add C# Export Page
2021-09-09 13:02:52 +02:00
skyace65 f8fffccde0 Add C# Export Page 2021-09-07 08:38:17 -04:00
Kevin Conner c6e58d8fad Remove an incorrect distinction drawn with Objective-C (#5224)
An Objective-C method call will not be ignored when the object doesn't
define the method. It will crash with a runtime exception.

The author may have been thinking of the way an Objective-C method call
will be ignored when the object is nil. But that's not the case when the
object is there and lacks the method. In that case, the runtime will
call -doesNotRecognizeSelector:. The default behavior in the root class
NSObject is to raise an exception (not the try/catch kind; a similar
case is array bounds checks) and deliberately crash.

https://developer.apple.com/documentation/objectivec/nsobject/1418637-doesnotrecognizeselector?language=objc
2021-09-05 18:48:16 +02:00
euseibusandeuseibus 76b1ae4b53 Fix GDNative typo: "godot_headers" should be "godot-headers" (#5220)
Co-authored-by: euseibus <>
2021-09-02 16:06:06 +02:00
luzpaz d9bc787dd9 Fix various typos (#5215)
Fix various typos

Found via `codespell -q 3 -S ./LICENSE.txt -L doubleclick,findn,lod,inout,nd,raison,te`
2021-09-02 17:02:23 +03:00
Max Hilbrunner 6318e530d0 Remove UE version number 2021-08-09 16:22:31 +02:00
phantomdesvin 1cd4653182 One phrase fix for idle_and_physics_processing.rst
Both, the _process() and _physics_process() are not called every time the engine draws a frame like its written here, only -process() does. _physics_process() gets called before each physics step like it's explained on this same page.
2021-08-06 09:08:48 +02:00
skyace65 baa8f38032 minor clarification about export node_path 2021-08-03 19:35:30 -04:00
merumelu 41a3150726 GDScript style guide: tint borders of good/bad code examples (#5138)
Add `rst-class` directives before code blocks to allow custom styling.
2021-08-01 16:09:09 +02:00
merumelu 65118aa246 Replace various links with ref roles (#5137) 2021-07-31 22:29:54 +02:00
Hugo Locurcio 669c163135 Add a GDScript style guide recommendation for multiline wrapping 2021-07-29 15:30:21 +02:00
DeeJayLSP 2483e2f464 Scene tree: Show functions as code (#5113)
* Scene tree: Show functions as code

These function callbacks should be shown as code for better readability.
2021-07-26 20:39:45 +02:00
Max Hilbrunner 0ecdd19c3f Merge pull request #3892 from ThakeeNathees/gdscript-documentation-comments
Documentation for the GDScript documentation comments
2021-07-12 13:45:13 +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
Hugo Locurcio 8505b713a2 Document nested ternary-if usage example in GDScript reference 2021-07-07 01:47:25 +02:00
Max Hilbrunner 6f2bf43c5f Merge pull request #4857 from saolof/patch-1
Minor change to section on for loop syntax
2021-07-06 08:36:25 +02:00
BlueStag a090a578fb Fixed GetNode inconsistencies (#5056)
* Fixed GetNode inconsistencies (C#)

The generic method should be used instead. See #4794.
2021-07-01 08:06:13 +02:00
Vladislav Vorobev 9ffebd0812 Fixed class_name keyword ordering in GDScript style guide
Fixes two examples to follow rules described in "Code order" section of this page.
2021-06-25 12:05:50 +03:00
hpnrep6andHugo Locurcio 3c1596e4a9 Add C# variant tab to Pausing games example (#5011)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-06-18 03:58:28 +02:00
Rémi Verschelde 044b6a74f8 Cleanup uses of double spaces between words or after punctuation 2021-06-07 10:44:02 +02:00
DeeJayLSP 939719f9eb Fix class reference link on C# features
Fixed a misplaced double back quote that is supposed to be a class reference link on C# features page
2021-06-03 21:03:37 -03:00
DeeJayLSP 931e3087c3 Change text to avoid use of first person in Static typing in GDScript (#4953) 2021-06-04 00:25:25 +02:00
Rémi Verschelde c875cfb906 Merge pull request #4895 from skyace65/GDSimple
Fix GDNative C example
2021-06-02 11:26:15 +02:00
Hugo Locurcio 6babc68649 Rename documentation pages that have the same name as classref pages
This prevents confusion in search engine results.
2021-05-26 16:59:08 +02:00
horhorou d8eca54e0c Update creating_script_templates.rst
Using Ubuntu and after trying on two different machines. I just want to specify that for Linux the template script files are not listed in the .local/share/godot folder but in .config/godot/.
If someone can confirm on other linux OS 😄 
It will allow other people who like me since version 3.0 use scripts_templates in the project root .😭
2021-05-24 20:48:20 +02:00
Nathan Lovato 49022c2e65 Merge pull request #4251 from willnationsdev/godot-api
Add 'How to read the Godot API' docs.
2021-05-14 11:05:13 -06:00
hakankaraduman 013ff59734 Fix "physics time" instead of "physics frame" in The Profiler (#4899) 2021-05-10 14:48:08 +02:00
skyace65 3635d341e2 Fix GDNative C example 2021-05-05 21:46:43 -04:00
swift502 3740276d38 Fix broken C# tab in Resources scripting tutorial 2021-04-25 14:54:28 +02:00
Hugo Locurcio ea7814b25c Add a "see also" link to the GDScript grammar in the GDScript section
The page is in the Development section, but it's not easy to discover.
2021-04-23 18:49:09 +02:00
saolof 6377b21b22 Update gdscript_advanced.rst 2021-04-22 06:42:29 -04:00
saolof 5cf04ee69c Update gdscript_advanced.rst 2021-04-21 19:55:50 -04:00
saolof 15bcf71083 Minor change to section on for loop syntax
The C-like for loop is specific to languages that wanted to copy C syntax and has nothing to do with static vs dynamic typing. Most new languages do not have it and have a foreach loop over iterators instead, regardless of whether they are statically typed or not.
2021-04-21 18:53:34 -04:00
golddotasksquestions d4b7b9ec6f Removing " a" (singular) in front of "ViewportContainers" (plural)
This is basically a test for me in order to learn how to properly submit PRs, while also doing something tiny bit useful.

My 4th attempt at doing this correctly. This time from separate branch to master :)
2021-04-17 13:33:36 +02:00
skyace65 9e4b4db40f Improve VSCode and VS C# instructions 2021-04-03 20:15:25 -04:00
31 6e96d8d262 Update C# Connect method: binds is a Godot array (#4777) 2021-03-23 19:20:43 +01:00
willnationsdev 7d66fa2ec8 Add 'How to read the Godot API' docs. 2021-03-20 18:39:00 -05:00
31 8c55f98736 Polish new sentence about restoring NuGet packages 2021-03-20 11:37:57 -05:00
31 eb10a49864 Simplify C# NuGet package doc to match 3.2.3+ 2021-03-20 11:20:51 -05:00
Rémi Verschelde ca41df2fd0 Merge pull request #4597 from skyace65/weakref
Add code example for weakref
2021-03-19 13:16:34 +01:00
Matthew 2a4dcc40d6 Add information on onready annotation to C# differences page (#4565) 2021-03-19 12:46:23 +01:00
Nat Quayle Nelson 168e56843b Add missing "use" in "use as" in Nodes and scene instances (#4749) 2021-03-13 18:52:16 +01:00
Bengt Söderström 1a1f4c5b76 Renamed directory godot_headers to godot-headers in GDNative SConstruct (#4714)
Fixes GDNative compile error caused by directoy name change in godot-cpp repository.
2021-03-03 23:50:29 +01:00
Hugo Locurcio 7321b5b914 Add missing C++17 flag for Windows build in GDNative SConstruct (#4709)
This matches macOS and Linux.
2021-03-03 15:15:03 +01:00
Nathan Lovato ee248ba218 Merge pull request #4585 from Calinou/filesystem-remove-untested-vcs
Remove mentions of Perforce and PlasticSCM as they're seldom tested
2021-02-26 14:45:33 -06:00
Hugo Locurcio 6ebe74850a Highlight requirement to have an _init function in GDNative C++ example 2021-02-19 21:54:43 +01:00
Ignacio Roldán Etcheverry 1c8ae020a8 Merge pull request #4560 from aaronfranke/cs-setup
Improve C# setup instructions
2021-02-18 02:04:46 +01:00