Commit Graph
367 Commits
Author SHA1 Message Date
LeeWannacott e2ed5d893c Update docs to use Time class rather than OS class. 2023-07-14 17:49:37 +12:00
Matthew 612e545f03 Merge pull request #7653 from paddy-exe/update-gdextension-docs
Update GDExtension docs with 4.1 branch info
2023-07-12 20:20:20 -04:00
Patrick a9ab043f08 Update GDExtension docs with 4.1 branch info 2023-07-12 23:11:46 +02:00
CactiChameleon9 cf5222b129 Fix mention of Godot3's or_lesser for export_range 2023-07-08 06:34:20 +01:00
Matthew 23de3fa617 Merge pull request #7524 from dalexeev/gds-static-vars
GDScript: Document static variables
2023-07-05 18:40:29 -04:00
Matthew 22b5c869a6 Merge pull request #7551 from Calinou/csharp-export-limitations
Document C# currently not being supported on Android, iOS and Web
2023-07-04 07:51:18 -04:00
Paul Joannon 0614837c22 Remove erroneous C# example about autoloads 2023-07-03 19:44:40 +02:00
Danil Alexeev 9fb9915ad9 GDScript: Document static variables 2023-07-03 14:58:23 +03:00
Hannes 085d4035a3 Changed a code example that didn't follow the style guide 2023-06-26 11:42:11 +02:00
Hugo Locurcio 1e411aa125 Document C# currently not being supported on Android, iOS and Web 2023-06-23 23:14:56 +02: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
Raul SantosandMax Hilbrunner 27e7f8433c Add page about using global classes in C# (#6740)
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-06-06 11:13:49 +02:00
Max Hilbrunner 0f37d41577 Merge pull request #7412 from dalexeev/update-doc-bbcode 2023-05-30 09:30:51 +02:00
Max Hilbrunner 3b6184eb1d Merge pull request #7441 from br1trs/delete-get-root 2023-05-30 07:54:58 +02:00
br1trs 92d962ab75 delete get_root()
handling quit requests

multiple resolutions

change scenes manually

scene tree
2023-05-29 23:26:04 -06:00
Danil Alexeev d8e71f7453 Update info about BBCode in doc comments and Class Reference 2023-05-29 21:43:10 +03:00
Danil Alexeev 15f32c5407 GDScript: Add mention that @onready @export doesn't work as expected 2023-05-27 15:25:50 +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
Max Hilbrunner e254433411 Merge pull request #7386 from Piralein/enum-stuff 2023-05-20 13:04:00 +02:00
Max Hilbrunner 7cb53b2839 Merge pull request #7378 from paddy-exe/update-gdextension-syntax 2023-05-20 13:00:40 +02:00
Hana - Piralein f337bb0f82 improve description of enums 2023-05-19 18:19:33 +02: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
Raul Santos c457ab79ec Update some C# examples
- Rename members that have been renamed in Godot's C# API for 4.0.
- Change `delta` parameter type to `double`.
- Ensure parameters match base declaration.
- Follow our code style more closely.
- Other minor code fixes.
2023-05-18 13:14:05 +02:00
Max HilbrunnerandDoug Thompson 72c0af46b2 Snake-case .tscn, .gd and _on_* callbacks
Co-authored-by: Doug Thompson <s-git@dougthompson.co.uk>
2023-05-18 12:46:58 +02:00
Danil AlexeevandMax Hilbrunner 4aff3ddc8a Update "GDScript reference" (operators and match) (#7323)
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-05-18 10:57:40 +02:00
Felipe Augusto MarquesandMax Hilbrunner c4db831703 More precise documentation about property underlying access (#7362)
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-05-18 09:36:54 +02:00
Max Hilbrunner 9caad0c5e4 Merge pull request #7308 from Yunusemre-Oeztuerk/patch-1 2023-05-15 01:16:42 +02:00
Max Hilbrunner c4410b6816 Merge pull request #7309 from Yunusemre-Oeztuerk/patch-2 2023-05-13 22:16:47 +02:00
Danil Alexeev 1575f5f714 Mention that annotations in GDScript support constant expressions 2023-05-12 16:38:20 +03: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
AV77 de8348230c Replaced all instances of "hard drive" with "local storage" (#7287) 2023-05-05 13:34:34 +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
Max Hilbrunner 5e04f6550c Merge pull request #6565 from piyushmulatkar/patch-1 2023-05-04 14:03:31 +02:00
Max Hilbrunner 3283eae7d8 Merge pull request #7271 from Calinou/gdscript-add-breakpoints
Document how to add breakpoints in the editor and using `breakpoint`
2023-05-03 20:58:47 +02:00
Hugo Locurcio 698c40e72a Document how to add breakpoints in the editor and using breakpoint
Until now, there was little documentation on how to create breakpoints
(including persistent ones with the `breakpoint` keyword). This may
not be obvious to those who haven't used other IDEs before.

This also documents' breakpoints persistent behavior since the editor
state is saved.
2023-05-03 20:26:46 +02:00
Russell Matney fe3b20f903 docs: add script templates example
Ran into this today - the docs are good but could use an actual example
to confirm what they imply. Using a node name as a directory name is
kind of odd - this would have helped me figure it out at a glance.
2023-05-02 16:44:09 -04:00
Max Hilbrunner 0dcaaefac8 Merge pull request #7258 from jynus/issue7247
Update usages of obsolete rad2deg() and deg2rad() in docs
2023-05-01 16:49:18 +02:00
Jcrespo 6865811c81 Update usages of obsolete rad2deg() and deg2rad() in docs
There were 4 pages documentation pages still using deg2rad(),
which have been substituted by deg_to_rad() and the examples
tested against 4.0.X.

There was 1 usage of C# Deg2Rad(), now DegToRad().

Some dependent comments and output have been updated accordingly:
(deg_to_rad() is implemented in the Math core functions, not in
the Expressions class), plus some float precission fixes, at
least on my architecture.

Only one mention of rad2deg() was found in all docs.

Fixes #7247
2023-05-01 12:24:15 +02:00
Max Hilbrunner 153ccd57e5 Merge pull request #7249 from K1aymore/patch-1
Remove unneeded repetition in gdscript_basics.rst
2023-05-01 10:44:29 +02:00
Cameron da69035b1c minor grammar and typo in gdscript_documentation_comments.rst 2023-04-30 10:47:39 -07:00
Klaymore 627fd49e90 Remove unneeded repetition in gdscript_basics.rst 2023-04-29 21:54:17 -07:00
Rémi Verschelde d646a58465 Merge pull request #7222 from YuriSizov/zips-zapped
Move tutorial ZIPs to a dedicated repository
2023-04-27 15:51:37 +02:00
DoonvandYuri Sizov 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
Yuri Sizov 0606a8ed38 Move tutorial ZIPs to a dedicated repository 2023-04-26 10:42:20 +02:00
Max Hilbrunner 64a3b465c2 Update SFC to Godot Foundation, old URLs 2023-04-17 23:53:52 +02:00
iwVerve 7b4684b7a0 missing word typo on documentation comments page 2023-04-11 14:07:12 +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