yay

Commit 6e9960b01c1c · silentevermore · 2026-10-07 20:06 +0300

Changeset
6e9960b01c1c7796c8981155906f6f1b08bec02b

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/.gitignore b/.gitignore
--- a/.gitignore
+++ b/.gitignore
@@ -26,3 +26,4 @@
 # Added by cargo
 
 /target
+neorun.json
diff --git a/src/main.rs b/src/main.rs
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,15 @@
+use sola_raylib::{self, color::Color, drawing::RaylibDraw};
+
 fn main() {
-    println!("Hello, world!");
+   let (mut rl, rl_thd) = sola_raylib::init()
+       .title("ESOTERA")
+       .size(400, 200)
+       .build();
+
+    while !rl.window_should_close() {
+        let mut d = rl.begin_drawing(&rl_thd);
+        d.clear_background(Color::BLACK);
+        d.draw_fps(12, 48);
+        d.draw_text("Bye, world.", 12, 12, 20, Color::WHITE);
+    }
 }