diff options
Diffstat (limited to 'src/loop.rb')
| -rw-r--r-- | src/loop.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/loop.rb b/src/loop.rb new file mode 100644 index 0000000..dea40a4 --- /dev/null +++ b/src/loop.rb @@ -0,0 +1,18 @@ + + +#Lautrec = Rl::Texture.new('./assets/lancelot_.png') +#Lautrec_Source = Rl::Rectangle.new(0,0,24,24) +#Position = Rl::Rectangle.new(0,0,48,48) +#Origin = Rl::Vector2.new(0,0) + + +Rl.while_window_open do + + Rl.draw(clear_color: WHITE) do + #Rl.draw_texture_pro(texture: Lautrec, origin: Origin, source: Lautrec_Source, dest: Position) + #draw_texture_pro(texture:, source:, dest:, origin: Rl::Vector.new(0,0), rotation: 0, tint: Rl::Color.new(255,255,255,255)) + FECS::Stage.call + end +end + + |
