|
1 | | -## Build variants |
| 1 | +## Variantes de build |
2 | 2 |
|
3 | | -When you bundle a game, you need to choose what type of engine you wish to use. You have three basic options: |
| 3 | +Cuando creas un bundle de un juego, debes elegir qué tipo de motor quieres usar. Tienes tres opciones básicas: |
4 | 4 |
|
5 | 5 | * Debug |
6 | 6 | * Release |
7 | 7 | * Headless |
8 | 8 |
|
9 | | -These different versions are also referred to as `Build variants` |
| 9 | +Estas diferentes versiones también se denominan `Build variants`. |
10 | 10 |
|
11 | 11 | <div class='sidenote' markdown='1'> |
12 | | -When you choose <kbd>Project ▸ Build</kbd> you'll always get the debug version. |
| 12 | +Cuando eliges <kbd>Project ▸ Build</kbd>, siempre obtendrás la versión de depuración. |
13 | 13 | </div> |
14 | 14 |
|
15 | 15 |
|
16 | 16 | ### Debug |
17 | 17 |
|
18 | | -This type of executable is typically used during development of a game as it has several useful debugging features included: |
| 18 | +Este tipo de ejecutable se usa normalmente durante el desarrollo de un juego, ya que incluye varias funcionalidades útiles de depuración: |
19 | 19 |
|
20 | | -* Profiler - Used for gathering performance and usage counters. Learn how to use the profiler in the [Profiling manual](/manuals/profiling/). |
21 | | -* Logging - The engine will log system information, warnings and errors when logging is enabled. The engine will also output logs from the Lua `print()` function and from native extensions logging using `dmLogInfo()`, `dmLogError()` and so on. Learn how to read these logs in the [Game and System Logs manual](https://defold.com/manuals/debugging-game-and-system-logs/). |
22 | | -* Hot reload - Hot-reload is a powerful feature which lets a developer reload resource while the game is running. Learn how to use this in the [Hot-Reload manual](https://defold.com/manuals/hot-reload/). |
23 | | -* Engine services - It is possible to connect to and interact with a debug version of a game through a number of different open TCP ports and services. The services include the hot-reload feature, remote log access and the profiler mentioned above, but also other services to remotely interact with the engine. Learn more about the engine services [in the developer documentation](https://github.com/defold/defold/blob/dev/engine/docs/DEBUG_PORTS_AND_SERVICES.md). |
| 20 | +* Profiler - Se usa para recopilar contadores de rendimiento y uso. Aprende cómo usar el profiler en el [manual de profiling](/manuals/profiling/). |
| 21 | +* Logging - El motor registrará información del sistema, advertencias y errores cuando el logging esté habilitado. El motor también generará logs desde la función Lua `print()` y desde el logging de extensiones nativas que use `dmLogInfo()`, `dmLogError()` y similares. Aprende cómo leer estos logs en el [manual de logs del juego y del sistema](https://defold.com/manuals/debugging-game-and-system-logs/). |
| 22 | +* Hot reload - Hot-reload es una funcionalidad potente que permite a un desarrollador recargar recursos mientras el juego se está ejecutando. Aprende cómo usarla en el [manual de Hot-Reload](https://defold.com/manuals/hot-reload/). |
| 23 | +* Servicios del motor - Es posible conectarse a una versión de depuración de un juego e interactuar con ella mediante varios puertos TCP abiertos y servicios. Los servicios incluyen la funcionalidad hot-reload, acceso remoto a logs y el profiler mencionado antes, además de otros servicios para interactuar de forma remota con el motor. Aprende más sobre los servicios del motor [en la documentación para desarrolladores](https://github.com/defold/defold/blob/dev/engine/docs/DEBUG_PORTS_AND_SERVICES.md). |
24 | 24 |
|
25 | 25 |
|
26 | 26 | ### Release |
27 | 27 |
|
28 | | -This variant has the debugging features disabled. This options should be chosen when the game is ready to be released to the app store or in other ways shared with players. It is not recommended to release a game with the debugging features enabled for a number of reasons: |
| 28 | +Esta variante tiene las funcionalidades de depuración deshabilitadas. Esta opción debe elegirse cuando el juego esté listo para publicarse en la tienda de aplicaciones o compartirse con jugadores por otros medios. No se recomienda publicar un juego con las funcionalidades de depuración habilitadas por varias razones: |
29 | 29 |
|
30 | | -* The debugging features take up a little bit of size in the binary, and [it is a best practice to try to keep the binary size of a released game as small as possible](https://defold.com/manuals/optimization/#optimize-application-size). |
31 | | -* The debugging features takes a little bit of CPU time as well. This can impact the performance of the game if a user has a low-end hardware. On mobile phones the increased CPU usage will also contribute to heating and battery drain. |
32 | | -* The debugging features may expose information about the game that is not intended for the eyes of the players, either from a security, cheating or fraud perspective. |
| 30 | +* Las funcionalidades de depuración ocupan un poco de espacio en el binario, y [es una buena práctica intentar mantener el tamaño del binario de un juego publicado lo más pequeño posible](https://defold.com/manuals/optimization/#optimize-application-size). |
| 31 | +* Las funcionalidades de depuración también consumen un poco de tiempo de CPU. Esto puede afectar el rendimiento del juego si un usuario tiene hardware de gama baja. En teléfonos móviles, el aumento del uso de CPU también contribuirá al calentamiento y al consumo de batería. |
| 32 | +* Las funcionalidades de depuración pueden exponer información sobre el juego que no está destinada a los jugadores, ya sea desde una perspectiva de seguridad, trampas o fraude. |
33 | 33 |
|
34 | 34 |
|
35 | 35 | ### Headless |
36 | 36 |
|
37 | | -This executable runs without any graphics and sound. It means that you can run the game unit/smoke tests on a CI server, or even have it as a game server in the cloud. |
| 37 | +Este ejecutable se ejecuta sin gráficos ni sonido. Esto significa que puedes ejecutar las pruebas unitarias o de humo del juego en un servidor de CI, o incluso usarlo como servidor de juego en la nube. |
0 commit comments