Skip to content

Instantly share code, notes, and snippets.

@diethyltoluamide
Created November 18, 2021 01:25
Show Gist options
  • Save diethyltoluamide/6be58236dcae8c6647b79f6b20e12879 to your computer and use it in GitHub Desktop.
Save diethyltoluamide/6be58236dcae8c6647b79f6b20e12879 to your computer and use it in GitHub Desktop.
using System;
using Raylib_cs;
/* --------------------------------------------------------
A basic template for the Raylib-cs package by ChrisDill.
Template made by me, but can be used by everyone!
--------------------------------------------------------
*/
namespace Raylib_cs_template
{
class Program
{
static void Main(string[] args)
{
Raylib.InitWindow(800, 450, "Hello World!");
do
{
Raylib.ClearBackground(Color.WHITE);
Raylib.BeginDrawing();
Raylib.DrawText("Hello World!", 10, 225, 40, Color.BLACK);
Raylib.EndDrawing();
}
while (!Raylib.WindowShouldClose());
Raylib.CloseWindow();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment