diff options
| author | realtradam <[email protected]> | 2022-01-22 19:45:54 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2022-01-22 19:45:54 -0500 |
| commit | 2a0220c3dbafaca3f1b711cb77d49bb29f0e0c2e (patch) | |
| tree | d1b1fb5ef7db062dcd93a189d01494cf46aa69e9 /src/loop.rb | |
| parent | 943bffc40953b95e9d07aeda0b4b87ac7be848fd (diff) | |
| download | orc-arena-of-time-2a0220c3dbafaca3f1b711cb77d49bb29f0e0c2e.tar.gz orc-arena-of-time-2a0220c3dbafaca3f1b711cb77d49bb29f0e0c2e.zip | |
working movement
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 + + |
