15 Commits

Author SHA1 Message Date
Hugo Locurcio
f3e24e46b7 Fix code block formatting and reference in Physics introduction 2020-08-03 13:54:08 +02:00
balloonpopper
c40d74e19b Added examples for collision layer masks (#3863)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: Balloonpopper <balloonpopper@git.com>
2020-08-03 13:47:40 +02:00
abe
fdf4c98a69 FPS Tutorial Part 5 typo fix 2020-05-02 19:41:36 -04:00
PouleyKetchoupp
854185495c Fixed code tags for true/false/null and a few property references 2019-11-02 13:09:14 +01:00
Taner Esmeroğlu
90458bcd82 Fix: FPS TUT. PART 5 - Problematic Null Control
intersect_ray method returns empty dictionary instead of null.

https://docs.godotengine.org/en/latest/classes/class_physicsdirectspacestate.html#class-physicsdirectspacestate-method-intersect-ray
"If the ray did not intersect anything, then an empty dictionary is returned instead."
2019-10-04 04:01:08 +03:00
Rémi Verschelde
aa7a9f8675 Misc heading fixes 2019-01-08 11:30:55 +01:00
corrigentia
a21bbcacf1 Tweak part_five (#2063)
Fix some grammar, punctuation, word order, spelling and GDScript style guide compliance in part_five. Decrease verbalism.
2018-12-19 12:35:32 +01:00
blurrred
ec0c524d23 Grammar fixes (#2037) 2018-12-13 11:38:25 +01:00
Rémi Verschelde
4ef06a4135 Removing trailing whitespace
With `sed -i $(rg -l '[[:blank:]]*$' -g'!classes') -e 's/[[:blank:]]*$//g'`
2018-11-20 11:08:34 +01:00
Rémi Verschelde
a0e32ac017 Fix mixed use of tabs and spaces in indented blocks
4-space is our convention for indented blocks and should be used consistently.
The only exception is for C++ code which is tab-indented, as the engine code.
2018-11-20 11:02:11 +01:00
Frido
958989dba3 Fixed a few typos in FPS tutorial 2018-10-16 22:28:43 +02:00
Socterean
e68200236f FPS Tutorial Part05-06 general phrase corrections
Complete Part05 general phrase corrections

Updated the line 722 in Turret.gd script

Updated a line to be the same as in the current master branch in the Turret.gd script. Before I just pasted my code from the editor following the tutorial from the website witch has an outdated line of code

Removed an empty line inserted by mistake

Part06 partial phrase corrections

Part05 fixed a typo in the corrections

Complete Part06 general phrase corrections

Changed line 488 to be more clear for beginners

I changed the line 488 from "if ray_result:" to "if ray_result != null" so it should be more in line with the code standards and to be more easy to understand by the new users learning how to code.
2018-07-20 03:51:42 +03:00
TwistedTwigleg
af8de6f73f FPS RigidBody Fix (#1500)
* Changed the wording in the first three parts of the FPS tutorial to
not use "we" when refering to the player.

Changed the name of variables outside of a function to "class variables"
(instead of "global variables", which was less accurate and can be confusing)

Changed the code in RigidBody_hit_test.gd to take bullet rotation into account.

* Changed part 4 and part 5 of the FPS tutorial to not use "we" as often, and not to use "we" for referring to scripts
and other objects.

Changed some of the code to reflect changes in RigidBody_hit_test.gd.

Fixed typos and other small changes.

* Changed part 6 of the FPS tutorial to not use "we" when referring to scripts and other objects.
Fixed a couple minor things in part 2.
Updated all of the zip files to reflect the changed code in RigidBody_hit_test.gd.
2018-06-07 01:37:01 +02:00
mhilbrunner
f215a0cf26 Proofing/review: Remove filler words, adhere to style guide 2018-05-06 05:23:37 +02:00
TwistedTwigleg
627078c325 FPS tutorial remaster (#1357)
* Started remastering first two parts of the FPS tutorial.

Now both parts follow a consistant coding style,
have up to date Zip files for every part.

* Finished the first draft for part 2, and did some edits to part 1.

* Finished writing the first draft for part 3. (Still needs editing)

I also added a blank page for part 5 and added it to the index.

* Updated and fixed a few things in Part 3

* Removed the old part 4 of the FPS tutorial and replaced it with a new part!
(Which would have been part 5 had part 4 not been removed)

* Added part 5 of the FPS tutorial.
Made a few changes to parts 4 and 1.
Added a template/overview of what to write in part 6.

* Finished part 6 of the FPS tutorial.
Now every part of the FPS tutorial is written out!

Made some minor edits to part 5.

* Added all of the zip files for the first three parts of the FPS tutorial.
Updated/Redid all of the pictures for the first three parts as well.
Fixed a few minor issues/inconsistencies in the written material.

* Added all of the zip files for the last three parts of the FPS tutorial.
Updated/Redid all of the pictures for the last three parts as well.
Fixed a few minor issues/inconsistencies in the written material.
Updated the blender files zip.

* Did some editing on parts 3 through 5 on the FPS tutorial.
2018-04-21 17:42:58 +02:00