Created
November 18, 2021 01:25
-
-
Save diethyltoluamide/6be58236dcae8c6647b79f6b20e12879 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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