Commit Graph

113 Commits

Author SHA1 Message Date
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
Chris Bradfield
4034965c7a Update CharacterBody2D tutorial, code and descriptions (#6614)
* Update CharacterBody2D tutorial, code and descriptions
2023-01-16 08:15:05 +01:00
Yuri Sizov
a20c7f494e Merge pull request #6581 from Piralein/partial🔑
Update C# code samples in Getting Started and Tutorials
2023-01-13 15:59:11 +03:00
Hana
9e90766a92 update c# class examples 2023-01-12 19:38:20 +01:00
Amaral Krichman
0ac2031972 tutorials/physics/ray-casting: Update missing v4 fixes (#6439) 2023-01-11 22:02:16 +01:00
Max Hilbrunner
322e0f5802 Merge pull request #6466 from kkoang/patch-4
Update physics_introduction.rst
2023-01-11 21:59:17 +01:00
Max Hilbrunner
74080ae210 Merge pull request #6473 from kkoang/patch-7
Modify code adaptation 4.0 physics_introduction
2023-01-11 21:57:28 +01:00
Hugo Locurcio
58fea1e068 Update SCons option to precision=double in Large world coordinates (#6474) 2022-12-19 17:47:59 +01:00
kkoang
6f1977f821 Modify code adaptation 4.0 physics_introduction
Modify code adaptation 4.0 physics_introduction
2022-12-10 23:37:25 +08:00
kkoang
6bae3e2cf0 Update physics_introduction.rst
small fix
2022-12-08 23:24:27 +08:00
Hugo Locurcio
509804650e Update all instances of instance() to instantiate() 2022-11-29 16:59:09 +01:00
Clay John
823021bed3 Fix text mentioning model vertex snapping in Large world coordinates (#6324)
The doc originally said that model's vertices would snap to the nearest
number represented by floating point, however, it is the objects origin
position that will snap to the nearest floating point, the individual vertices
will be fine.
2022-10-17 22:35:12 +02:00
Max Hilbrunner
99d3d0be12 Renames / fixes for Godot 4 2022-10-17 00:35:07 +02:00
Max Hilbrunner
70b324b70d Merge pull request #6314 from Calinou/add-large-world-coordinates
Add a page on large world coordinates (double-precision floats)
2022-10-16 01:43:48 +02:00
Hugo Locurcio
7c7fcb9ef3 Add a page on large world coordinates (double-precision floats) 2022-10-16 01:27:15 +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
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
nerdbeard
f5b3a2fab2 Update example code for Godot 4 in Using RigidBody (#6215) 2022-09-23 17:27:49 +02:00
jarommadsen
a7f79134a1 Remove obsolete C# methods from Using RigidBody2D (#5957) 2022-07-29 21:40:27 +02:00
vratajin
d330568d32 Fix invalid variable name in C# example in Physics introduction (#5809) 2022-05-07 22:04:48 +02:00
berightben
e5747c8ca7 Fix csharp code in using_kinematic_body_2d.rst (#5173)
Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
2022-04-29 13:21:41 +02:00
snailrhymer
4ffb42abbb Fix a typo in Physics introduction (#5778) 2022-04-27 01:17:39 +02:00
Ricardo Buring
22309d6791 Update mentions of cylinder shape support for Godot 3.4 (#5697) 2022-03-21 00:33:02 +01:00
Markus Sauermann
aaf6b3e504 Update tutorials: Rename Transform to Transform3D (#5603) 2022-02-14 13:27:37 +01:00
Rémi Verschelde
9a05eef561 4.0: Convert Sprite references to Sprite2D
Some screenshots will need to be updated so that the scene structures shown
in screenshot fit what the code blocks are referring to.
2021-10-06 14:29:55 +02:00
Aaron Franke
5c7f653347 Optimize PNG and SVG images using oxipng and svgcleaner (#5254) 2021-09-14 17:50:17 +02:00
hpnrep6
cc10608084 Fix Github hyperlink formatting in Using SoftBody (#5097) 2021-07-18 21:42:12 +02:00
Marcin Sędłak-Jakubowski
bd19917ea0 Draft: Remove "simple", "simply", "easy", and "just" from the docs (#4496)
* Various style edits

* Edit out "simple" when possible

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2021-07-11 14:38:53 +02:00
BlueStag
a090a578fb Fixed GetNode inconsistencies (#5056)
* Fixed GetNode inconsistencies (C#)

The generic method should be used instead. See #4794.
2021-07-01 08:06:13 +02:00
Rémi Verschelde
044b6a74f8 Cleanup uses of double spaces between words or after punctuation 2021-06-07 10:44:02 +02:00
Hugo Locurcio
6babc68649 Rename documentation pages that have the same name as classref pages
This prevents confusion in search engine results.
2021-05-26 16:59:08 +02:00
Brendan Jackman
3deb283870 Fix indentation in using_kinematic_body_2d.rst 2021-05-24 14:22:15 +02:00
Matthew
b999f71b09 Document physics material (#4817) 2021-04-06 09:54:10 +02:00
31
cc59fa2d2c Fix C# IntersectRay usage: 'exclude' is a Godot Array (#4785) 2021-03-28 03:05:47 +02:00
CssTeja
836f8490f1 Fix typo in Soft Body tutorial (#4767) 2021-03-19 12:30:43 +01:00
Nathan Lovato
c1f7f42ce6 Update the reference to the your_first_game document 2021-03-04 13:47:24 -06:00
GuangGuang
6eb4c3d6f2 Fix collision layer math formula in Physics introduction (#4598) 2021-01-29 15:43:30 +01:00
Aaron Franke
f0dfc9e19c Update ray length constant to match style guidelines 2021-01-19 05:27:07 -05:00
Nathan Lovato
2e820ca8d2 Merge pull request #4337 from dubbl/patch-1
make example asteroids spaceship fly up/forward
2020-11-26 08:31:59 -06:00
Nathan Lovato
b2da992a1f Remove unnecessary comma 2020-11-26 08:20:26 -06:00
skyace65
4a4c012548 Improve link to importing 3D scenes page 2020-11-19 20:52:22 -05:00
Hugo Locurcio
471618db61 Clarify that GDScript is not based on Python
This also fixes capitalization where "GDscript" was used instead of
"GDScript".

This closes #4378.
2020-11-19 14:57:12 +01:00
Hauke
f22934fb2d make example asteroids spaceship fly up/forward 2020-11-04 21:58:06 +01:00
Hugo Locurcio
367c6c571d Add a page about 2D collision shapes 2020-10-04 22:54:48 +02:00
Nathan Lovato
557135297f Edit 3D collision shapes
- Passive -> direct voice
- Remove parens in sentences
- Tweak some sentences' wording
- Fix typos
- Add missing Oxford commas
2020-09-26 11:22:14 -06:00
Hugo Locurcio
1e203d2378 Add a page about 3D collision shapes 2020-09-19 22:04:06 +02:00
Rémi Verschelde
1740baf9de Merge pull request #3898 from faintdeception/patch-1
Typo in C# example change velocity to _velocity
2020-09-09 14:14:04 +02:00
skyace65
51f9b61b39 Add information on how get_slide_count counts collisions 2020-08-30 21:56:51 -04:00
Zach Ruffin
b8c26c2bad Typo in C# example change velocity to _velocity
There's a typo in the C# example code:

MoveAndCollide(velocity * delta);

should be 

MoveAndCollide(_velocity * delta);
2020-08-14 07:52:07 -04:00