Commit Graph

83 Commits

Author SHA1 Message Date
drwhut
6ce6f82ede GDNative C Example folder structure consistency with demo repository (#3230)
* Made folder structure in GDNative C example consistent with the demo git repo.

* Change output of both Windows libraries.
2020-03-03 20:04:04 +01:00
follower
f17a55db2e Use more standard terminology. Fix grammar.
Change to use node relationship terminology ("sibling") that is both more standard[0] & more inclusive.

Fix pluralisation (i.e. "Xs nodes" -> "X nodes").

[0] e.g. https://en.wikipedia.org/wiki/Tree_structure#Terminology_and_properties
2020-02-18 03:01:57 +13:00
quantmint
8a421ec6fa Replace x11 with linux in GDNative C++ example (#3109)
"x11" it's not the correct platform. It works with "linux".
2020-01-27 16:36:56 +01:00
Emil Mattsson
cb68a0bd90 Language improvements in Import Plugin tutorial (#3090) 2020-01-27 08:42:10 +01:00
Rémi Verschelde
1df5a0ae68 Merge pull request #3061 from asynts/asynts.syntax-highlighting-2
Incorrect syntax highlighting for languages other than GDScript.
2020-01-27 08:39:00 +01:00
George Marques
c7bc8c7bcd Fix gcc compilation flags for GDNative with C example
`-rdynamic` flag is needed to properly export the symbols (otherwise Godot may not find them).

Also changed to use the more common `.o` extension for objects on Linux.
2020-01-22 15:15:31 -03:00
asynts
53f878bdaf Replace 'code' directives with 'code-block' directives.
The `code` directive highlights all sources as GDScript. Other languages are
highlighted incorrectly at the moment, even if `.. code:: [language]` is
specified.

It does, however, work with the `code-block` directive. The reason seems to be
that this directive is Sphinx specific.
2020-01-13 18:45:39 +01:00
asynts
3dede275f4 Use literal blocks for code samples with GDScript.
GDScript is already the default, it's redundant to specify it explicitly.
A [literal block][1] is already enough.

  [1]: https://www.sphinx-doc.org/en/1.8/usage/restructuredtext/basics.html#rst-literal-blocks
2020-01-13 18:45:39 +01:00
asynts
faf9472dda Use the correct language in code blocks.
There are a few places where no language is specified for a code block and
the default is incorrect.

There are a few places where pseudo code is treated as C++.
2020-01-13 18:45:39 +01:00
Aaron Franke
0b1acc49a2 Mention size flag in main screen plugin tutorial
Also re-flow some of the text over lines and mention adding a Label.
2020-01-09 13:21:46 -05:00
N0hbdy
e433e7a40b Add warning to making-plugins reminding about tool keyword
I've repeatedly forgotten that other scripts used in editor plugins
*also* need to have the `tool` keyword, otherwise it fails to correctly
run.
2020-01-01 20:50:21 -08:00
merumelu
ce0a74d7da Remove _sections_unfolded noise in GDNative C++ example 2019-11-30 19:10:08 +01:00
Ethan Jones
0500cd52a0 ExitTree c# example comment fix
Should be "Clean-up of the plugin goes here"
2019-11-14 08:29:54 -07: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
5123465942 Fix some Sphinx warnings 2019-10-29 12:54:08 +01:00
Rémi Verschelde
a57a3715db Merge pull request #2877 from Vikram1323/master
Script path in C# code is wrong.
2019-10-29 10:51:40 +01:00
Rémi Verschelde
3825851979 Proofread Inspector plugins and Visual Shader plugins tutorials 2019-10-29 10:38:51 +01:00
Rémi Verschelde
c1561b623d Merge pull request #2866 from Klowner/fix-inspector-plugin-example
Add proper extends / method calls to inspector plugins tutorial
2019-10-29 10:12:14 +01:00
Will Nations
3cb75877e1 Updated plugin tutorial w/ dialog & dep warning. (#2795)
- New note with CreatePluginDialog and images.
- Warns users that CustomTypes will be deprecated in 4.0.
2019-10-29 10:09:15 +01:00
vicky
4022e9bdb3 Script path in C# code is wrong. 2019-10-24 16:50:46 +05:30
Mark Riedesel
0f2be0b07f Add proper extends / method calls to inspector plugins tutorial 2019-10-20 11:59:38 -04:00
frido
6a6464aea1 Fix various typos and grammar issues in tutorial articles 2019-10-09 23:56:08 +02:00
sheepandshepherd
71e14012e4 Fix a function name in GDNative C tutorial 2019-10-06 06:07:37 +02:00
Coleim
31e448e4f9 Correct android plugin java code and add information on how to use it from GDScript (#2786)
Correct android plugin java code and add information on how to use it from GDScript
2019-09-26 09:57:03 +02:00
wandomPewlin
2b4921b791 Adds underscore before on_Button_pressed()
so it matches the default name generated by the editor.
2019-09-23 14:31:21 +08:00
Rémi Verschelde
93e6b405fa Merge pull request #2719 from Calinou/improve-audio-pages
Improve "Audio buses", "Audio streams" and "Importing audio samples"
2019-09-01 17:36:16 +02:00
Hugo Locurcio
733a3a0e2f Improve "Audio buses", "Audio streams" and "Importing audio samples"
This improves writing style and formatting, and adds more links
to refer to other pages.
2019-09-01 17:00:50 +02:00
Yuri Roubinski
1b70b0a802 Tutorial for visual shader plugins 2019-08-27 11:01:47 +03:00
Michael Alexsander Silva Dias
f683b88576 Fix invalid image in "GDNative C example" page 2019-07-29 17:40:32 -03:00
Rémi Verschelde
a52c42f290 Improve GDNative C Example tutorial
Improve language somewhat, and more details where relevant (e.g.
regarding the version of godot_headers).

Add a section on using the GDNativeLibrary editor plugin.
2019-07-29 10:33:31 +02:00
Rémi Verschelde
1afdb36a65 Wrap GDNative tutorials to 80 chars 2019-07-26 14:21:31 +02:00
Rémi Verschelde
4beac25f03 Proofread SCons examples 2019-07-03 09:46:30 +02:00
Rémi Verschelde
4630813101 Merge pull request #2575 from Demiu/patch-1
Update SConstruct to generate debug symbols on windows
2019-07-02 13:52:02 +02:00
Demiu
59fe528bf9 Update SConstruct to gen debug symbols on windows
Make SConstruct file from "GDNative C++ example" generate debug symbols on windows
2019-06-29 17:08:32 +02:00
Twarit Waikar
5c2b121ed4 Fix incorrect order in recursive update command
Correct order is `update --init --recursive` instead of `--init update --recursive`
2019-06-25 23:05:25 +05:30
werner mendizabal
889fe442eb Update GDNative docs to contain the correct git command. (#2444)
* Update GDNative docs to contain the correct git command.

* Update Note for building on 64 bits machine.
2019-05-10 17:13:38 +02:00
Himanshu singh
e156812496 Typos 2019-04-30 21:15:36 +05:30
Michael Alexsander Silva Dias
63d8ee9a48 Fixes for the new Android tutorials 2019-04-24 22:49:00 -03:00
Juan Linietsky
188080832d Fixes to tutorials for Android 2019-04-24 18:01:04 -03:00
Juan Linietsky
3d58f51aa6 Added documentation about the new Custom Build system for Android 2019-04-24 17:02:45 -03:00
Juan Linietsky
79f57c976e Add documentation on inspector plugins. 2019-04-23 17:00:40 -03:00
Justin Burchartz
323b13df72 Added C# samples to "making plugins" doc (#2328)
* Added C# samples to "making plugins" doc

* Changed class name to CustomNode
2019-04-16 15:23:05 +02:00
follower
aa081ab955 Format folder/file names with monospace font (#2372)
* Format folder/file names with monospace font

Formatting the folder/file names "as code" (i.e. in a monospace font) is more consistent with the rest of the document formatting, helps the names stand out and hopefully draws attention to the need to manually create the subfolders.

* Format another filename as monospace

* Format .gdignore filename as monospaced
2019-04-15 16:48:51 +02:00
KaadmY
92711a3bc8 Update images for "Making plugins" tutorial 2019-04-12 13:22:07 -07:00
Hugo Locurcio
87d81b9d4a Fix various typos 2019-03-20 01:03:48 +01:00
Fredia Huya-Kouadio
10a8a4fb3d Update gdnative-cpp-example.rst (#2234)
Add note to specify when to expect Godot to auto-reload newly added/removed properties.
2019-03-10 11:23:06 +01:00
CodeDarigan
7dd5e45090 Correct use of "queue_free" method
It was inversed.
2019-03-07 11:38:42 +00:00
Julian Murgia
aceef0bc04 Remove useless lines
Those came from an old version of the tutorial that aimed at a bit more complex example - maybe interesting later?
2019-03-04 12:37:23 +01:00
Julian Murgia
723293ad35 New tutorial page for editor main screen plugins (#2215) 2019-03-01 14:15:28 +01:00
Rémi Verschelde
c344f8d801 Misc style fixes 2019-02-10 13:38:13 +01:00