Commit Graph

77 Commits

Author SHA1 Message Date
Max Hilbrunner
a34243c85d Merge pull request #7461 from Jackerty/GDExtension 2023-07-18 14:06:27 +02:00
Max Hilbrunner
fd773620ff Merge pull request #7595 from catwasd/catwasd/fix-typos 2023-07-18 13:27:43 +02:00
Hugo Locurcio
df904137db Fix incorrect usage of backticks in various pages 2023-07-14 19:31:01 +02:00
Patrick
a9ab043f08 Update GDExtension docs with 4.1 branch info 2023-07-12 23:11:46 +02:00
Junhao Wang
7499e7b774 Fix initialization typos in GDExtension manual 2023-07-01 11:34:05 -07:00
Max Hilbrunner
efe99c2974 Merge pull request #7491 from paddy-exe/clarify-gdextension-master 2023-06-09 21:41:26 +02:00
Patrick
9704d2928e Set godot-cpp branch to 4.0 in GDExtension tutorial 2023-06-09 20:44:49 +02:00
Patrick
7961a18087 Fixes typos in GDExtension tutorial 2023-06-09 20:30:04 +02:00
Jackerty
1487caec8d Mentioning the GDExtension icon support
A node that is loaded through GDExtension can have a custom icon. Icon's path can be added via the `gdextension` file.
(See https://github.com/godotengine/godot/pull/75472).

Commit makes a mention of this in the C++ tutorial.
2023-06-08 19:12:02 +03:00
Leonid V. Fedorenchik
b3f0c96ed3 Fix code typos
* change parameter name to p_amplitude
* add const to get_speed()
2023-05-21 12:12:35 +08:00
Patrick
37c50b1909 Update GDExtension tutorial for entry functions
Docs part of https://github.com/godotengine/godot-cpp/pull/1095
Same changes as https://github.com/godotengine/godot-cpp/pull/1115
2023-05-19 11:32:59 +02:00
Max Hilbrunner
9caad0c5e4 Merge pull request #7308 from Yunusemre-Oeztuerk/patch-1 2023-05-15 01:16:42 +02:00
Yunusemre-Oeztuerk
c535fc7b1d gdexample.gdextension file not recognized
Using Windows 10 and Godot 4.0.2 Mono

The gdexample.gdextension file used in the example project is not being recognized by my version of Godot. I don't know the exact reason but I'm guessing it is because it doesn't specify whether or not it is supposed to be a debug or release file.

My changed .gdextension file is the same as the one that is available under godot-cpp\test\demo\example.gdextension. With this one it worked with no problems.
2023-05-08 14:54:23 +02:00
Yunusemre-Oeztuerk
c6d224c4ea Error in gdexample.cpp
When adding the getter and setter functions to the example project a void has been added to the constructor in line 439 which was previously not there (in line 213) and is also causing the error C2533: constructors not allowed a return type. Simply removing it again fixes it.
2023-05-08 14:42:15 +02:00
Michael Macha
b8830332a5 Clarified statement
Previously, the section on ADD_SIGNAL was a little convoluted and not entirely correct. I've fixed mild grammatical issues and expanded on it for new programmers, addressing these issues.
2023-05-04 12:17:26 -06:00
Doonv
bd77af86e6 Fix small typo in the GDExtension C++ example (#7224)
* Fix typo in the GDExtension C++ example

---------

Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2023-04-26 18:48:31 +02:00
Rémi Verschelde
27918155b0 GDExtension example: _process delta is a double
It's `Variant::FLOAT` in the bindings, which is always a double.

Changed other member variables for consistency so there's no implicit
conversions between float and double.

Fixes https://github.com/godotengine/godot-cpp/issues/1073.
2023-04-04 15:04:38 +02:00
Patrick
b4f3575d3b Update/Clarify gdextension docs 2023-03-25 01:21:19 +01:00
ganymoe
9df4b09f3f fix paths used in gdextension example
fixes godotengine#7044
2023-03-23 21:30:46 +01:00
Max Hilbrunner
7d5fb4e6a2 Various fixups 2023-03-23 03:13:29 +01:00
Hugo Locurcio
f658307ac7 Add a page on creating custom platform ports 2023-03-13 18:53:38 +01:00
Patrick
11ae34336f Fix GDExtension file path for extension registration
This PR fixes the issue by adding the necessary `/demo` path part.

Fixes https://github.com/godotengine/godot-docs/issues/6872#issuecomment-1452752784
2023-03-03 02:03:48 +01:00
Max Hilbrunner
e4aa65a789 Merge pull request #6840 from konsuko/patch-1
Fix link to Rust GDExtension repository
2023-02-28 11:23:42 +01:00
Konstantin Kopka
c0fb4d2cf2 Fix link to Rust GDExtension repository
The previous link was pointing to the Godot 3.5 Rust GDNative repo.
The new link is pointing to the current/upcoming GDExtension repo.
2023-02-28 14:25:07 +09:00
hakro
445faaac2c Remove duplicate text
2 changes :
- Make the link to godot-cpp more explicit. The phrase `See also Compiling as the build` breaks the flow, and thus the link should be mentioned again
- Remove a duplicate block of text : `If you decide to download the repository ...` which is repeated in the next `Note` block
2023-02-28 01:20:08 +01:00
Patrick
ddd4de4ff0 Fix minor inconsistencies of gdextension docs
* Fixed wrong indentation
* `ADD_SIGNAL` is not a method but a macro which simplifies the usage of the ClassDB method.
2023-02-27 13:11:19 +01:00
Patrick
1d609842dd GDExtension docs
Renames from GDNative to GDExtension


Add Pictures/Gifs and clarified compatability


Remove GDNative language bindings from GDExtension docs


Update SConstruct and AddingProperties section


updated with suggestions


Added property hint example + updated to API naming changes


Fixed redirect.csv
2023-02-26 16:44:45 +01:00