Ver código fonte

Upload attachments

Rémi Verschelde 9 anos atrás
pai
commit
8aa74133bf

BIN
files/autoload.zip


BIN
files/class_tree.zip


BIN
files/gbot_resources.zip


BIN
files/instancing.zip


BIN
files/kbscene.zip


BIN
files/pong_assets.zip


BIN
files/robisplash.zip


BIN
files/robisplash_assets.zip


BIN
files/skin_assets.zip


+ 1 - 5
reference/inheritance_class_tree.rst

@@ -1,8 +1,6 @@
 Inheritance Class Tree
 ======================
 
-2.0 A
-
 Object
 ------
 
@@ -28,6 +26,4 @@ Spatial
 
 .. image:: /img/Spatial.png
 
-attachment:sources.zip
-
-
+Source files: :download:`class_tree.zip </files/class_tree.zip>`.

+ 1 - 1
tutorials/2d/cutout_animation.rst

@@ -60,7 +60,7 @@ character, created by Andreas Esau.
 
 .. image:: /img/tuto_cutout_walk.gif
 
-Get your assets attachment:gbot_resources.zip .
+Get your assets: :download:`gbot_resources.zip </files/gbot_resources.zip>`.
 
 Setting up the Rig
 ~~~~~~~~~~~~~~~~~~

+ 2 - 2
tutorials/2d/gui_skinning.rst

@@ -123,8 +123,8 @@ controls.
 Example: Themeing a Button
 --------------------------
 
-Take some assets attachment:skin_assets.zip, go to the "theme" menu and
-select "Add Class Item":
+Take some assets (:download:`skin_assets.zip </files/skin_assets.zip>`,
+go to the "theme" menu and select "Add Class Item":
 
 .. image:: /img/themeci.png
 

+ 3 - 3
tutorials/2d/kinematic_character_2d.rst

@@ -66,9 +66,9 @@ or lose precision is the frame rate is too high or too low.
 Scene Setup
 ~~~~~~~~~~~
 
-To have something to test, here's the scene (from the tilemap tutorial)
-attachment:kbscene.zip. We'll be creating a new scene for the character.
-Use the robot sprite and create a scene like this:
+To have something to test, here's the scene (from the tilemap tutorial):
+:download:`kbscene.zip </files/kbscene.zip>`. We'll be creating a new scene
+for the character. Use the robot sprite and create a scene like this:
 
 .. image:: /img/kbscene.png
 

+ 1 - 1
tutorials/step_by_step/animations.rst

@@ -11,7 +11,7 @@ animation system is extremely powerful and flexible.
 
 To begin, let's just use the scene from the previous tutorial (splash
 screen). The goal will be to add a simple animation to it. Here's a copy
-just in case: attachment:robisplash.zip
+just in case: :download:`robisplash.zip </files/robisplash.zip>`.
 
 Creating the Animation
 ----------------------

+ 2 - 2
tutorials/step_by_step/instancing.rst

@@ -35,8 +35,8 @@ complete sense!
 Instancing, Step by Step
 ------------------------
 
-To learn how to do instancing, let's start with downloading
-attachment:instancing.zip.
+To learn how to do instancing, let's start with downloading a sample
+project: :download:`instancing.zip </files/instancing.zip>`.
 
 Unzip this scene in any place of our preference. Then, add this scene to
 the project manager using the 'Import' option:

+ 2 - 2
tutorials/step_by_step/simple_2d_game.rst

@@ -13,8 +13,8 @@ but this should get introduced to basic functionality for 2D Games.
 Assets
 ~~~~~~
 
-Some assets are included for this tutorial, the
-attachment:pong_assets.zip.
+Some assets are included for this tutorial:
+:download:`pong_assets.zip </files/pong_assets.zip>`.
 
 Scene Setup
 ~~~~~~~~~~~

+ 3 - 3
tutorials/step_by_step/singletons_autoload.rst

@@ -38,7 +38,7 @@ Autoload
 
 Autoload can be a scene, or a script that inherits from Node (a Node
 will be created and the script will be set to it). They are added to the
-project in the Scene [STRIKEOUT:> Project Settings]> AutoLoad tab.
+project in the Scene > Project Settings > AutoLoad tab.
 
 Each autoload needs a name, this name will be the node name, and the
 node will be always added to the root viewport before any scene is
@@ -62,8 +62,8 @@ autoload. For simple scene switching, the
 method suffices (described in :ref:`doc_scene_tree`), so this method is for
 more complex behaviors when switching scenes.
 
-First download the template from here: attachment:autoload.zip, then
-open it.
+First download the template from here:
+:download:`autoload.zip </files/autoload.zip>`, then open it.
 
 Two scenes are present, scene_a.scn and scene_b.scn on an otherwise
 empty project. Each are identical and contain a button connected to a

+ 1 - 2
tutorials/step_by_step/splash_screen.rst

@@ -11,8 +11,7 @@ subsystem works. The goal will be to create a really simple, static,
 splash screen.
 
 Following is a file with the assets that will be used:
-
-attachment:robisplash_assets.zip
+:download:`robisplash_assets.zip </files/robisplash_assets.zip>`.
 
 Setting Up
 ----------