Getting Started
Note: This is an automatic translation from Russian. It looks good enough, but there may be inaccuracies. We are sorry for the inconvenience.
The TeravQuest library is written in the C# programming language, so you need a development environment and the corresponding SDK to get started.
The easiest way is to download and install Microsoft Visual Studio . Community Edition is completely free and has everything you need to get started. After installation, in workloads select .NET to install the required SDKs.
Then download the archive with the library from the downloads section of this site.
If you chose the option with a ready-made project, then just unpack the archive and run the project file. You can start writing a game.
If you chose the option containing only engine files, you will need to connect them to your project in your development environment.
Create a project and place the files from the archive into its root folder. All these files must also be located in the folder with the compiled game. Connect the TeravQuest.dll library to the project. Also the project must have the System.Windows.Forms dependency. The target platform must be .NET Core 3.1.
Create a game class, for example, MyGame, inheriting from the Game class and implement the program entry point as follows:
[STAThread]
static void Main(string[] args)
{
MyGame game = new MyGame();
game.Run();
}
Note that the Main function must be marked with the [STAThread] attribute.