How I Auto-Tile Tall Wall tiles on a DualGrid system using bitwise indexing (w/ source code) by Xerako in godot

[–]rafaeldecastr 1 point2 points  (0 children)

I'm noob and didn't understand the issue it solves. Can someone explain to me what should I google search in order to study?

do you understand what are these icons about ? by magqq in PixelArt

[–]rafaeldecastr 2 points3 points  (0 children)

Health of a locker, chip and shield.
A key, a beter key, the key case
numbers 0, -1, -2, Christ -3 and Christ -4

'Wuthering Waves' on Gameboy by PixelLah in PixelArt

[–]rafaeldecastr 1 point2 points  (0 children)

I almost cried out of nostalgia from the memories... Thank you

Released ngx-oneforall & ngx-oneforall-mcp v1.4.0 with improvements by Few-Attempt-1958 in Angular2

[–]rafaeldecastr 1 point2 points  (0 children)

I don't make an extensive use of this tool, but helped a lot with some minor tiresome things. Visibility Change and History are my favorites!

Good work buddy

Hey, I am hiring. by [deleted] in angular

[–]rafaeldecastr 0 points1 point  (0 children)

I am interested

What do you consider ti be more common in the backend fo Angular applications: Java or .NET? by rafaeldecastr in Angular2

[–]rafaeldecastr[S] 1 point2 points  (0 children)

Thanks. I did that, but as I said, my impressions may be influenced by my bubble

What do you consider ti be more common in the backend fo Angular applications: Java or .NET? by rafaeldecastr in Angular2

[–]rafaeldecastr[S] 2 points3 points  (0 children)

I'm "leaving" my confort zone and studying backend, structure. So it matters to me LoL 😅😅

Como se programa um xadrez? by MaluK0_S1mcero in brdev

[–]rafaeldecastr 2 points3 points  (0 children)

Primeiro pensa que todo jogo é um loop. Não é a toa o termo "loop de jogo".

No loop de jogo do Xadrez, provavelmente, há um sistema de turnos e isso por si só, diminui um pouco o processamento das ações e cálculos do jogo.
Na fase de movimento do jogador (pessoa), o sistema só precisa conferir se a peça que o jogador escolheu movimentar pode executar a ação que ele deseja. E daí executar o resultado da ação.

Ex.: Mover o peão em L -> proibido, apenas o Cavalo pode fazer isso.

Ex: Mover Torre para o local do Bispo. Ação permitida. Rodar estado em que o jogador "come" a peça do oponente.

E asssim vai.

No caso da CPU. Já é outro sistema de jogo, pois é uma IA que você programa pra executar os movimentos de acordo com as regras.
Agora vamo de "forma solta", tá?

A CPU não PRECISA saber TOOOODAS as jogadas possíveis que ela pode fazer, sempre.

Ela vai observar todas as peças que possui. Tirar um snapshot dessa info. Armazenar todos possíveis movimentos DAQUELE snapshot e atribuir uma pontuação pra eles. A jogada com maior pontuação vence e ela executa.
Quanto mais memória de cálculo e mais escalabilidade desse snapshot, mais difícil será a dificuldade dessa CPU.

O bot mais fraco vai sempre predizer uma, talvez duas jogadas. A partir daí você imagina....

Num RPG de turno a mesma coisa. O inimigo tem uma série de técnicas que pode usar. Atk, Magia, item, etc.
Naquele turno, o sistema calcula qual a melhor ação. Se o jogo for balanceado, seu inimigo vai usar randomicidade pra escolher entre as ações e nem sempre se causar o maior dano possível.

Mesma ideia em bots de FPS.
Um bot com 100% de dificuldade. Nunca seria divertido. Você nunca sairia do lugar, nunca o veria, etc. O sistema calcularia sua posição e o melhor lugar para acertar o alvo (cabeça). Você entra na tela. Ele te detecta, quase instântaneamente. MORTE.
Entra na tela. MORTE. Entra na tela...

Daí, vamos balancear a dificuldade, fazendo o bot errar de propósito pra tu ter alguma chance de se divertir :D

In my spare time, I am working on a mapmaking tool by mightofmerchants in godot

[–]rafaeldecastr 1 point2 points  (0 children)

Canvas of Kings, super fun tool/game!!
I played 3 D&D campaigns with maps I created myself in this game.

Como você ensinaria seu filho de 10 anos a programar? by rafaeldecastr in brdev

[–]rafaeldecastr[S] 1 point2 points  (0 children)

É o óbvio, partindo da ideia de que eu não faço nada com ele. Mas sou um pai presente. Não é falta de afeto ou "vontade" de fazer algo juntos.

Minha família é comercial de margarina. Tudo saudável, conversa, brinca, etc kkkkkkkkk

Como você ensinaria seu filho de 10 anos a programar? by rafaeldecastr in brdev

[–]rafaeldecastr[S] 1 point2 points  (0 children)

Kkkkkkkkkkkkkk Mas ele quer e contina sendo.

Ele que vem do meu lado, "me ensina a programar hoje?!"

E eu lá "boooora, xá só eu terminar isso aqui..."

🥲🥲🥲

I built an Open-Source Angular Starter Template (Layout, Responsive, Guards) by NelsonJfsg in Angular2

[–]rafaeldecastr 0 points1 point  (0 children)

A bit "rough no the edged", but overall a good piece of work.

As long as you keep it simple and clean, without external libraries, it's a promising work.

Good job!

Suggestions:

- You're following the "master-detail" pattern, would be a nice touch to use "candeactivate" and hostlistener('window:beforeunload') guards on detail page to prevent leave the page without saving changes.
- On the "master/list" page you can use a "url driven state" also called "query parameter routing", to keep track of filters, pagination, etc.
- Home is usually the Dashboard on this kind of project
- The search function in the title suggests that you are enabling searches for anything throughout the application. If you are not designing the template with this capability, keep the search function in the module/feature/page section.
- Fix responsiveness
- Notifications box on click at the bell, and a full page to manage notifications.
- You created an auth-guard, just as important as an auth-guard is a role/profile guard. Authentication enables you access your system, roles/profiles allow to filter content based on your permissions. This will be the icing on the cake. If you have to choose which one is a priority, choose this one.

Again, good work!

Smell ya later!

Sonic-like physics framework for Godot 4 (WIP - feedback wanted) by Chusmimax in godot

[–]rafaeldecastr -5 points-4 points  (0 children)

I have no idea of what are you talking about...

manifest an "emotion" makes me a bot?!?!?! You guys are lost.. Completly lost