Commit Graph
34 Commits
Author SHA1 Message Date
Rémi Verschelde ef45052cae Scripting: Fix wrong merge of 4.0 connect syntax
Fixes #3984.
2020-09-11 09:14:34 +02:00
Nathan Lovato 512b074039 Merge pull request #3948 from samjabrahams/sabrahams/update_scripting_tutorial_connect
Update GDScript examples - Step By Step: Scripting
2020-09-03 12:36:54 -06:00
Jeffrey Stern 33c3671b99 Added line to clarify we'll be starting a new project. 2020-09-02 18:52:52 -07:00
Sam Abrahams 83ed812b76 Update GDScript examples - Step By Step: Scripting
In Godot 4.0, the connect() function no longer takes an object and
a string name of a function, but rather the new Callable type. Following
the old instructions leads to errors.

Unfortunately, I don't have C# development set up on my machine, so I
have not updated the C# examples as I'm currently unable to validate that
they work as intended.
2020-08-30 21:31:30 -07:00
Marcin Sędłak-Jakubowski 89d3c1db3a Clarify misleading sentence (#3886)
This is a section for beginners, and until this point,
the writing has been easy and accessible, but the GDScript
Reference is over 6.2k words long and difficult to grok in
a few minutes by a beginner.

This commit changes this sentence to instead suggest skimming
and bookmarking the page for later, because I think this was
the original intent.
2020-08-09 20:17:39 +02:00
Isaac Higgins 06ee86c6f3 Clarify note on the connect dialogue 2020-07-09 18:30:24 -04:00
Rémi Verschelde 39dbbb29e1 Images: always use relative 'img/' paths, without './' prefix
Move some files from root '/img' folder to the location where they are
actually used.
2020-06-05 14:38:25 +02:00
Hugo Locurcio 046215542d Fix some typos and grammar mistakes found using LanguageTool 2020-04-16 23:07:05 +02:00
Yuri Sizov 37604be65f Improved keystroke formatting for shortcuts and key press menti… (#3257) 2020-03-09 23:50:53 +01:00
beamer159 4d35f97e1b Fix connected function name in scripting.rst (#3124) 2020-01-29 23:35:46 +01:00
skyace65 8232fdf162 Update step by step scripting page for Godot 3.2 2019-11-27 11:02:46 -05:00
Rémi Verschelde 6b2dee0c47 Fix rst formatting issues that confuse pandoc 2019-07-26 13:24:50 +02:00
Francisco Santana a30259beeb Fix "GDScript basics" link text to "GDScript" in tutorial
The text is present in "Step by Step" section, under "Scripting"
2019-03-03 21:02:47 -03:00
Julian Murgia 723293ad35 New tutorial page for editor main screen plugins (#2215) 2019-03-01 14:15:28 +01:00
Bas Cornelissen 292ff6051b Fixed a typo in a code example
I added a semi-colon to an example, without it the code would crash. Probably a typo.
2019-01-31 18:01:30 +01:00
Rémi Verschelde a1af0dfc13 Adapt tutorial hyperlinks after godotengine/godot#24640 2019-01-07 11:43:18 +01:00
corrigentia 06ffd181b1 Update scripting.rst 2018-12-04 22:43:06 +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
Max Hilbrunner 17ed3e7970 Merge pull request #1782 from KellyThomas/update-csharp-code
Update C# code for Scripting / Scripting (continued) / Signals
2018-10-06 22:23:47 +02:00
Warlaan da22f1ff20 Removed an unnecessarily controversial line
I am not even going to start a discussion about GDscript vs. C#, but this line is unnecessary at this place and will only lead to false impressions. If you are in a company that intends to use C# you won't need this information. If you don't know about C# yet there's a good chance that you will be better off using GDscript.
2018-10-05 10:52:52 +02:00
Kelly Thomas 988384bbaa Update C# code for Scripting / Scripting (continued) / Signals 2018-10-03 02:31:21 +08:00
Ibrahim Zidan 1944caf1dd Removed duplicated function in button hooking GDScript example in
step_by_step/scripting.rst
The final example at the mentioned tutorial had the function _on_Button_pressed as _on_button_pressed in the GDScript
example, this commit shall remove the duplicated function _on_button_pressed
Fixes #1556

Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2018-07-02 04:03:54 +02:00
Michael Alexsander Silva Dias 922ceab77a General changes to some pages in the "Step by step" section. 2018-06-03 23:23:02 -03:00
Max Hilbrunner a7e0c78b40 Step-by-step scripting: Reorder functions 2018-06-04 02:32:27 +02:00
mhilbrunner f215a0cf26 Proofing/review: Remove filler words, adhere to style guide 2018-05-06 05:23:37 +02:00
Rob Drury 21254faf7c corrects a minor typo in scripting.rst 2018-04-10 15:46:15 +01:00
David Zhu 9edbba1d25 Update scripting.rst (#1338)
* Update scripting.rst 

Just a small sentence update for the scripting portion of the tutorial

* Change tense from "will not be editable" to "is not editable"
2018-04-09 12:01:51 +02:00
Max Hilbrunner b480728219 Scripting: Revert typo 2018-04-04 18:48:24 +02:00
Max Hilbrunner 3fce7b854c Scripting signals intro: Remove illegible warning 2018-04-04 18:47:13 +02:00
Will Nations 9173a618b2 Add an overview of connect dialogue. 2018-02-22 12:48:50 -06:00
Michael Alexsander Silva Dias 23cb08ce0a Fixes for the GDScript styling in various pages. 2018-02-05 20:12:52 -02:00
Gem 2b6e8f2cea Copyedit of "getting_started/step_by_step/scripting" (#1095)
* Grammar and spelling fixes
2018-02-04 19:36:40 +01:00
Michael Alexsander Silva Dias 8f3cb902e8 Various small fixes for the docs. 2018-01-29 21:00:02 -02:00
Nathan 18f889b6a4 Improve docs structure
Change Step by Step in Getting Started
Remove Engine Features category, move into a new Tutorials top-level section
2018-01-25 08:54:27 +01:00