Parcourir la source

Last change for today...

master
Ognjen Milan Robovic il y a 1 mois
Parent
révision
d875d13ee6
2 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. +2
    -2
      source/main.adb
  2. +2
    -2
      source/world.adb

+ 2
- 2
source/main.adb Voir le fichier

@@ -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;
--


+ 2
- 2
source/world.adb Voir le fichier

@@ -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


Chargement…
Annuler
Enregistrer