From 1e206a938319a716de1e4628d4a386a8c214822e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 10 Feb 2016 20:40:19 +0100 Subject: [PATCH] Fix a few broken references Plus add three missing images --- img/bad.png | Bin 0 -> 437 bytes img/good.png | Bin 0 -> 444 bytes img/regular.png | Bin 0 -> 450 bytes tutorials/2d/cutout_animation.rst | 2 +- tutorials/2d/kinematic_character_2d.rst | 6 ++---- tutorials/2d/physics_introduction.rst | 4 ++-- tutorials/3d/working_with_3d_skeletons.rst | 2 +- tutorials/engine/internationalizing_a_game.rst | 8 +++----- tutorials/engine/viewports.rst | 11 +++++------ tutorials/step_by_step/gui_tutorial.rst | 6 ++---- 10 files changed, 16 insertions(+), 23 deletions(-) create mode 100644 img/bad.png create mode 100644 img/good.png create mode 100644 img/regular.png diff --git a/img/bad.png b/img/bad.png new file mode 100644 index 0000000000000000000000000000000000000000..71a689bcd60e3ca4f392ded13aa09348c88750f2 GIT binary patch literal 437 zcmeAS@N?(olHy`uVBq!ia0vp^AhrMp8<5nmf9C+C*pj^6T^Rm@;DWu&Cj&(|3p^r= z85p>QL70(Y)*K0-AbW|YuPggqZZ08lxmo7B&I5%cOI#yLobz*YQ}ap~oQqNuOHxx5 z$}>wc6x=<11Hv2m#2FYEWj$RSLp07`?LV*GTqtw={`>RaD`%y)r@Lm@TG~urZIZrH z_Sz23pZtF$f9wBY<||qz$Zno$>ZEqXt9MC{%k58ZJ{L-A`mT#x{{7+I-|QdUe`tC& z%$_;#yp_L`v1p)4-m356+AEI5ANv%d7~tQf6r>=?q`<@5`u5i9T-__De8Uf|;XeFi zQgO_(f}SPHnkvjplfPU&|9htJ$)`b&)uypa{<-10tR*im#X_>vzn3GeuF{a@xmrsK zQ^Wo9=?(0M8;+#;GU(R|pN(4fOXICy4da6q^-AZX?ta^;Gw+?P^qMtk(+z@OU%Xs; z`Q5W)AOAHoH@tcKH8#y;6>|mqgNZdkTba8{_Xgdyi(#E|Kl|FI)`KNcLJSI5{5Ed- d+*W^tecr#)JcDVk^njts;OXk;vd$@?2>|nav5x=% literal 0 HcmV?d00001 diff --git a/img/good.png b/img/good.png new file mode 100644 index 0000000000000000000000000000000000000000..1e99a92f2853acc6a76e218d905f429779d2a5eb GIT binary patch literal 444 zcmeAS@N?(olHy`uVBq!ia0vp^AhrMp8<5nmf9C+C*pj^6T^Rm@;DWu&Cj&(|3p^r= z85p>QL70(Y)*K0-AbW|YuPggqZZ08l?K3TPZ-7FQC9V-A&iT2ysd*&~&PAz-C8;S2 z<(VZJ3hti10pX2&;tULoDxNNmAsXkePKeh&Tqtq$eC59T@yRRJp18lYJ9p>Qx_pPX zNxjlj_Asqa&Oc-w5ahK;^IeR_YF~~*!<7@KOw6czyZ!y+v?V4xzwWdWU;f$VIYWKR z{6)JNjNke%Tf4P0Ak-!1?Z0I;TlcqoIBgL>r(@;jO2Ly8eHav0n3mpXt-c#K-*Wxz z7)CX#X%Pb1VxE#}nI2pRB^nAlo~v%YxADu*x=W6m0*=-Fas4)FP8T2F5|uAAm<(=h zWVxwtBB?0J_@LBiRdeW7y~N@$O0QCRW%m kG4%16eOhY%N7;_y`Om`K`tGtUV4yO1y85}Sb4q9e0JG4qQUCw| literal 0 HcmV?d00001 diff --git a/img/regular.png b/img/regular.png new file mode 100644 index 0000000000000000000000000000000000000000..4ffb148ea3b75e681b8ff199d00040acc2747c95 GIT binary patch literal 450 zcmV;z0X_bSP)e zSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{00AmVL_t(2&()7TFN0wih0nR4 z_idY0q{85<#79{rEJV6Vq@zK^Xy}hHNbNQ;8x3s5;0K7WG!YSDXbdeP(N+^5ecR`` zEr>xAt2150m7H^cKZakB&cH0CdWU`A!~+M3c#Xp8UhyWqjK;Tkmg|hYH$o{9nI#zq zKoM84mIvYBd3SuOTr!zOn8alJy!f&}vWtWvApm0lN39p~=VpR)9-Z_Jsxhk+4E(;$ z-8<)2#D*{gpr`o@b^u;NNQMFU%{*u6scJ+tKnXy#nJD7kNc$wVR=Wa_YbILDi|VVp zl;re71;D;KT$Ae5LDfM&IZxW`+IsQP0D$SP+>MR2Ru9Sg)@HVFyuAU( spEU`__. -This function takes a -:ref:`Vector2 ` as +useful function called :ref:`KinematicBody2D.move() `. +This function takes a :ref:`Vector2 ` as an argument, and tries to apply that motion to the kinematic body. If a collision happens, it stops right at the moment of the collision. diff --git a/tutorials/2d/physics_introduction.rst b/tutorials/2d/physics_introduction.rst index b28ae859..d2a82aca 100644 --- a/tutorials/2d/physics_introduction.rst +++ b/tutorials/2d/physics_introduction.rst @@ -231,8 +231,8 @@ the CollisionObject2D: KinematicBody2D ~~~~~~~~~~~~~~~ -:ref:`Kinematic ` -bodies are special types of bodies that are meant to be user-controlled. +:ref:`KinematicBody2D ` bodies are special types +of bodies that are meant to be user-controlled. They are not affected by the physics at all (to other types of bodies, such a character or a rigidbody, these are the same as a staticbody). They have however, two main uses: diff --git a/tutorials/3d/working_with_3d_skeletons.rst b/tutorials/3d/working_with_3d_skeletons.rst index 5f642445..649f9bcd 100644 --- a/tutorials/3d/working_with_3d_skeletons.rst +++ b/tutorials/3d/working_with_3d_skeletons.rst @@ -75,7 +75,7 @@ function** Now, we want to do something interesting with ID except for printing it. Also, we might need additional information - to find bone parents to -complete chain, etc. This all is done with get/set_bone_\* functions. +complete chain, etc. This all is done with get/set_bone\_\* functions. **To find bone parent we use get_bone_parent(id) function** diff --git a/tutorials/engine/internationalizing_a_game.rst b/tutorials/engine/internationalizing_a_game.rst index 248b6f3b..080c3cc5 100644 --- a/tutorials/engine/internationalizing_a_game.rst +++ b/tutorials/engine/internationalizing_a_game.rst @@ -18,7 +18,7 @@ Localization is usually done by specific studios hired for the job and, despite the huge amount of software and file formats available for this, the most common way to do localization to this day is still with spreadsheets. The process of creating the spreadsheets and importing -them is already covered in the :ref:`doc_import_translations` tutorial, so this +them is already covered in the :ref:`doc_importing_translations` tutorial, so this one could be seen more like a follow up to that one. Configuring the Imported Translation @@ -72,10 +72,8 @@ Making Controls Resizeable The same text in different languages can vary greatly in length. For this, make sure to read the tutorial on :ref:`doc_size_and_anchors`, as having dynamically adjusted control sizes may help. -:ref:`Containers ` -can be very useful, as well as the multiple options in -:ref:`Label ` for -text wrapping. +:ref:`Container ` can be very useful, as well as the multiple options in +:ref:`Label ` for text wrapping. TranslationServer ----------------- diff --git a/tutorials/engine/viewports.rst b/tutorials/engine/viewports.rst index 681a9040..3117ba69 100644 --- a/tutorials/engine/viewports.rst +++ b/tutorials/engine/viewports.rst @@ -181,12 +181,11 @@ rendering (once), or always render, no matter if visible or not. A few classes are created to make this easier in most common cases inside the editor: -- :ref:`ViewportSprite ` - (for 2D). -- :ref:`ViewportQuad ` - (for 3D). -- :ref:`ViewportFrame ` - (for GUI). +- :ref:`ViewportSprite ` (for 2D). +- ViewportQuad (for 3D). +- ViewportFrame (for GUI). + +*TODO: Review the doc, ViewportQuad and ViewportFrame don't exist in 2.0.* Make sure to check the viewport demos! Viewport folder in the demo.zip available to download, or diff --git a/tutorials/step_by_step/gui_tutorial.rst b/tutorials/step_by_step/gui_tutorial.rst index d1657e70..9f6311ae 100644 --- a/tutorials/step_by_step/gui_tutorial.rst +++ b/tutorials/step_by_step/gui_tutorial.rst @@ -61,10 +61,8 @@ subsequent motion events are received by the pressed control until that button is released, even if the pointer moves outside the control boundary. -Like any class that inherits from -:ref:`CanvasItem ` -(Control does), a -:ref:`CanvasItem.draw() ` +Like any class that inherits from :ref:`CanvasItem ` +(Control does), a :ref:`CanvasItem._draw() ` callback will be received at the begining and every time the control needs to be redrawn (programmer needs to call :ref:`CanvasItem.update() `