A wide variety of unique text effects for your C# console applications, all simplified in this library!
I feel like this is useless but yeah... I made a C# Library B)
<ItemGroup>
<Reference Include="TextEffects">
<HintPath>..\Dlls\TextEffects.dll</HintPath>
</Reference>
</ItemGroup>
Make sure to include the library before proceeding any further.
using TextEffects;
Typewriter.Type();
Typewriter.TypeLine();
Typewriter.List();
Typewriter.TypeList();
This is a simple effect that will allow you to easily integrate a typewritten animation.
Typewriter.Type(message, typeSpeed);
Typewriter.TypeLine(message, typeSpeed);
The 'message' must be defined using a String
.
The 'typeSpeed' parameter can only be defined using an Int
type. As the name suggests, with this you can adjust the typing speed of the message.
Typewriter.Type("Hello World!", 75);
Hello World!
Typewriter.TypeLine("Hello World!", 75);
H
e
l
l
o
W
o
r
l
d
!
Similarly to Typeline
, this effect types out .
Typewriter.Typeline(effect, message, typeSpeed);
The 'message' must be defined using a String[]
.
The 'typeSpeed' parameter can only be defined using an Int
type. As the name suggests, with this you can adjust the typing speed of the message.
string[] myList =
{
"1. Hello World!",
"2. This is a list!",
"3. It is typed by each letter and then line!",
"Goodbye for now..."
};
Typewriter.Type(myList, 75);
1. Hello World!
2. This is a list!
3. It is typed by each letter and then line!
Goodbye for now...
string[] myList =
{
"1. Hello World!",
"2. This is a list!",
"3. It is typed by each line!",
"Goodbye for now..."
};
Typewriter.TypeList(myList, 75);
1. Hello World!
2. This is a list!
3. It is typed by each line!
Goodbye for now...
Animation.Spinner();
The spinner can be easily defined with just one short line and is suitable for when in the need
Animation.Spinner(type, animSpeed, rotations);
The 'type' parameter must be defined using an Int
.
The 'animSpeed' parameter can only be defined using an Int
type. As the name suggests, with this you can adjust the animation speed of the spinner.
The 'rotations' parameter, defined using an Int
type, it sets the amount of rotations needed.
Animation.Spinner(0, 100, 50);
/-\\|