Commit Graph
1201 Commits
Author SHA1 Message Date
Yuri Sizov a5bf20bb6d Add support for split class reference 2022-11-17 21:20:41 +03:00
William LimandHugo Locurcio d67a148cfa Fix Local Projects tab name in First look at Godot's editor (#6338)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-10-26 16:19:11 +02:00
José Joaquín Bocanegra c9e50fc27b Fixes typo saying Main where it should say HUD 2022-10-17 17:28:46 +01:00
Max Hilbrunner 3765e1ca51 Nuke GDNative from docs 2022-10-15 23:53:50 +02:00
Max Hilbrunner 198393eec7 More Godot 4 rename fixes (#6315)
* Spatial -> 3D, Transform, Quaternion

* File -> FileAccess

* Camera -> Camera3D

* Update references to MeshInstance and MultiMeshInstance

* ImmediateGeometry -> ImmediateMesh, misc renames
2022-10-15 20:54:47 +02:00
Max Hilbrunner 024fedb0f3 Kinematic -> Character 2022-10-15 17:55:24 +02:00
Max Hilbrunner 9862cbea87 Reference -> RefCounted 2022-10-15 17:26:59 +02:00
Zach Day 4ccb293730 Fix C# in step-by-step Signals example
Changed code to use new event-style connections; changed
custom signal example to use the new `SignalName` global;
use `double` instead of `float` for `_Process` argument
2022-10-12 17:37:39 -04:00
TheYellowArchitect 7dd0537bc2 [Signals] Replaced 9 images to match 4.0 version (#6235)
* Replaced 9 images for 4.0 compatibility
2022-10-11 08:15:14 +02:00
TheYellowArchitect be79373bfd [2D Game Tutorial] Fixing the last codeblock to run on 4.0
The last code which would make the tutorial incompatible for 4.0 was this. I ran it locally on my 2D project to ensure it works.
Basically to replace the yield one-shot timer, I used this https://docs.godotengine.org/en/latest/classes/class_scenetreetimer.html

Fixes https://github.com/godotengine/godot-docs/issues/6234

@Calinou Related to this: If I do an upgrade/polish of the 2D tutorial [like I did with 3.0](https://github.com/godotengine/godot-docs/pull/6243) where I upload more **.webp** images and clarify and ref hyperlink here and there, would it be accepted soon, or delayed until after .webp support? Asking because it will take a day or two (I already have the images which is the hard part), and if that upgrade is merged in 4+ months, I would rather schedule my priorities in another way
2022-10-07 13:04:07 +00:00
Max Hilbrunner 7d951887f8 Merge pull request #6163 from ScriptsEngineer/patch-1
Change instance method to typed version in C# example
2022-10-05 13:13:09 +02:00
TheYellowArchitect fff8355a8e [2D Game Tutorial] Explicit add child node clarification (#6225)
* [Dodge The Creeps] Explicit add child node clarification

Added explicit "add child node" instead of "add animated sprite 2d node as a child"
Also added Ctrl+A shortcut so users get slowly familiarized with the optimal workflow
2022-10-05 12:51:44 +02:00
TheYellowArchitectandMax Hilbrunner 2dfd19c370 Project Manager Polishing (#6219)
* Project Manager Polishing

The logic behind this commit is my own experience as a newbie, where I had the project with the label opened, and on the "download this and just import it with project manager" part, i did not know how to open the project manager, and spent like 5 minutes before just closing and re-opening Godot

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2022-10-04 13:50:23 +02:00
Max Hilbrunner a9cb21c69b Merge pull request #6222 from TheYellowArchitect/patch-2
[Signals] Fixed inconsistent code
2022-10-04 13:30:39 +02:00
Max Hilbrunner a6b1ed4a96 Merge pull request #6204 from acristin/master
Fixes for "Your First 2D Game" tutorial section 5: "The main game scene"
2022-10-04 13:25:53 +02:00
Matthew ab5d273424 Merge pull request #6121 from RayAsh37/edit-typo-rotationValue
updated rotation value
2022-10-03 21:17:30 -04:00
Matthew cb19ef660d Merge pull request #6193 from Black-Virtue/patch-1
Updating references to RigidBody2D
2022-10-03 21:10:07 -04:00
Max Hilbrunner 51d2bedf2f Merge pull request #6236 from TheYellowArchitect/patch-6
[2D Game Tutorial] Polished HUD code explanation
2022-10-01 17:04:47 +02:00
TheYellowArchitect d22e87a187 [2D Game Tutorial] Polished code explanation
Placed it above the code, instead of below. It was bad because "This function" yet it's the code above, so it wasn't even "the above function" lol

Now, the code explanation is above the code, like the rest of the docs, and the eye rolls linearly instead of "what is this" then reading below "aaah!" and reading above again lol
2022-09-27 19:59:26 +00:00
Hugo Locurcio 8b330feb43 Update the 2d stretch mode name to canvas_items 2022-09-27 17:18:16 +02:00
TheYellowArchitect 8ed7fd3c70 Fixed inconsistent code
All the code has 1 line in ready(), then suddenly at the "finished/full" script, it has a very old version which doesn't even compile (final argument gives error)

Also, changed "check autostart property" to "enable autostart property" so it's more clear
2022-09-27 07:08:53 +00:00
Evanaellio 3cb674285e Fix references to the @tool annotation 2022-09-21 22:48:04 +02:00
Andrew Cristina 0b431349a5 Update for 4.0 beta 1
Replace references to Position2D with Marker2D.

Replace PathFollow2D "offset" with progress_ratio, etc.
2022-09-19 23:12:50 -07:00
Black-Virtue 85fe7c25d3 Updating references to RigidBody2D
From "RigidDynamicBody2D" to "RigidBody2D"
2022-09-17 21:48:36 +01:00
Rafael Correa b987dba961 Changed instance method to typed version 2022-09-10 10:47:58 -03:00
hhhhour 3fae8416f6 Use exact name of AnimationPlayer node in Character animation (#6141) 2022-09-06 01:50:54 +02:00
Ashray Shetty b316588c2e update rotation value
Corrected the rotation value to get the desired view from camera
2022-08-30 13:03:16 +05:30
Jeferson 'Shin' Leite BorgesandJeferson Leite Borges 0ca949a46c Update GDScript syntax in the First 3D game tutorial (#6118)
Co-authored-by: Jeferson Leite Borges <jeferson.borges@ihsmarkit.com>
2022-08-29 14:46:59 +03:00
Max Hilbrunner c2f7474ec5 Merge pull request #6110 from raulsntos/dotnet/new-signals
Update C# signal documentation
2022-08-26 18:22:46 +02:00
Raul Santos 3b36a94d35 Update C# signal documentation
Updates C# signal documentation and code examples to the new API in 4.0
2022-08-26 15:59:43 +02:00
ego-edesse 3e9968b02f missing @ hint on export (typo?) (#5956)
* missing @ hint on export (typo?)
* yield -> await
2022-08-26 14:58:19 +02:00
skyace65 5fce24792d Remove visual scripting from the documentation 2022-08-25 22:18:25 -04:00
Asday 688caeda96 Typo. 2022-08-05 20:10:46 +01:00
Henry Catalini SmithandHugo Locurcio b81f0030b7 Add macOS keyboard shortcut in Creating your first script (#6032)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-08-04 22:44:00 +02:00
Stanislav Balia 13fdc670de Added C# code examples for Using signals page. (#6010)
* Added C# code examples for using signals page.

Also changed a bit one GDscript example.
2022-08-02 10:17:51 +02:00
Stanislav Balia 96475315a9 Add C# code examples on Listening to player input (#6009) 2022-07-30 18:50:10 +02:00
m-at-FNSPEandHugo Locurcio 55d3093715 Fix mob scene typo in Your first 2D game (#6007)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-07-30 03:35:11 +02:00
Aaron 2f0f865f95 Fix the animatedsprite2D variable in Coding the Player (#6006) 2022-07-29 22:47:44 +02:00
AaronandHugo Locurcio dbc65f873e Add C# examples to Creating your first script (#5991)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-07-29 00:50:49 +02:00
Stanislav Balia 833d83cf59 Update preview GIF to match the end result in Your first 2D game (#5999) 2022-07-29 00:44:46 +02:00
Stanislav BaliaandYuri Sizov 523a1c0f03 Nodes & Scenes: Added macOS shortcuts mentioning. (#5993)
* Added macOS shortcuts mentioning.

Unfortunately, suggested hotkeys don't work for macOS. I guess it will be useful to mention macOS shortcuts directly in the docs.

* Apply suggestions from code review

Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2022-07-28 15:46:49 +02:00
Raf Van Baelen d12fbbf474 Remove extraneous sentence about finished result in Your first 2D game (#5994) 2022-07-27 19:45:55 +02:00
Jaime Crespo 33caaf6535 Fix misc syntax/style errors/warnings on documentation head (#5977) 2022-07-23 18:29:56 +02:00
John Veness 4d58ef13b3 Improve step-by-step a little 2022-07-21 20:43:49 +01:00
Sam Van Campenhout 503408d245 Update the showcase video links (#5961)
* Update the showcase video links

This updates the showcase video links to the most recently released version.

* Link to the showcase video playlist

This replaces the individual showcase video links with a single link to the showcase playlist. This has the advantage that we don't need to update the links when new videos come out.
2022-07-19 22:57:01 +02:00
John Veness 0cbb6f7f1f Fix grammar in step-by-step (#5958)
* Rewrote creating root node paragraph

I didn't like the sentence starting "It is equivalent" when it wasn't entirely clear what "It" was, so I edited. I'm not sure it's a great improvement!

* Changed reference to "disk" to "file"

* Fix grammar

"The example" sounds like it's referring to an example that has already been introduced

* Fix "like so" grammar

"Like so" is not used very often

* Remove "exactly"

"see how it works exactly" sounds odd, "see exactly how it works" is better, but to be honest it sounds best without "exactly" at all!

* Add missing "the"
2022-07-19 20:49:44 +02:00
Steven Calvert a52f5eb499 Change C++ animation name for consistency in Your first 2D game (#5938) 2022-07-17 18:37:43 +02:00
snailrhymer 8290fbe1cd Fix typo in Creating the player scene (#5927) 2022-07-13 20:04:21 +02:00
Santiago Valdez 7ee0687714 correct a little typo on scripting_laguanges (#5903)
* correcting a little typo on scripting_laguanges

A more readeable aproach on the existing sentence
2022-07-12 08:30:47 +02:00
Lucky facadf7636 Fix typo in First 3D game - Animating the mobs (#5913) 2022-07-08 20:34:54 +02:00