Last change for today...

This commit is contained in:
Ognjen Milan Robovic 2024-05-01 15:28:30 -04:00
parent 1ab1daff56
commit d875d13ee6
2 changed files with 4 additions and 4 deletions

View File

@ -131,7 +131,7 @@ begin
world.configure;
ai.configure;
world.make (world.rough, 40, 20);
world.make (world.rough, 140, 120);
core.dash;
core.echo (core.success, "Successfully initialized game data, entering main gameplay loop.");
@ -169,7 +169,7 @@ begin
--
menu_render;
--
--~ui.draw_fill_bar (600, 400, 400, 0.3);
ui.draw_fill_bar (64, core.window_height - 56, 320, 0.7);
--
chad.draw_pepe;
--

View File

@ -128,8 +128,8 @@ package body world is
y => offset.y + (move_y - core.camera.y) * core.base * core.zoom,
u => u,
v => v,
width => core.base-1,
height => core.base-1);
width => core.base,
height => core.base);
--
if core.cursor.x > offset.x + (move_x - core.camera.x ) * core.base * core.zoom
and core.cursor.x < offset.x + (move_x - core.camera.x + 1) * core.base * core.zoom