mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
Move downloadable files to files subfolders next to each doc page
This commit is contained in:
@@ -26,4 +26,4 @@ Spatial
|
||||
|
||||
.. image:: img/Spatial.png
|
||||
|
||||
Source files: :download:`class_tree.zip </files/class_tree.zip>`.
|
||||
Source files: :download:`class_tree.zip <files/class_tree.zip>`.
|
||||
|
||||
@@ -60,7 +60,7 @@ character, created by Andreas Esau.
|
||||
|
||||
.. image:: img/tuto_cutout_walk.gif
|
||||
|
||||
Get your assets: :download:`gbot_resources.zip </files/gbot_resources.zip>`.
|
||||
Get your assets: :download:`gbot_resources.zip <files/gbot_resources.zip>`.
|
||||
|
||||
Setting up the rig
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@@ -119,7 +119,7 @@ controls.
|
||||
Example: theming a button
|
||||
--------------------------
|
||||
|
||||
Take some assets (:download:`skin_assets.zip </files/skin_assets.zip>`),
|
||||
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
|
||||
|
||||
@@ -218,7 +218,7 @@ Example class
|
||||
-------------
|
||||
|
||||
You can find an example class for loading resources in threads here:
|
||||
:download:`resource_queue.gd </files/resource_queue.gd>`. Usage is as follows:
|
||||
:download:`resource_queue.gd <files/resource_queue.gd>`. Usage is as follows:
|
||||
|
||||
::
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ Scene setup
|
||||
~~~~~~~~~~~
|
||||
|
||||
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
|
||||
: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
|
||||
|
||||
@@ -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 </files/robisplash.zip>`.
|
||||
just in case: :download:`robisplash.zip <files/robisplash.zip>`.
|
||||
|
||||
Creating the animation
|
||||
----------------------
|
||||
|
||||
@@ -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 </files/instancing.zip>`.
|
||||
project: :download:`instancing.zip <files/instancing.zip>`.
|
||||
|
||||
Unzip this project anywhere you like. Then, open Godot and add this project to
|
||||
the project manager using the 'Import' option:
|
||||
|
||||
@@ -16,7 +16,7 @@ Assets
|
||||
~~~~~~
|
||||
|
||||
Some assets are included for this tutorial:
|
||||
:download:`pong_assets.zip </files/pong_assets.zip>`. Unzip its content
|
||||
:download:`pong_assets.zip <files/pong_assets.zip>`. Unzip its content
|
||||
in your project folder.
|
||||
|
||||
Scene setup
|
||||
|
||||
@@ -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 </files/autoload.zip>`, then open it.
|
||||
:download:`autoload.zip <files/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
|
||||
|
||||
@@ -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 </files/robisplash_assets.zip>`.
|
||||
:download:`robisplash_assets.zip <files/robisplash_assets.zip>`.
|
||||
|
||||
Setting up
|
||||
----------
|
||||
|
||||
@@ -29,7 +29,7 @@ Project Setup
|
||||
-------------
|
||||
|
||||
Launch Godot and create a new project. Then, download
|
||||
:download:`dodge_assets.zip </files/dodge_assets.zip>` - the images and sounds you'll be
|
||||
:download:`dodge_assets.zip <files/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
|
||||
|
||||
Reference in New Issue
Block a user