Przeglądaj źródła

Added introduction sprites...

master
Ognjen Milan Robovic 1 tydzień temu
rodzic
commit
16db1d8efd
3 zmienionych plików z 10 dodań i 1 usunięć
  1. +10
    -1
      source/main.adb
  2. BIN
      sprite/ashland_preview.png
  3. BIN
      sprite/game_title.png

+ 10
- 1
source/main.adb Wyświetl plik

@@ -44,6 +44,9 @@ procedure main is
swap_text_box_panel'access
);

game_title : sprite;
ashland_preview : sprite;

------------------------------------------------------------------------------------------

procedure check_move_camera_up is
@@ -105,7 +108,10 @@ procedure main is

procedure introduction is
begin
core.write ("[-- Please press Spacebar to continue]", 0, center_y (24), (102, 102, 102, 255));
draw (ashland_preview, center_x (ashland_preview.width * 2), center_y (ashland_preview.height * 2), factor => 2);
draw (game_title, center_x (game_title.width * 2), center_y (game_title.height * 2), factor => 2);
--
write ("[-- Please press Spacebar to continue]", 0, center_y (24), (102, 102, 102, 255));
end introduction;

------------------------------------------------------------------------------------------
@@ -197,6 +203,9 @@ begin

camera := (1, 1);

game_title := import_sprite ("./sprite/game_title.png", 1, 1);
ashland_preview := import_sprite ("./sprite/ashland_preview.png", 1, 1);

------------------------------------------------------------------------------------------

introduction_loop: loop


BIN
sprite/ashland_preview.png Wyświetl plik

Przed Po
Szerokość: 320  |  Wysokość: 240  |  Rozmiar: 2.4KB

BIN
sprite/game_title.png Wyświetl plik

Przed Po
Szerokość: 128  |  Wysokość: 32  |  Rozmiar: 597B

Ładowanie…
Anuluj
Zapisz