Jump to content

srunobantana

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by srunobantana

  1. >>>>>>> [PT] Vamos criar um personagem andando corretamente com o Universal LPC Spritesheet Generator. Geramos a imagem "Walk.png" e recortamos os frames automaticamente com um cĂłdigo em Python que eu desenvolvi. [EN] Let's create a walking character correctly using theUniversal LPC Spritesheet Generator. We generate the "Walk.png" image and crop the frames automatically with a Python script I developed. [PT] Para nĂŁo alongar o tutorial, vou ensinar apenas como recortar automaticamente a imagem "Walk.png", gerada pelo Universal LPC Spritesheet Generator, usando um cĂłdigo em Python que desenvolvi. [EN] To keep this tutorial short, I'll show only how to automatically crop the "Walk.png" image, generated by the Universal LPC Spritesheet Generator, using a Python script I created. [PT] Primeiro passo: Crie seu personagem no Universal LPC Spritesheet Generator. NĂŁo vou ensinar a montar o modelo para deixar o tutorial mais objetivo. Solte sua imaginação — Ă© bem simples e prĂĄtico. [EN] Step one: Create your character using the Universal LPC Spritesheet Generator. I won’t cover how to design the model to keep this tutorial simple. Just use your creativity — it’s easy and intuitive. [PT] Segundo passo: ApĂłs finalizar seu personagem, clique em “Spritesheet split animation images, credits, JSON (zip)” para gerar o arquivo compactado. [EN] Step two: After finishing your character, click on “Spritesheet split animation images, credits, JSON (zip)” to generate the zipped file. [PT] Usando o WinRAR, extraia a pasta obtida pelo botĂŁo “Spritesheet split animation images, credits, JSON (zip)”. Dentro dessa pasta, vocĂȘ encontrarĂĄ os seguintes arquivos: backslash.png, climb.png, combat_idle.png, emote.png, halfslash.png, hurt.png, idle.png, jump.png, run.png, shoot.png, sit.png, slash.png, spellcast.png, thrust.png e "walk.png". Por enquanto, o seu foco serĂĄ apenas no arquivo "walk.png". Arraste esse arquivo para sua Área de Trabalho para facilitar o acesso. [EN] Using WinRAR, extract the folder downloaded via the button “Spritesheet split animation images, credits, JSON (zip)”. This folder contains the following files: backslash.png, climb.png, combat_idle.png, emote.png, halfslash.png, hurt.png, idle.png, jump.png, run.png, shoot.png, sit.png, slash.png, spellcast.png, thrust.png, and "walk.png". For now, focus only on the "walk.png" file. Drag this file to your Desktop for easier access. https://ascensiongamedev.com/resources/filehost/b31eeffcd645fa8b5fb0d6dc6821af53.mp4 [PT]🚀 Instalação – Etapa Final (90% ConcluĂ­do!) Agora estamos na etapa final, que pode parecer um pouco chata, mas fique tranquilo: vocĂȘ sĂł precisarĂĄ fazer isso uma Ășnica vez. Depois de configurado, nunca mais precisarĂĄ repetir o processo. Para executar meu cĂłdigo, que foi desenvolvido em Python, Ă© necessĂĄrio instalar o Python na sua mĂĄquina. Mas nĂŁo se preocupe — Ă© muito mais simples do que parece! [EN]🚀 Installation – Final Step (90% Completed!) Now we are at the final step, which may seem a bit boring, but don’t worry: you’ll only need to do this once. After everything is set up, you won’t need to do it again. To run my code, which was developed in Python, you need to install Python on your computer. But don’t worry — it’s much simpler than it sounds! [PT] Instalar a Biblioteca NecessĂĄria Abra o Prompt de Comando (CMD) do Windows e digite o seguinte comando oficial do Python: pip install pillow 📄 Caso queira, vocĂȘ pode acessar a documentação oficial do Python aqui. [EN] Install the Required Library Open the Windows Command Prompt (CMD) and type the following official Python command: pip install pillow 📄 If you want, you can access the official Pillow documentation here. [PT]đŸ€” Perguntas Frequentes Por que vocĂȘ nĂŁo envia o cĂłdigo jĂĄ em um executĂĄvel (.exe) para Windows, em vez do cĂłdigo fonte em Python? đŸ”č Resposta: Eu atĂ© poderia gerar um arquivo walk.exe, porĂ©m existe um problema comum: quando criamos executĂĄveis de scripts em Python, alguns antivĂ­rus acusam como vĂ­rus ou ameaça, mesmo que o cĂłdigo seja totalmente seguro. Isso acontece porque a linguagem Python tambĂ©m Ă© utilizada por hackers para desenvolver scripts maliciosos — e, por precaução, os antivĂ­rus classificam como de "alto risco" qualquer arquivo compilado desse tipo. Por esse motivo, prefiro manter o cĂłdigo em formato open source (cĂłdigo aberto). Assim, vocĂȘ pode simplesmente copiar o conteĂșdo, colar no Bloco de Notas, salvar com o nome: walk.py E executar diretamente na sua mĂĄquina, de forma simples, transparente e segura. [EN]đŸ€” Frequently Asked Questions (FAQ) Why don’t you send the code already as an executable (.exe) for Windows instead of the Python source code? đŸ”č Answer: I could generate a walk.exe file, but there’s a common problem: when we create executable files from Python scripts, some antivirus software will flag it as a virus or a threat — even if the code is completely safe. This happens because Python is also used by hackers to create malicious scripts, so as a precaution, antivirus programs often classify these executables as “high risk.” For this reason, I prefer to keep the code in open-source format. This way, you can simply copy the content, paste it into Notepad, save it with the name: walk.py And run it directly on your computer — in a simple, transparent, and safe way. [PT]⚙ Executando o Script – Recorte AutomĂĄtico da Imagem ApĂłs concluir a instalação do Python na sua mĂĄquina, faça o download do cĂłdigo que realizarĂĄ automaticamente o recorte da sua imagem "Walk.png". 🔗 Link do arquivo: Auto_Walk.py 💡 Observação: Se vocĂȘ nĂŁo se sentir confortĂĄvel em baixar o arquivo, por questĂŁo de segurança ou confiança, vocĂȘ mesmo pode criar manualmente o arquivo. ✔ Basta abrir o Bloco de Notas, criar um arquivo com o nome: Auto_Walk.py E colar nele o seguinte cĂłdigo: 📜 CĂłdigo: [EN]⚙ Running the Script – Automatic Image Cropping After completing the Python installation on your computer, download the code that will automatically crop your image "Wal.png". 🔗 File link: Auto_Walk.py 💡 Note: If you don’t feel comfortable downloading the file — for safety or trust reasons — you can easily create the file yourself manually. ✔ Simply open Notepad, create a file named: Auto_Walk.py And paste the following code into it: 📜 Code: [PT]🎯 Etapa Final – Executando o Script Chegamos Ă  etapa final! 🎉 A partir daqui, vocĂȘ nĂŁo precisarĂĄ mais repetir nenhum dos processos deste tutorial. ✔ Agora Ă© simples: pegue sua imagem chamada "Walk.png", coloque ela na mesma pasta onde estĂĄ o arquivo "Auto_Walk.py", e execute o script. 🔾 O script funcionarĂĄ automaticamente, desde que a imagem "Walk.png" esteja na mesma pasta que o arquivo "Auto_Walk.py". đŸ—‚ïž Exemplo de estrutura da pasta: NomeDaPasta ├── Auto_Walk.py └── Walk.png [EN]🎯 Final Step – Running the Script This is the final step! 🎉 From here, you won’t need to repeat any of the steps in this tutorial. ✔ It’s simple: take your image named "Walk.png", place it in the same folder where the file "Auto_Walk.py" is located, and run the script. 🔾 The script will work automatically as long as "Walk.png" is in the same folder as "Auto_Walk.py". đŸ—‚ïž Example of folder structure: FolderName ├── Auto_Walk.py └── Walk.png [PT] VĂ­deo mostrando como recortar automaticamente a imagem “walk.png”. Siga os passos do vĂ­deo para que tudo funcione corretamente. Em caso de dĂșvidas, me chame no Discord. [EN] Video showing how to automatically crop the “walk.png” image. Follow the steps in the video to make everything work correctly. If you have any questions, feel free to contact me on Discord. https://s3.us-east-2.amazonaws.com/ascensiongamedev/filehost/52eae037e3444928a5cbc5cdc8b3b0b4.mp4
  2. Thank you very much for your contribution.
  3. Ta quase: https://ascensiongamedev.com/resources/filehost/cfa8c203d3d4c8a9bd53c09faddd92b1.mp4
  4. OlĂĄ, pessoal! Sou iniciante e estou com uma dĂșvida. AlguĂ©m teria um vĂ­deo tutorial que ensina como aplicar sprites no Editor de Classes do Intersect? NĂŁo estou conseguindo fazer o personagem se movimentar corretamente. O Intersect Editor sĂł suporta o tamanho e a quantidade de frames dos sprites padrĂŁo, ou Ă© possĂ­vel configurar tamanhos diferentes? Walk: Idle: SpellCast:
×
×
  • Create New...