From 786c89923dbc403c034cce3a0f34fb868b650135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sat, 14 Oct 2017 14:25:27 +0200 Subject: [PATCH] Move downloadable files to `files` subfolders next to each doc page --- {files => development/cpp/files}/class_tree.zip | Bin development/cpp/inheritance_class_tree.rst | 2 +- learning/features/animation/cutout_animation.rst | 2 +- .../features/animation/files}/gbot_resources.zip | Bin .../features/gui/files}/skin_assets.zip | Bin learning/features/gui/gui_skinning.rst | 2 +- learning/features/misc/background_loading.rst | 2 +- .../features/misc/files}/resource_queue.gd | 0 .../features/physics/files}/kbscene.zip | Bin .../features/physics/kinematic_character_2d.rst | 2 +- learning/step_by_step/animations.rst | 2 +- {files => learning/step_by_step/files}/autoload.zip | Bin .../step_by_step/files}/dodge_assets.zip | Bin .../step_by_step/files}/instancing.zip | Bin .../step_by_step/files}/pong_assets.zip | Bin .../step_by_step/files}/robisplash.zip | Bin .../step_by_step/files}/robisplash_assets.zip | Bin learning/step_by_step/instancing.rst | 2 +- learning/step_by_step/simple_2d_game.rst | 2 +- learning/step_by_step/singletons_autoload.rst | 2 +- learning/step_by_step/splash_screen.rst | 2 +- learning/step_by_step/your_first_game.rst | 2 +- 22 files changed, 11 insertions(+), 11 deletions(-) rename {files => development/cpp/files}/class_tree.zip (100%) rename {files => learning/features/animation/files}/gbot_resources.zip (100%) rename {files => learning/features/gui/files}/skin_assets.zip (100%) rename {files => learning/features/misc/files}/resource_queue.gd (100%) rename {files => learning/features/physics/files}/kbscene.zip (100%) rename {files => learning/step_by_step/files}/autoload.zip (100%) rename {files => learning/step_by_step/files}/dodge_assets.zip (100%) rename {files => learning/step_by_step/files}/instancing.zip (100%) rename {files => learning/step_by_step/files}/pong_assets.zip (100%) rename {files => learning/step_by_step/files}/robisplash.zip (100%) rename {files => learning/step_by_step/files}/robisplash_assets.zip (100%) diff --git a/files/class_tree.zip b/development/cpp/files/class_tree.zip similarity index 100% rename from files/class_tree.zip rename to development/cpp/files/class_tree.zip diff --git a/development/cpp/inheritance_class_tree.rst b/development/cpp/inheritance_class_tree.rst index e82b1cfec..8a51e52b6 100644 --- a/development/cpp/inheritance_class_tree.rst +++ b/development/cpp/inheritance_class_tree.rst @@ -26,4 +26,4 @@ Spatial .. image:: img/Spatial.png -Source files: :download:`class_tree.zip `. +Source files: :download:`class_tree.zip `. diff --git a/learning/features/animation/cutout_animation.rst b/learning/features/animation/cutout_animation.rst index 15e39f3bc..dd88efa9e 100644 --- a/learning/features/animation/cutout_animation.rst +++ b/learning/features/animation/cutout_animation.rst @@ -60,7 +60,7 @@ character, created by Andreas Esau. .. image:: img/tuto_cutout_walk.gif -Get your assets: :download:`gbot_resources.zip `. +Get your assets: :download:`gbot_resources.zip `. Setting up the rig ~~~~~~~~~~~~~~~~~~ diff --git a/files/gbot_resources.zip b/learning/features/animation/files/gbot_resources.zip similarity index 100% rename from files/gbot_resources.zip rename to learning/features/animation/files/gbot_resources.zip diff --git a/files/skin_assets.zip b/learning/features/gui/files/skin_assets.zip similarity index 100% rename from files/skin_assets.zip rename to learning/features/gui/files/skin_assets.zip diff --git a/learning/features/gui/gui_skinning.rst b/learning/features/gui/gui_skinning.rst index 5ee85ba71..3879ceaff 100644 --- a/learning/features/gui/gui_skinning.rst +++ b/learning/features/gui/gui_skinning.rst @@ -119,7 +119,7 @@ controls. Example: theming a button -------------------------- -Take some assets (:download:`skin_assets.zip `), +Take some assets (:download:`skin_assets.zip `), go to the "theme" menu and select "Add Class Item": .. image:: img/themeci.png diff --git a/learning/features/misc/background_loading.rst b/learning/features/misc/background_loading.rst index 2412485d3..874817258 100644 --- a/learning/features/misc/background_loading.rst +++ b/learning/features/misc/background_loading.rst @@ -218,7 +218,7 @@ Example class ------------- You can find an example class for loading resources in threads here: -:download:`resource_queue.gd `. Usage is as follows: +:download:`resource_queue.gd `. Usage is as follows: :: diff --git a/files/resource_queue.gd b/learning/features/misc/files/resource_queue.gd similarity index 100% rename from files/resource_queue.gd rename to learning/features/misc/files/resource_queue.gd diff --git a/files/kbscene.zip b/learning/features/physics/files/kbscene.zip similarity index 100% rename from files/kbscene.zip rename to learning/features/physics/files/kbscene.zip diff --git a/learning/features/physics/kinematic_character_2d.rst b/learning/features/physics/kinematic_character_2d.rst index c0db43681..9891b816f 100644 --- a/learning/features/physics/kinematic_character_2d.rst +++ b/learning/features/physics/kinematic_character_2d.rst @@ -68,7 +68,7 @@ Scene setup ~~~~~~~~~~~ To have something to test, here's the scene (from the tilemap tutorial): -:download:`kbscene.zip `. We'll be creating a new scene +:download:`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 diff --git a/learning/step_by_step/animations.rst b/learning/step_by_step/animations.rst index fef30c766..2afb5d0f6 100644 --- a/learning/step_by_step/animations.rst +++ b/learning/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 (:ref:`doc_splash_screen`). The goal is, to add a simple animation to it. Here's a copy -just in case: :download:`robisplash.zip `. +just in case: :download:`robisplash.zip `. Creating the animation ---------------------- diff --git a/files/autoload.zip b/learning/step_by_step/files/autoload.zip similarity index 100% rename from files/autoload.zip rename to learning/step_by_step/files/autoload.zip diff --git a/files/dodge_assets.zip b/learning/step_by_step/files/dodge_assets.zip similarity index 100% rename from files/dodge_assets.zip rename to learning/step_by_step/files/dodge_assets.zip diff --git a/files/instancing.zip b/learning/step_by_step/files/instancing.zip similarity index 100% rename from files/instancing.zip rename to learning/step_by_step/files/instancing.zip diff --git a/files/pong_assets.zip b/learning/step_by_step/files/pong_assets.zip similarity index 100% rename from files/pong_assets.zip rename to learning/step_by_step/files/pong_assets.zip diff --git a/files/robisplash.zip b/learning/step_by_step/files/robisplash.zip similarity index 100% rename from files/robisplash.zip rename to learning/step_by_step/files/robisplash.zip diff --git a/files/robisplash_assets.zip b/learning/step_by_step/files/robisplash_assets.zip similarity index 100% rename from files/robisplash_assets.zip rename to learning/step_by_step/files/robisplash_assets.zip diff --git a/learning/step_by_step/instancing.rst b/learning/step_by_step/instancing.rst index 7abccf620..8af0814b6 100644 --- a/learning/step_by_step/instancing.rst +++ b/learning/step_by_step/instancing.rst @@ -34,7 +34,7 @@ Instancing, step by step ------------------------ To learn how to do instancing, let's start with downloading a sample -project: :download:`instancing.zip `. +project: :download:`instancing.zip `. Unzip this project anywhere you like. Then, open Godot and add this project to the project manager using the 'Import' option: diff --git a/learning/step_by_step/simple_2d_game.rst b/learning/step_by_step/simple_2d_game.rst index 98aebe8b7..d3a4f6c71 100644 --- a/learning/step_by_step/simple_2d_game.rst +++ b/learning/step_by_step/simple_2d_game.rst @@ -16,7 +16,7 @@ Assets ~~~~~~ Some assets are included for this tutorial: -:download:`pong_assets.zip `. Unzip its content +:download:`pong_assets.zip `. Unzip its content in your project folder. Scene setup diff --git a/learning/step_by_step/singletons_autoload.rst b/learning/step_by_step/singletons_autoload.rst index 9447c838f..df1223ed7 100644 --- a/learning/step_by_step/singletons_autoload.rst +++ b/learning/step_by_step/singletons_autoload.rst @@ -60,7 +60,7 @@ method suffices (described in :ref:`doc_scene_tree`), so this method is for more complex behavior when switching between scenes. First download the template from here: -:download:`autoload.zip `, then open it. +:download:`autoload.zip `, then open it. Two scenes are present, scene_a.tscn and scene_b.tscn on an otherwise empty project. Each are identical and contain a button connected to a diff --git a/learning/step_by_step/splash_screen.rst b/learning/step_by_step/splash_screen.rst index b8419f843..be4ec36c2 100644 --- a/learning/step_by_step/splash_screen.rst +++ b/learning/step_by_step/splash_screen.rst @@ -12,7 +12,7 @@ splash screen. Following is a file with the assets that will be used. These can be added directly to your project folder - no need to import them: -:download:`robisplash_assets.zip `. +:download:`robisplash_assets.zip `. Setting up ---------- diff --git a/learning/step_by_step/your_first_game.rst b/learning/step_by_step/your_first_game.rst index 25c0dd73c..a5a4e50df 100644 --- a/learning/step_by_step/your_first_game.rst +++ b/learning/step_by_step/your_first_game.rst @@ -29,7 +29,7 @@ Project Setup ------------- Launch Godot and create a new project. Then, download -:download:`dodge_assets.zip ` - the images and sounds you'll be +:download:`dodge_assets.zip ` - the images and sounds you'll be using to make the game. Unzip these files in your new project folder. .. note:: For this tutorial, we will assume you are already familiar with the