115 Commits

Author SHA1 Message Date
Hugo Locurcio
28ebc5a792 Document whitespace handling in BBCode in RichTextLabel 2023-06-14 02:21:43 +02:00
Hugo Locurcio
20bfc52fd1 Document EMJC bitmap compression not being supported in Using fonts
- Document which system fonts are used on Android when using aliases.
- Mention font metrics varying across platforms when using system fonts.
- Fix notice about which platforms support system fonts.
2023-06-07 13:05:18 +02:00
Hugo Locurcio
d782a51bca Document disabling ligatures and/or kerning in Using fonts
This also mentions the `connected` parameter available in the
`tornado`, `wave`, `shake` built-in RichTextEffects.
2023-06-05 22:37:49 +02:00
Hugo Locurcio
6593354eaa Mention that all font sizes in Godot are in pixels, not points in Using fonts 2023-05-20 04:05:44 +02:00
Hugo Locurcio
cdc3f1f3ab Document font size caveats for pixel art fonts in Using fonts (#7355)
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-05-16 10:27:17 +02:00
Max Hilbrunner
7cc873c2dd Remove duplicate the-the 2023-04-18 03:02:23 +02:00
Silvio Mayolo
1269d592e1 Corrected virtual function name in "Custom GUI Controls" 2023-03-23 14:56:41 -04:00
Max Hilbrunner
29ead33bb3 Update mouse button enum references 2023-03-23 04:16:39 +01:00
Max Hilbrunner
e7ec0d54bc Merge pull request #6993 from Calinou/using-fonts-embolden
Document embolden and font spacing in Using fonts
2023-03-20 02:42:02 +01:00
Hugo Locurcio
38aea06740 Update and improve BBCode in RichTextlabel documentation for Godot 4.0
- Update screenshots for Godot 4.0.
- Document RichTextLabel having its own vertical scrollbar.
- Document `push_[tag]()` and `pop()` functions as a faster alternative
  to BBCode.
- Document threading support and when to use it.
- Document how to escape user input to prevent it from having its
  BBCode tags parsed.
- Document stripping BBCode tags from the text.
- Mention entangled tags not being supported.
- Mention faux bold/italic versus real bold/italic fonts.
- Document `[hint]` and `[dropcap]` BBCode tags.
- Mention animated RichTextEffects pausing when the scene tree is paused
  and how to control this behavior.
- Modify RichTextEffect examples to use the actual default values.
- Add screenshot showcasing how to add a RichTextEffect to the
  Custom Effects inspector property.
- Fix and improve `[pulse]` custom RichTextEffect. This adds an easing parameter
  and makes the target color a multiplier, so that colored text keeps its original
  color while fading in and out.
2023-03-19 21:11:55 +01:00
Hugo Locurcio
771b02a543 Document embolden and font spacing in Using fonts
This also mentions what the default project font is for reference.
2023-03-16 03:45:21 +01:00
Max Hilbrunner
f07b2313ae Merge pull request #6959 from pcamp/patch-5
Fix typos in gui_using_theme_editor
2023-03-13 01:05:39 +01:00
pcamp
c31e9d2bfb Fix typo in gui_theme_type_variations
"variations" -> "variation"
2023-03-11 15:57:14 -06:00
pcamp
e6d5e634d8 Fix typos in gui_using_theme_editor
"articles" -> "article"
"way" -> "ways"
2023-03-11 15:24:08 -06:00
Hugo Locurcio
3dfbfbf381 Add links to demo projects where relevant (#6874)
* Add links to demo projects where relevant

- Warn about poor compute shader support on mobile GPUs (due to driver bugs).
- Update control gallery image for 4.0.
- Fix typo in Internationalizing games.

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-03-09 06:09:56 +01:00
Yuri Sizov
d524544e07 Improve naming and organization of some manual articles
HTML5/Web moved to their own subfolder
Global Illumination moved to their own subfolder
UI, IO, Inputs sections titles adjusted
2D, 3D tutorials grouped to improve navigation
2023-02-26 22:50:18 +01:00
Yuri Sizov
978a13bb0a Mark potentially outdated pages with a WIP warning 2023-02-26 14:21:15 +01:00
Hugo Locurcio
823c7bd8c6 Mention disabling bilinear filtering in Using fonts
This is required for fonts with a pixel art appearance to look
correct (dynamic or bitmap).

This also fixes the mention of the first Godot version to support
WOFF2 fonts.
2023-02-10 14:52:19 +01:00
Hugo Locurcio
f8a612cd47 Update Using fonts documentation for 4.0.beta17
- Mention subpixel positioning should be disabled for fonts with a pixel art
  appearance.
- Update bitmap font import dock image and document image/character margin.
- Fixed character range example to match the font image (it previously
  had to be reduced by 1 due to an off-by-one error in the importer code).
2023-02-08 14:44:56 +01:00
Raul Santos
b319da3f07 Update some C# examples for 4.0 (#6693)
* 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.
- Other minor code fixes.

---------

Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
2023-02-04 17:03:03 +01:00
Lennart De Graef
8c3746e2f2 Update the GUI container tutorial to use new terminology and add update image (#6636)
Update GUI container docs to new terminology and add an updated image
2023-01-24 20:47:04 -05:00
Hana
9e90766a92 update c# class examples 2023-01-12 19:38:20 +01:00
Yuri Sizov
dbfe3b1d26 Reorganize documentation for contributors
- Merge Community/Contributing and Engine Development into one top-level section, Contributing.
- Structure it in a way that gives equal priority to various ways to contribute, including documentation.
- Rename several articles to be more comprehensive and in line with the overall state of the documentation.
- Rewrite the guide for class reference contributions.
2023-01-10 01:49:30 +03:00
Hugo Locurcio
80ba4c0277 Update Using Fonts page for 4.0 (#6373) 2022-12-17 20:11:22 +01:00
Max Hilbrunner
99d3d0be12 Renames / fixes for Godot 4 2022-10-17 00:35:07 +02:00
Max Hilbrunner
6c13f5ba58 More Godot 4 renames and fixes (#6317)
* Move ImmediateGeometry -> ImmediateMesh

* More Godot 3 -> Godot 4 renames
2022-10-15 23:12:48 +02:00
Max Hilbrunner
89bd854f66 Merge pull request #6285 from yedpodtrzitko/yed/viewport-subviewport
fix: rename `ViewportContainer` to `SubViewportContainer`
2022-10-11 21:11:34 +02:00
Petra Baranski
3811e23373 Add Spritesheet support to RichTextLabel BBCode 2022-10-10 18:10:24 +02:00
Jiri Suchan
3370ef2ef9 fix: rename ViewportContainer to SubViewportContainer 2022-10-09 20:07:25 +09:00
Hugo Locurcio
23dd5d21ae Warn about the importance of registering the RichTextEffect 2022-08-15 11:17:59 +02:00
RedMser
6812f487f6 Update RichTextEffect tutorial
The code examples have been updated and the documentation now mentions
that `class_name` is a required part for custom effects to show up in the inspector.
2022-07-24 22:36:52 +02:00
skyace65
3bfd9b8ba6 Document Theme type variations 2022-07-11 20:48:45 +03:00
Aaron Franke
da14b8000d Add C# code examples (salvage of VinnNo's PRs) 2022-04-29 08:08:09 -05:00
Hugo Locurcio
d702b38566 Mention that the WOFF2 font format is now supported 2022-03-22 13:17:17 +01:00
Darenn Keller
b6c61785c4 Fixed one spelling mistake. 2022-02-22 10:03:13 +01:00
Max Hilbrunner
55c80494c7 Merge pull request #5509 from dalexeev/bgcolor-fgcolor-bbcodes
Document `[bgcolor]` and `[fgcolor]` BBCodes
2022-01-14 03:28:47 +01:00
Danil Alexeev
f47697e1b6 Document [bgcolor] and [fgcolor] BBCodes 2022-01-12 21:05:25 +03:00
Danil Alexeev
d7a41d57f6 Add info about [lb] and [rb] BBCodes 2022-01-12 18:41:30 +03:00
skyace65
3868847fd2 Add a page on making a UI controller/keyboard navigable 2021-10-30 09:59:33 -04:00
Yuri Sizov
4f67dc3cac Reorganize and update the "BBCode in RichTextLabel" article 2021-09-16 03:52:07 +03:00
Max Hilbrunner
54644d4754 Merge pull request #5246 from Calinou/bbcode-in-richtextlabel-url-handling
Document how to handle clicked `[url]` tags in RichTextLabel
2021-09-16 00:35:33 +02:00
Aaron Franke
5c7f653347 Optimize PNG and SVG images using oxipng and svgcleaner (#5254) 2021-09-14 17:50:17 +02:00
Max Hilbrunner
6fe3279246 Merge pull request #5247 from Calinou/bbcode-in-richtextlabel-rgba-color
Update BBCode in RichTextLabel `[color]` for RGBA color change
2021-09-13 22:41:00 +02:00
Aaron Franke
4060179184 Remove trailing space characters (#5251) 2021-09-13 14:52:39 +02:00
Hugo Locurcio
2fe36082ec Document how to handle clicked [url] tags in RichTextLabel 2021-09-13 02:00:58 +02:00
Hugo Locurcio
78fe1e13c2 Update BBCode in RichTextLabel [color] for RGBA color change
Color codes are now RGBA instead of ARGB in Godot 4.0.
2021-09-13 01:59:15 +02:00
Max Hilbrunner
a370c228a6 Merge pull request #5194 from skyace65/using_fonts
Add a page on using fonts in Godot
2021-09-11 13:35:44 +02:00
skyace65
7b54de4045 Add a page on using fonts in Godot 2021-09-10 08:58:51 -04:00
ssj71
2ee13d89ac Clarify Size and Anchors UI Tut (#5217)
* Clarify Size and Anchors UI Tut

I read through this doc and it didn't make any sense to me. I opened godot and played with it and realized the text doesn't match the illustrations very well. I've (hopefully) clarified some concepts and made the text better describe what's shown in the pictures. Hopefully this will help somebody!

Cheers!
_ssj71
2021-09-10 12:43:57 +02:00
Yuri Sizov
0cb5e6e005 Add a new GUI skinning tutorial and improve theme editor tutorial 2021-08-18 23:17:32 +03:00