From 9485a6def7b7dc3f3c8e8d5c067aa23f1ba0b3a0 Mon Sep 17 00:00:00 2001 From: Thalisson Date: Fri, 25 Apr 2025 14:50:17 -0300 Subject: [PATCH] traducao da pasta README --- README.md | 74 +++++++++++++++++++++++++++++++++---------------------- 1 file changed, 44 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index 98fc10d..8905687 100644 --- a/README.md +++ b/README.md @@ -1,44 +1,58 @@ -# Minecraft, but I made it in 48 hours* +# Minecraft, mas eu fiz em 48 horas* -\* I've actually updated it since - [see this commit for the 48 hour version](https://github.com/jdah/minecraft-weekend/tree/cb19738305804b5734faa7118c1c784f26ff9463). +\* Na verdade eu atualizei ele depois — [veja este commit para a versão de 48 horas](https://github.com/jdah/minecraft-weekend/tree/cb19738305804b5734faa7118c1c784f26ff9463). ![screenshot](screenshots/1.png) -#### Features: -- Infinite, procedurally generated world -- Infinite height/depth -- Day/night cycle -- Biomes -- ECS-driven player and entities with full collision and movement -- Full RGB lighting -- Full transparency + translucency support -- Sprite blocks (flowers) -- Animated blocks (water + lava) -- Distance fog -- A whole lot of different block types -- More +#### Funcionalidades: +- Mundo infinito, gerado proceduralmente +- Altura/profundidade infinitas +- Ciclo de dia e noite +- Biomas +- Jogador e entidades baseadas em ECS, com colisão e movimento completos +- Iluminação RGB completa +- Suporte total a transparência e translucidez +- Blocos com sprites (flores) +- Blocos animados (água e lava) +- Névoa de distância +- Muitos tipos diferentes de blocos +- E mais -#### Building +#### Compilação -##### Unix-like -`$ git clone --recurse-submodules https://github.com/jdah/minecraft-weekend.git`\ -`$ make` +##### Sistemas Unix-like (Linux, macOS) +```bash +$ git clone --recurse-submodules https://github.com/jdah/minecraft-weekend.git +$ make +``` -The following static libraries under `lib/` must be built before the main project can be built: +As seguintes bibliotecas estáticas dentro de `lib/` devem ser compiladas antes do projeto principal: -- GLAD `lib/glad/src/glad.o` -- CGLM `lib/cglm/.libs/libcglm.a` -- GLFW `lib/glfw/src/libglfw3.a` -- libnoise `lib/noise/libnoise.a` +- GLAD: `lib/glad/src/glad.o` +- CGLM: `lib/cglm/.libs/libcglm.a` +- GLFW: `lib/glfw/src/libglfw3.a` +- libnoise: `lib/noise/libnoise.a` -All of the above have their own Makefile under their respective subdirectory and can be built with `$ make libs`. -If libraries are not found, ensure that submodules have been cloned. +Todas essas bibliotecas possuem seus próprios arquivos Makefile dentro de seus subdiretórios e podem ser compiladas com: +```bash +$ make libs +``` -The game binary, once built with `$ make`, can be found in `./bin/`. +Se as bibliotecas não forem encontradas, certifique-se de que os submódulos foram clonados corretamente. -*Be sure* to run with `$ ./bin/game` out of the root directory of the repository. -If you are getting "cannot open file" errors (such as "cannot find ./res/shaders/*.vs"), this is the issue. +O executável do jogo, após a compilação com `$ make`, será encontrado em `./bin/`. + +**Tenha certeza** de rodar com: +```bash +$ ./bin/game +``` +a partir do diretório raiz do repositório. + +Se você estiver recebendo erros como “não foi possível abrir o arquivo” (ex: "cannot find ./res/shaders/*.vs"), provavelmente está executando fora do diretório correto. ##### Windows -good luck 🤷‍♂️ probably try building under WSL and using an X environment to pass graphics through. +Boa sorte 🤷‍♂️ provavelmente tente compilar usando WSL (Subsistema do Windows para Linux) e um ambiente gráfico para exibir os gráficos. + + +#### PARA FELIPE: As alteracoes que fiz foi apenas traduzir este arquivo do ingles para o portugues