Design challenge · 60 minReto de diseño · 60 min
Grab a Teleporter and Go!Agarra un teletransportador y en marcha
The StoryQuest Kit gives you working and game components from Threadbare that you can explore, reuse, change, and build on.El StoryQuest Kit te da y componentes de juego de Threadbare que ya funcionan y que puedes explorar, reutilizar, cambiar y ampliar.
Using those existing pieces can help you move from an idea to something playable more quickly. Find something useful in a scene, bring the pieces you need into your own working scene, and adapt them for your quest or the story you want to tell.Usar esas piezas que ya existen puede ayudarte a pasar de una idea a algo jugable más rápido. Encuentra algo útil en una escena, lleva las piezas que necesites a tu propia escena de trabajo y adáptalas para tu quest o la historia que quieras contar.
So this challenge is a small example of that process for you to practice. You'll take a working teleporter from a scene in the kit, get it functioning in your own scene, and bring in artwork you make outside the kit to change how it looks.Así que este reto es un pequeño ejemplo de ese proceso para que practiques. Tomarás un teletransportador que ya funciona de una escena del kit, lo pondrás en marcha en tu propia escena y traerás ilustraciones que hagas fuera del kit para cambiar su aspecto.
New to Godot? A quick tour of Godot can help you get oriented to scenes, the FileSystem, the Inspector, and running a scene.¿Nuevo en Godot? Un recorrido rápido por Godot puede ayudarte a orientarte con las escenas, el FileSystem, el Inspector y cómo ejecutar una escena.
Words with an orange underline open a small explainer — click any of them.Las palabras con subrayado naranja abren una pequeña explicación — haz clic en cualquiera.
In this guideEn esta guía
- Play with the Teleporter!¡Juega con el teletransportador!
- Set up your own scene to build inPrepara tu propia escena para construir
- What might your teleporter look like?¿Cómo podría ser tu teletransportador?
- Get a teleporter functioning in your sceneHaz que un teletransportador funcione en tu escena
- Draw and add your teleporter artDibuja y añade el arte de tu teletransportador
Play with the Teleporter!¡Juega con el teletransportador!PlayJugar
With your StoryQuest Kit open in Godot, make a new branch off in Backstitch or Git and call it teleporter-challenge. This gives you a separate place to experiment without changing the main version of the project.Con tu StoryQuest Kit abierto en Godot, crea una rama nueva desde en Backstitch o Git y llámala teleporter-challenge. Esto te da un lugar aparte para experimentar sin cambiar la versión principal del proyecto.
Then find, open, and play the teleporter_test_2 scene. It's a small experimental scene for trying out the teleporter. Play with it for a minute and look around the scene. You'll be borrowing pieces from it soon.Luego busca, abre y ejecuta la escena teleporter_test_2. Esta escena no forma parte del juego principal de Threadbare. Es una escena experimental hecha para probar y jugar con un componente concreto del juego. Quienes hacen juegos hacen esto a menudo cuando intentan decidir qué podría funcionar bien en su juego. Pruébala ahora en Godot para hacerte una idea de la mecánica del teletransportador.
You'll notice the teleporter can do two things. It can move you between two points in the same scene. It can also move you into a different scene, using a transition when the destination is somewhere you can't currently see.Notarás que el teletransportador puede hacer dos cosas. Puede llevarte entre dos puntos de la misma escena. También puede llevarte a una escena distinta, usando una transición cuando el destino está en un sitio que ahora mismo no ves.
Want to know more? · additional guides¿Quieres saber más? · guías adicionales
Set up your own scene to build inPrepara tu propia escena para construir
Leave teleporter_test_2 open and go back to the FileSystem to find and open teleporter_challenge. This scene is yours to build in and starts mostly empty. Now you should have two tabs across the top: the test scene to look at and your challenge scene to work in. You'll be borrowing pieces from the test scene shortly.Deja abierta teleporter_test_2 y vuelve al FileSystem para buscar y abrir teleporter_challenge. Esta escena es tuya para construir y empieza prácticamente vacía. Ahora deberías tener dos pestañas arriba: la escena de prueba para mirar y tu escena del reto para trabajar. Dentro de poco vas a tomar piezas prestadas de la escena de prueba.
What might your teleporter look like?¿Cómo podría ser tu teletransportador?ReflectReflexionar
Right now, the teleporter in the test scene doesn't have a look of its own. It's just a space that moves the player from A to B, so visually it could become almost anything. What could you make it look like, and what might that tell a player about the world around it? That is a small piece of .Ahora mismo, el teletransportador de la escena de prueba no tiene ningún aspecto. Es solo un espacio donde algo mueve al jugador de A a B. Podría parecer cualquier cosa, la verdad. Pero ¿cómo puede su aspecto ayudar a servir a una ?
Let's quickly brainstorm what this teleporter might be. You can imagine some story around it first, or just start describing the object itself and see what ideas emerge. The more specific you get, the more information you'll have when you draw it.Hagamos una lluvia de ideas rápida sobre lo que podría ser este teletransportador. Puedes imaginar primero alguna historia a su alrededor, o simplemente empezar describiendo el objeto en sí y ver qué ideas surgen. Cuanto más concreto seas, más información tendrás al dibujarlo.
Example teleporters: four different potential narratives.Teletransportadores de ejemplo: cuatro narrativas posibles distintas.
Some context for the objectAlgo de contexto para el objeto
Consider some of the following or make up your ownConsidera algunas de estas, o inventa las tuyas
click to openclic para abrirDescribing the object itselfDescribir el objeto mismo
More detail offers clues…Más detalle ofrece pistas…
click to openclic para abrirtell the player more!cuéntale más al jugador
Can the image do more than suggest "This is a spot for movement"?¿Puede la imagen decir algo más que "aquí se viaja"?
An arrow, a glow, or a pad on the floor can all tell the player, this does something, come over here. That's signposting. Your additional challenge is to see whether the same object can guide the player and suggest something about the world around it.Una flecha, un brillo o una plataforma en el suelo pueden decirle al jugador esto hace algo, ven aquí. Eso es señalización. Tu reto añadido es ver si el mismo objeto puede guiar al jugador y sugerir algo sobre el mundo que lo rodea.
Once you've got an idea it is time to build. Let's move on to the next section…Cuando tengas una idea, toca construir. Pasemos a la siguiente sección…
This section is for teams only: work on separate sub-branches.Esta sección es solo para equipos: trabajad en sub-ramas separadas.
Working on your own? You can just work on a single Teleporter branch for this.¿Trabajas por tu cuenta? Para esto puedes trabajar en una sola rama del teletransportador.
teams onlysolo para equiposWork on separate branches, then merge your work.Trabajad en ramas separadas y luego fusionad vuestro trabajo.
Working on the same branch at the same time can cause conflicts or lost work. Instead, create separate sub-branches so each person has their own space to work. The names below are just examples. Divide the work in whatever way makes sense for your team.Trabajar en la misma rama al mismo tiempo puede causar conflictos o trabajo perdido. En su lugar, cread sub-ramas separadas para que cada persona tenga su propio espacio para trabajar. Los nombres de abajo son solo ejemplos. Repartid el trabajo de la forma que tenga sentido para vuestro equipo.
Get a teleporter functioning in your sceneHaz que un teletransportador funcione en tu escenaCreateCrear
One of the main things to try in this challenge is reusing something that already works. Find the nodes or gameplay elements you need in an existing scene, copy them into your own, and see if you can get them working there. You don't need to understand everything inside them yet.Una de las cosas principales que probar en este reto es reutilizar algo que ya funciona. Encuentra los nodos o elementos de juego que necesites en una escena existente, cópialos en la tuya y prueba si puedes hacerlos funcionar ahí. Todavía no hace falta que entiendas todo lo que hay dentro de ellos.
Your challenge scene doesn't have a teleporter yet, but teleporter_test_2 does. Instead of building one from scratch, you're going to borrow and the pieces it needs.Tu escena del reto todavía no tiene un teletransportador, pero teleporter_test_2 sí. En vez de construir uno desde cero, vas a tomar prestado y las piezas que necesita.
- In teleporter_test_2, En teleporter_test_2,
- Copy its spawn point into your challenge scene, too. The teleporter needs a spawn point to know where the player should appear. They are kind of a package deal.Copia también su punto de aparición en tu escena del reto. El teletransportador necesita un punto de aparición para saber dónde debe aparecer el jugador. Son como un paquete.
- Give the teleporter and spawn point useful names if it will help you keep track of them. DoorToTheCabin is easier to find later than SceneToSceneTeleporter2.Ponles nombres útiles al teletransportador y al punto de aparición si eso te ayuda a no perderles la pista. PuertaDeLaCabaña se encuentra luego más fácil que SceneToSceneTeleporter2.
- Move the teleporter and spawn point where you want them. so you only move the object you intended.Mueve el teletransportador y el punto de aparición a donde quieras. para mover solo el objeto que querías.
- Now . Click the teleporter node in your scene and select the spawn point from the drop-down in the Inspector. If you add more spawn points later, they will appear in this drop-down too.Ahora . Haz clic en el nodo del teletransportador en tu escena y elige el punto de aparición en el desplegable del Inspector. Si añades más puntos de aparición después, aparecerán también en este desplegable.
- Run the scene and test the teleporter. If you come out the other side, it works.Ejecuta la escena y prueba el teletransportador. Si sales por el otro lado, funciona.
optionalopcional
Want an extra challenge?¿Quieres un reto extra?
The teleporter can also move the player between two different scenes. Watch the example, then see if you can make the teleporter in your challenge scene send the player back to teleporter_test_2.El teletransportador también puede mover al jugador entre dos escenas distintas. Mira el ejemplo y luego prueba si puedes hacer que el teletransportador de tu escena del reto envíe al jugador de vuelta a teleporter_test_2.
For scene-to-scene teleporting, give the teleporter two things:Para teletransportar entre escenas, dale al teletransportador dos cosas:
- The path to the scene you want the player to go to.La ruta de la escena a la que quieres que vaya el jugador.
- A spawn point in that destination scene where the player should appear.Un punto de aparición en esa escena de destino donde debe aparecer el jugador.
The scene you are leaving does not need its own spawn point for this teleporter.La escena de la que sales no necesita su propio punto de aparición para este teletransportador.
Go draw a teleporter!¡Ve a dibujar un teletransportador!CreateCrear
The visual style of Threadbare is . Use one of the tools below, or a tool of your own. For this first pixel-art drawing, keep it small and simple. A 32 × 32 or 64 × 64 canvas and a limited color palette let you focus on the shape, idea, and personality of your image instead of tiny details.El estilo visual de Threadbare es . Usa una de las herramientas de abajo, o una propia. Para este primer dibujo de pixel art, mantenlo pequeño y sencillo. Un lienzo de 32 × 32 o 64 × 64 y una paleta de colores limitada te dejan centrarte en la forma, la idea y la personalidad de tu imagen en vez de en detalles diminutos.
- Consider one of these basic tools to draw your picture.Considera una de estas herramientas básicas para dibujar tu imagen.
- PixelStitchPixelStitchStart hereEmpieza aquí
- PiskelPiskel
- Resize your canvas to 32 × 32 or 64 × 64.Cambia el tamaño de tu lienzo a 32 × 32 o 64 × 64.
- Draw your teleporter.Dibuja tu teletransportador.
- Pixel Art Tip: Try using clear and to add depth without creating lots of tiny details.Consejo de pixel art: prueba a usar claros y para dar profundidad sin crear un montón de detalles diminutos.
- Save the image to your computer, then add it to your Godot project using the FileSystem panel.Guarda la imagen en tu ordenador y luego añádela a tu proyecto de Godot usando el panel FileSystem.
Add your image to the teleporterAñade tu imagen al teletransportadorCreateCrear
To get the image into the scene, you need a node that will hold it and draw it into your scene. That node is called a .Para llevar la imagen a la escena necesitas un nodo que la sostenga y la dibuje en tu escena. Ese nodo se llama .
- Select the teleporter in the Scene tree.Selecciona el teletransportador en el árbol de escena.
- Add a Sprite2D node to your scene.Añade un nodo Sprite2D a tu escena.
- Find your drawing in the FileSystem panel — search for it by name if it is quicker.Busca tu dibujo en el panel FileSystem — búscalo por nombre si es más rápido.
- Attach the drawing to the Sprite2D's Texture field in the Inspector — the node is empty until you do.Adjunta el dibujo al campo Texture del Sprite2D en el Inspector — el nodo está vacío hasta que lo haces.
- Move the image in your viewport so your artwork sits where you want it on top of the working teleporter. You should also move the Sprite2D node in your Scene tree to be underneath, or as a of, the teleporter node. This way the two nodes are grouped and move together when you want to adjust them in the scene.Mueve la imagen en el viewport para que tu ilustración quede donde quieras encima del teletransportador que funciona. También deberías mover el nodo Sprite2D en tu árbol de escena para que quede debajo del nodo del teletransportador, o como un de él. Así los dos nodos quedan agrupados y se mueven juntos cuando quieras ajustarlos en la escena.
- Run the scene, see whether it looks the way you wanted, and adjust.Ejecuta la escena, mira si se ve como querías, y ajusta.
You just practiced a pattern you'll use often in Godot: add a node, find a resource in the FileSystem, and assign it in the Inspector.Acabas de practicar un patrón que usarás a menudo en Godot: añadir un nodo, encontrar un recurso en el FileSystem y asignarlo en el Inspector.
You've done it when…Lo has logrado cuando…
your teleporter works in your scene, has a visual look of your own, and moves the player where you intended.tu teletransportador funciona en tu escena, tiene un aspecto visual propio y mueve al jugador a donde pretendías.
If you get stuck…Si te atascas…
TipsTrucos
Small things that'll save you timeCosas pequeñas que te ahorran tiempo
- Nodes stack on top of each other in the viewport, and you'll end up dragging the wrong one around. Click the node in the Scene tree first, then use the move tool () above the viewport. Now dragging only moves what you meant.Los nodos se apilan unos sobre otros en el viewport, y acabarás arrastrando el equivocado. Haz clic en el nodo en el árbol de escena primero, y luego usa la herramienta de mover () encima del viewport. Ahora arrastrar solo mueve lo que querías.
- F6 runs the scene you have open. F5 runs the project's main scene, which isn't yours.F6 ejecuta la escena que tienes abierta. F5 ejecuta la escena principal del proyecto, que no es la tuya.
- Lost something you placed? Select it in the Scene tree and press F with your mouse over the viewport.¿Perdiste algo que colocaste? Selecciónalo en el árbol de escena y pulsa F con el ratón sobre el viewport.
- Made a change you want to take back? The Undo changes section of the Developing your game with Backstitch guide shows you how.¿Hiciste un cambio que quieres deshacer? La sección Deshacer cambios de la guía Developing your game with Backstitch te muestra cómo.