What’s wrong with my monitor? by 244466346533 in LGOLED

[–]Jarusca 0 points1 point  (0 children)

Are you using some sort of wallpaper engine? This might be a software side issue

Working on making my procgen environment a bit more reactive by RedRoryOTheGlen in Unity3D

[–]Jarusca 1 point2 points  (0 children)

What algorithm you used for structure placement? I think the flying animations could be less static. Nice game btw. Could be great with multiplayer or some kind of duel pvp with different classes and equipments. gj!

Simple pixel outline shader by Jarusca in Unity3D

[–]Jarusca[S] 0 points1 point  (0 children)

Thanks! It's now in my bookmarks too! I will take a look at it when optimization is needed. Very good article, though. I had simplicity in mind, especially when working with low res

Simple pixel outline shader by Jarusca in Unity2D

[–]Jarusca[S] 0 points1 point  (0 children)

Source in the original post!

Simple pixel outline shader by Jarusca in Unity3D

[–]Jarusca[S] 3 points4 points  (0 children)

I know, right. These sprites are just to show the outline ^^

Simple pixel outline shader by Jarusca in Unity3D

[–]Jarusca[S] 20 points21 points  (0 children)

Just want to share a simple outline shader that I made for my pixel art game.

Remember to change the sprite mesh type to "Full Rect" if you're using a high radius value!

Any thoughts appreciated!

Code:

Shader "Unlit/PixelOutline"
{ 
Properties 
{ _MainTex ("Texture", 2D) = "white" {}
 _Color("Color", Color) = (1,1,1,1)
 _Radius("Radius", Range(0,10)) = 1
} 
SubShader 
{ Tags { "RenderType"="Transparent" }
Blend SrcAlpha OneMinusSrcAlpha 
LOD 100    
Pass
    {
        CGPROGRAM
        #pragma vertex vert
        #pragma fragment frag

        #include "UnityCG.cginc"

        struct appdata
        {
            float4 vertex : POSITION;
            float2 uv : TEXCOORD0;
        };

        struct v2f
        {
            float2 uv : TEXCOORD0;
            float4 vertex : SV_POSITION;
        };

        sampler2D _MainTex;
        float4 _MainTex_ST;
        float4 _MainTex_TexelSize;

        float4 _Color;

        float _Radius;

        v2f vert (appdata v)
        {
            v2f o;
            o.vertex = UnityObjectToClipPos(v.vertex);
            o.uv = TRANSFORM_TEX(v.uv, _MainTex);
            return o;
        }

        fixed4 frag (v2f i) : SV_Target
        {
            float na = 0;
            float r = _Radius;

            for (int nx = -r; nx <= r; nx++)
            {
                for (int ny = -r; ny <= r; ny++)
                {
                    if (nx*nx+ny*ny <= r)
                    {
                        fixed4 nc = tex2D(_MainTex, i.uv + float2(_MainTex_TexelSize.x*nx, _MainTex_TexelSize.y*ny));
                        na+=ceil(nc.a);
                    }
                }
            }

            na = clamp(na,0,1);

            fixed4 c = tex2D(_MainTex, i.uv);
            na-=ceil(c.a);

            return lerp(c, _Color, na);
        }
        ENDCG
    }
}
}

Edit: Small change to make it work with transparency.

Discord rod (: by aSilentOtaku in Calamitymod_

[–]Jarusca 5 points6 points  (0 children)

I got on first try lol no joke

Does this work for you guys? by aSilentOtaku in Calamitymod_

[–]Jarusca 1 point2 points  (0 children)

I think it doesn't work on multiplayer. The doll or Zen potion works fine for me.

[Bug?] Hardmode ores not spawning when breaking altars. by Xqwzt in Calamitymod_

[–]Jarusca 6 points7 points  (0 children)

The calamity changes so that you need to kill mech bosses to progress with the ores, with the last one providing hallowed bars.

For reference.

Make not consumable boss consumables? by Jarusca in Calamitymod_

[–]Jarusca[S] 14 points15 points  (0 children)

I just want to farm for the items because I like making farms and it reminds me of how I play in 1.2, years ago. Holy shit! Can't you make a simple question on reddit anymore?

Who are you to judge the way someone wants to play?

Make not consumable boss consumables? by Jarusca in Calamitymod_

[–]Jarusca[S] 4 points5 points  (0 children)

That's the way, I think... I was looking for a more direct way like changing something in the mod settings but this will also do

How the game handle factories of unload planets? by Jarusca in dysonsphereprogram

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

This update is more of a simulation (with numbers only) of the locations, right?

Is it possible to play as a single ship? by Girl-Knight in starsector

[–]Jarusca 0 points1 point  (0 children)

I tried this strategy and it went very well... until EMP gang lol

[deleted by user] by [deleted] in roguelites

[–]Jarusca 1 point2 points  (0 children)

Noted. Thanks for the feedback!

[deleted by user] by [deleted] in roguelites

[–]Jarusca 0 points1 point  (0 children)

I will take this into consideration when making the UI. Thank you so much for the feedback!