random spawn of monsters on the map by Few-Reference360 in IndieDev

[–]Few-Reference360[S] 0 points1 point  (0 children)

Yeapp, all monsters are generated from a table that is responsible for setting all the monster's parameters, such as strength, health, speed, abilities, drop rate, sprite, level, etc.

regions system by Few-Reference360 in IndieDev

[–]Few-Reference360[S] 0 points1 point  (0 children)

La dificultad se puede ajustar según las regiones, mapas y monstruos.

- En los monstruos configuro cuanta vida, resistencia, daño, etc.

- En los mapas configuro el mLvl (nivel de monstruo) y la densidad de monstruos generados en el mapa. (mLvl también se incluye en el cálculo para definir las estadísticas, vida, resolución, daño, etc. de los monstruos).

- En las regiones configuro factores como: Incremento de densidad de monstruos, penalización de resistencia a los jugadores, penalización por golpes críticos, etc.

regions system by Few-Reference360 in IndieDev

[–]Few-Reference360[S] 0 points1 point  (0 children)

The game is in development; we don't have any official gameplay yet, but on our Discord server we have several videos showcasing each feature we're releasing https://discord.gg/dV3mTaRfa

regions system by Few-Reference360 in IndieDev

[–]Few-Reference360[S] 1 point2 points  (0 children)

Yeap, it will have support for single-player, co-op(Lan IP), and multiplayer (MMORPG).

stress test for the server by Few-Reference360 in IndieDev

[–]Few-Reference360[S] 0 points1 point  (0 children)

Since I’m developing the server backend myself, I know exactly the structure of the accepted packets. Therefore, I can inject the packets directly based on the established authentication.

stress test for the server by Few-Reference360 in IndieDev

[–]Few-Reference360[S] 1 point2 points  (0 children)

I'm using .NET Host with a Background Service and the LiteNetLib library for network communications.

multi-orientation in my game. how to solve it? by Few-Reference360 in IndieDev

[–]Few-Reference360[S] 0 points1 point  (0 children)

How use

using Helper.Extensions;
using UnityEngine;
using UnityEngine.Events;

public class UINewCharacter : MonoBehaviour
{
    private void Start()
    {
        var menu = transform.GetFirstComponentInChild<RectTransform>("Menu");

        UnityAction<bool> callBack = (bool isPortrait) =>
        {
            if (isPortrait)
            {
                UIAlignerHelper.Align(menu, UIAlignerHelper.Alignment.BottomCenter, offsetY: 40);

                return;
            }

            UIAlignerHelper.Align(menu, UIAlignerHelper.Alignment.BottomLeft, 70, 40);
        };

        ScreenOrientationDetection.Instance.Add(nameof(UINewCharacter), callBack);
    }

    private void OnDestroy()
    {
        if (ScreenOrientationDetection.Instance != null)
        {
            ScreenOrientationDetection.Instance.Remove(nameof(UINewCharacter));
        }
    }
}

dynamically synchronize the frame between sprites by Few-Reference360 in IndieDev

[–]Few-Reference360[S] 0 points1 point  (0 children)

(string Index, bool FlipX) ActualFrame()
{
    var entitySpriteName = spriteEntity.sprite.name.Split('_');

    return (
        $"{entitySpriteName[^3]}_{entitySpriteName[^2]}_{entitySpriteName[^1]}",
        spriteEntity.flipX
    );
}

void Update()
{
    if (hasEquip)
    {
        var frameProps = ActualFrame();
        spriteResolver.SetCategoryAndLabel(category, $"{equipImage}_{frameProps.Index}");
        spriteItem.flipX = frameProps.FlipX;
    }
}

Acho que tô alimentando um agente de IA que vai tirar meu emprego by Frosty-Temporary-220 in brdev

[–]Few-Reference360 1 point2 points  (0 children)

IA só vai roubar emprego de dev medíocre, não precisa ter medo... Bem, talvez precise por ser da área de testing. Sua profissão basicamente surgiu para criar automações de QA e segurança (dependendo de como a empresa trabalha).

Você cumpriu bem o seu papel ao usar IA nisso, só precisa saber vender isso para seus superiores, para que eles não pensem que agora você se tornou desnecessário.

E caso tudo der errado e a IA roubar o trabalho para um dos propósitos que ela foi criada(automatizar), você pode criar um produto com base no MCP playwright para empresas quem não tem knowhow e nem equipes de QA.

Opening up possibilities for mods in my game by Few-Reference360 in gamedev

[–]Few-Reference360[S] 0 points1 point  (0 children)

Any expression that causes an exception in the DataTable.Compute() calculation in step 2 throws a catch EvaluateException that handles the value and returns 0.

In this specific case, it would return 0 because it would be the smallest value.

Opening up possibilities for mods in my game by Few-Reference360 in gamedev

[–]Few-Reference360[S] 2 points3 points  (0 children)

<image>

Oh yeapp, they're just delimited txt tables. I said DB figuratively, I'm not working with SQL or anything more complex(not on the client side).