diff --git a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_001.png b/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_001.png deleted file mode 100644 index 218003c..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_001.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_001_Battler.png b/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_001_Battler.png deleted file mode 100644 index 6fe4903..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_001_Battler.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_002.png b/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_002.png deleted file mode 100644 index f35a3ae..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_002.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_002_Battler.png b/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_002_Battler.png deleted file mode 100644 index 08c0a1c..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_002_Battler.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_003.png b/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_003.png deleted file mode 100644 index 9ef9e6f..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_003.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_003_Battler.png b/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_003_Battler.png deleted file mode 100644 index 8fa8533..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_003_Battler.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_004.png b/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_004.png deleted file mode 100644 index 5af6560..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_004.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_004_Battler.png b/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_004_Battler.png deleted file mode 100644 index b70e094..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_004_Battler.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_005.png b/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_005.png deleted file mode 100644 index 1ef97c8..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_005.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_005_Battler.png b/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_005_Battler.png deleted file mode 100644 index 25b2e52..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_005_Battler.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_006.png b/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_006.png deleted file mode 100644 index 4071083..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_006.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_006_Battler.png b/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_006_Battler.png deleted file mode 100644 index d31cc70..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_006_Battler.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_007.png b/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_007.png deleted file mode 100644 index 238432e..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_007.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_007_Battler.png b/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_007_Battler.png deleted file mode 100644 index 6e761bf..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/16x16/Character_007_Battler.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_001.png b/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_001.png deleted file mode 100644 index b43caf6..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_001.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_001_Battler.png b/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_001_Battler.png deleted file mode 100644 index 3afd61d..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_001_Battler.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_002.png b/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_002.png deleted file mode 100644 index 1f3f7b9..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_002.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_002_Battler.png b/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_002_Battler.png deleted file mode 100644 index 89c3184..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_002_Battler.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_003.png b/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_003.png deleted file mode 100644 index 1ce453d..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_003.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_003_Battler.png b/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_003_Battler.png deleted file mode 100644 index 73b42c7..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_003_Battler.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_004.png b/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_004.png deleted file mode 100644 index 3cfcb42..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_004.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_004_Battler.png b/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_004_Battler.png deleted file mode 100644 index 7ce6944..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_004_Battler.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_005.png b/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_005.png deleted file mode 100644 index e7c31c8..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_005.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_005_Battler.png b/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_005_Battler.png deleted file mode 100644 index 7fa404a..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_005_Battler.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_006.png b/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_006.png deleted file mode 100644 index 33d553f..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_006.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_006_Battler.png b/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_006_Battler.png deleted file mode 100644 index f04051d..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_006_Battler.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_007.png b/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_007.png deleted file mode 100644 index ad5f4b8..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_007.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_007_Battler.png b/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_007_Battler.png deleted file mode 100644 index f3b2d9f..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/32x32/Character_007_Battler.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/License.txt b/assets/Fantasy Dreamland - Sprites (Free)/License.txt deleted file mode 100644 index 8e7bbda..0000000 --- a/assets/Fantasy Dreamland - Sprites (Free)/License.txt +++ /dev/null @@ -1,12 +0,0 @@ -License: - You are free to use, personal or commercial projects. - You can edit/modify to fit your game. - Credits are appreciated. - -You cannot: - Sell this asset pack, not even modified. - Claim this asset is yours. - -Artwork created by ElvGames. -Follow me on Twitter! -https://twitter.com/ElvGames \ No newline at end of file diff --git a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/$Character_001.png b/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/$Character_001.png deleted file mode 100644 index 80d6377..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/$Character_001.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/$Character_002.png b/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/$Character_002.png deleted file mode 100644 index fb4d1a5..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/$Character_002.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/$Character_003.png b/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/$Character_003.png deleted file mode 100644 index c9327fd..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/$Character_003.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/$Character_004.png b/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/$Character_004.png deleted file mode 100644 index 03ff862..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/$Character_004.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/$Character_005.png b/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/$Character_005.png deleted file mode 100644 index 794e0d0..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/$Character_005.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/$Character_006.png b/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/$Character_006.png deleted file mode 100644 index 430bf6a..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/$Character_006.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/$Character_007.png b/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/$Character_007.png deleted file mode 100644 index e751005..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/$Character_007.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/Character_001_Battler.png b/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/Character_001_Battler.png deleted file mode 100644 index d86aa35..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/Character_001_Battler.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/Character_002_Battler.png b/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/Character_002_Battler.png deleted file mode 100644 index 59d3170..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/Character_002_Battler.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/Character_003_Battler.png b/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/Character_003_Battler.png deleted file mode 100644 index 8b0bbaf..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/Character_003_Battler.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/Character_004_Battler.png b/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/Character_004_Battler.png deleted file mode 100644 index 73ba6fe..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/Character_004_Battler.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/Character_005_Battler.png b/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/Character_005_Battler.png deleted file mode 100644 index d7761de..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/Character_005_Battler.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/Character_006_Battler.png b/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/Character_006_Battler.png deleted file mode 100644 index 32c7b8b..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/Character_006_Battler.png and /dev/null differ diff --git a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/Character_007_Battler.png b/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/Character_007_Battler.png deleted file mode 100644 index fddbabc..0000000 Binary files a/assets/Fantasy Dreamland - Sprites (Free)/RPG Maker MV,MZ/Character_007_Battler.png and /dev/null differ diff --git a/assets/fire/guide.png b/assets/fire/guide.png new file mode 100644 index 0000000..c52b978 Binary files /dev/null and b/assets/fire/guide.png differ diff --git a/assets/fire/png/blue/end/burning_end_1.png b/assets/fire/png/blue/end/burning_end_1.png new file mode 100644 index 0000000..a7953e8 Binary files /dev/null and b/assets/fire/png/blue/end/burning_end_1.png differ diff --git a/assets/fire/png/blue/end/burning_end_2.png b/assets/fire/png/blue/end/burning_end_2.png new file mode 100644 index 0000000..accf0dc Binary files /dev/null and b/assets/fire/png/blue/end/burning_end_2.png differ diff --git a/assets/fire/png/blue/end/burning_end_3.png b/assets/fire/png/blue/end/burning_end_3.png new file mode 100644 index 0000000..6a5a002 Binary files /dev/null and b/assets/fire/png/blue/end/burning_end_3.png differ diff --git a/assets/fire/png/blue/end/burning_end_4.png b/assets/fire/png/blue/end/burning_end_4.png new file mode 100644 index 0000000..6d07d19 Binary files /dev/null and b/assets/fire/png/blue/end/burning_end_4.png differ diff --git a/assets/fire/png/blue/end/burning_end_5.png b/assets/fire/png/blue/end/burning_end_5.png new file mode 100644 index 0000000..54342a6 Binary files /dev/null and b/assets/fire/png/blue/end/burning_end_5.png differ diff --git a/assets/fire/png/blue/loops/burning_loop_1.png b/assets/fire/png/blue/loops/burning_loop_1.png new file mode 100644 index 0000000..ebd3b6f Binary files /dev/null and b/assets/fire/png/blue/loops/burning_loop_1.png differ diff --git a/assets/fire/png/blue/loops/burning_loop_1_144x192.png b/assets/fire/png/blue/loops/burning_loop_1_144x192.png new file mode 100644 index 0000000..11ae488 Binary files /dev/null and b/assets/fire/png/blue/loops/burning_loop_1_144x192.png differ diff --git a/assets/fire/png/blue/loops/burning_loop_2.png b/assets/fire/png/blue/loops/burning_loop_2.png new file mode 100644 index 0000000..5eefa1a Binary files /dev/null and b/assets/fire/png/blue/loops/burning_loop_2.png differ diff --git a/assets/fire/png/blue/loops/burning_loop_3.png b/assets/fire/png/blue/loops/burning_loop_3.png new file mode 100644 index 0000000..3f5432d Binary files /dev/null and b/assets/fire/png/blue/loops/burning_loop_3.png differ diff --git a/assets/fire/png/blue/loops/burning_loop_4.png b/assets/fire/png/blue/loops/burning_loop_4.png new file mode 100644 index 0000000..c565ca0 Binary files /dev/null and b/assets/fire/png/blue/loops/burning_loop_4.png differ diff --git a/assets/fire/png/blue/loops/burning_loop_5.png b/assets/fire/png/blue/loops/burning_loop_5.png new file mode 100644 index 0000000..9a83a42 Binary files /dev/null and b/assets/fire/png/blue/loops/burning_loop_5.png differ diff --git a/assets/fire/png/blue/start/burning_start_1.png b/assets/fire/png/blue/start/burning_start_1.png new file mode 100644 index 0000000..a4f139f Binary files /dev/null and b/assets/fire/png/blue/start/burning_start_1.png differ diff --git a/assets/fire/png/blue/start/burning_start_2.png b/assets/fire/png/blue/start/burning_start_2.png new file mode 100644 index 0000000..290a7a8 Binary files /dev/null and b/assets/fire/png/blue/start/burning_start_2.png differ diff --git a/assets/fire/png/blue/start/burning_start_3.png b/assets/fire/png/blue/start/burning_start_3.png new file mode 100644 index 0000000..401f983 Binary files /dev/null and b/assets/fire/png/blue/start/burning_start_3.png differ diff --git a/assets/fire/png/blue/start/burning_start_4.png b/assets/fire/png/blue/start/burning_start_4.png new file mode 100644 index 0000000..3982a99 Binary files /dev/null and b/assets/fire/png/blue/start/burning_start_4.png differ diff --git a/assets/fire/png/blue/start/burning_start_5.png b/assets/fire/png/blue/start/burning_start_5.png new file mode 100644 index 0000000..d917a8b Binary files /dev/null and b/assets/fire/png/blue/start/burning_start_5.png differ diff --git a/assets/fire/png/green/end/burning_end_1.png b/assets/fire/png/green/end/burning_end_1.png new file mode 100644 index 0000000..47db7ae Binary files /dev/null and b/assets/fire/png/green/end/burning_end_1.png differ diff --git a/assets/fire/png/green/end/burning_end_2.png b/assets/fire/png/green/end/burning_end_2.png new file mode 100644 index 0000000..f509868 Binary files /dev/null and b/assets/fire/png/green/end/burning_end_2.png differ diff --git a/assets/fire/png/green/end/burning_end_3.png b/assets/fire/png/green/end/burning_end_3.png new file mode 100644 index 0000000..9330b24 Binary files /dev/null and b/assets/fire/png/green/end/burning_end_3.png differ diff --git a/assets/fire/png/green/end/burning_end_4.png b/assets/fire/png/green/end/burning_end_4.png new file mode 100644 index 0000000..ac8a32e Binary files /dev/null and b/assets/fire/png/green/end/burning_end_4.png differ diff --git a/assets/fire/png/green/end/burning_end_5.png b/assets/fire/png/green/end/burning_end_5.png new file mode 100644 index 0000000..f8c774a Binary files /dev/null and b/assets/fire/png/green/end/burning_end_5.png differ diff --git a/assets/fire/png/green/loops/burning_loop_1.png b/assets/fire/png/green/loops/burning_loop_1.png new file mode 100644 index 0000000..25f3bab Binary files /dev/null and b/assets/fire/png/green/loops/burning_loop_1.png differ diff --git a/assets/fire/png/green/loops/burning_loop_2.png b/assets/fire/png/green/loops/burning_loop_2.png new file mode 100644 index 0000000..e26e31e Binary files /dev/null and b/assets/fire/png/green/loops/burning_loop_2.png differ diff --git a/assets/fire/png/green/loops/burning_loop_3.png b/assets/fire/png/green/loops/burning_loop_3.png new file mode 100644 index 0000000..4a7c321 Binary files /dev/null and b/assets/fire/png/green/loops/burning_loop_3.png differ diff --git a/assets/fire/png/green/loops/burning_loop_4.png b/assets/fire/png/green/loops/burning_loop_4.png new file mode 100644 index 0000000..bb3e117 Binary files /dev/null and b/assets/fire/png/green/loops/burning_loop_4.png differ diff --git a/assets/fire/png/green/loops/burning_loop_5.png b/assets/fire/png/green/loops/burning_loop_5.png new file mode 100644 index 0000000..8deed00 Binary files /dev/null and b/assets/fire/png/green/loops/burning_loop_5.png differ diff --git a/assets/fire/png/green/start/burning_start_1.png b/assets/fire/png/green/start/burning_start_1.png new file mode 100644 index 0000000..6f506a0 Binary files /dev/null and b/assets/fire/png/green/start/burning_start_1.png differ diff --git a/assets/fire/png/green/start/burning_start_2.png b/assets/fire/png/green/start/burning_start_2.png new file mode 100644 index 0000000..4758c77 Binary files /dev/null and b/assets/fire/png/green/start/burning_start_2.png differ diff --git a/assets/fire/png/green/start/burning_start_3.png b/assets/fire/png/green/start/burning_start_3.png new file mode 100644 index 0000000..81e3527 Binary files /dev/null and b/assets/fire/png/green/start/burning_start_3.png differ diff --git a/assets/fire/png/green/start/burning_start_4.png b/assets/fire/png/green/start/burning_start_4.png new file mode 100644 index 0000000..169a0f3 Binary files /dev/null and b/assets/fire/png/green/start/burning_start_4.png differ diff --git a/assets/fire/png/green/start/burning_start_5.png b/assets/fire/png/green/start/burning_start_5.png new file mode 100644 index 0000000..a3b035a Binary files /dev/null and b/assets/fire/png/green/start/burning_start_5.png differ diff --git a/assets/fire/png/orange/end/burning_end_1.png b/assets/fire/png/orange/end/burning_end_1.png new file mode 100644 index 0000000..0eef0c6 Binary files /dev/null and b/assets/fire/png/orange/end/burning_end_1.png differ diff --git a/assets/fire/png/orange/end/burning_end_2.png b/assets/fire/png/orange/end/burning_end_2.png new file mode 100644 index 0000000..1facec1 Binary files /dev/null and b/assets/fire/png/orange/end/burning_end_2.png differ diff --git a/assets/fire/png/orange/end/burning_end_3.png b/assets/fire/png/orange/end/burning_end_3.png new file mode 100644 index 0000000..3deb071 Binary files /dev/null and b/assets/fire/png/orange/end/burning_end_3.png differ diff --git a/assets/fire/png/orange/end/burning_end_4.png b/assets/fire/png/orange/end/burning_end_4.png new file mode 100644 index 0000000..b85c544 Binary files /dev/null and b/assets/fire/png/orange/end/burning_end_4.png differ diff --git a/assets/fire/png/orange/end/burning_end_5.png b/assets/fire/png/orange/end/burning_end_5.png new file mode 100644 index 0000000..59c8cb9 Binary files /dev/null and b/assets/fire/png/orange/end/burning_end_5.png differ diff --git a/assets/fire/png/orange/loops/burning_loop_1.png b/assets/fire/png/orange/loops/burning_loop_1.png new file mode 100644 index 0000000..0fdee0a Binary files /dev/null and b/assets/fire/png/orange/loops/burning_loop_1.png differ diff --git a/assets/fire/png/orange/loops/burning_loop_2.png b/assets/fire/png/orange/loops/burning_loop_2.png new file mode 100644 index 0000000..8dd004a Binary files /dev/null and b/assets/fire/png/orange/loops/burning_loop_2.png differ diff --git a/assets/fire/png/orange/loops/burning_loop_3.png b/assets/fire/png/orange/loops/burning_loop_3.png new file mode 100644 index 0000000..18a74ef Binary files /dev/null and b/assets/fire/png/orange/loops/burning_loop_3.png differ diff --git a/assets/fire/png/orange/loops/burning_loop_4.png b/assets/fire/png/orange/loops/burning_loop_4.png new file mode 100644 index 0000000..280879f Binary files /dev/null and b/assets/fire/png/orange/loops/burning_loop_4.png differ diff --git a/assets/fire/png/orange/loops/burning_loop_5.png b/assets/fire/png/orange/loops/burning_loop_5.png new file mode 100644 index 0000000..370d78f Binary files /dev/null and b/assets/fire/png/orange/loops/burning_loop_5.png differ diff --git a/assets/fire/png/orange/start/burning_start_1.png b/assets/fire/png/orange/start/burning_start_1.png new file mode 100644 index 0000000..f75de4a Binary files /dev/null and b/assets/fire/png/orange/start/burning_start_1.png differ diff --git a/assets/fire/png/orange/start/burning_start_2.png b/assets/fire/png/orange/start/burning_start_2.png new file mode 100644 index 0000000..db0cd6d Binary files /dev/null and b/assets/fire/png/orange/start/burning_start_2.png differ diff --git a/assets/fire/png/orange/start/burning_start_3.png b/assets/fire/png/orange/start/burning_start_3.png new file mode 100644 index 0000000..914fb9d Binary files /dev/null and b/assets/fire/png/orange/start/burning_start_3.png differ diff --git a/assets/fire/png/orange/start/burning_start_4.png b/assets/fire/png/orange/start/burning_start_4.png new file mode 100644 index 0000000..4a8da3b Binary files /dev/null and b/assets/fire/png/orange/start/burning_start_4.png differ diff --git a/assets/fire/png/orange/start/burning_start_5.png b/assets/fire/png/orange/start/burning_start_5.png new file mode 100644 index 0000000..07162e0 Binary files /dev/null and b/assets/fire/png/orange/start/burning_start_5.png differ diff --git a/assets/fire/png/purple/end/burning_end_1.png b/assets/fire/png/purple/end/burning_end_1.png new file mode 100644 index 0000000..50b340a Binary files /dev/null and b/assets/fire/png/purple/end/burning_end_1.png differ diff --git a/assets/fire/png/purple/end/burning_end_2.png b/assets/fire/png/purple/end/burning_end_2.png new file mode 100644 index 0000000..e2e2aa5 Binary files /dev/null and b/assets/fire/png/purple/end/burning_end_2.png differ diff --git a/assets/fire/png/purple/end/burning_end_3.png b/assets/fire/png/purple/end/burning_end_3.png new file mode 100644 index 0000000..a357514 Binary files /dev/null and b/assets/fire/png/purple/end/burning_end_3.png differ diff --git a/assets/fire/png/purple/end/burning_end_4.png b/assets/fire/png/purple/end/burning_end_4.png new file mode 100644 index 0000000..54e7ed5 Binary files /dev/null and b/assets/fire/png/purple/end/burning_end_4.png differ diff --git a/assets/fire/png/purple/end/burning_end_5.png b/assets/fire/png/purple/end/burning_end_5.png new file mode 100644 index 0000000..5e92ee8 Binary files /dev/null and b/assets/fire/png/purple/end/burning_end_5.png differ diff --git a/assets/fire/png/purple/loops/burning_loop_1.png b/assets/fire/png/purple/loops/burning_loop_1.png new file mode 100644 index 0000000..3f2ab90 Binary files /dev/null and b/assets/fire/png/purple/loops/burning_loop_1.png differ diff --git a/assets/fire/png/purple/loops/burning_loop_2.png b/assets/fire/png/purple/loops/burning_loop_2.png new file mode 100644 index 0000000..f99f67c Binary files /dev/null and b/assets/fire/png/purple/loops/burning_loop_2.png differ diff --git a/assets/fire/png/purple/loops/burning_loop_3.png b/assets/fire/png/purple/loops/burning_loop_3.png new file mode 100644 index 0000000..6639ede Binary files /dev/null and b/assets/fire/png/purple/loops/burning_loop_3.png differ diff --git a/assets/fire/png/purple/loops/burning_loop_4.png b/assets/fire/png/purple/loops/burning_loop_4.png new file mode 100644 index 0000000..185c398 Binary files /dev/null and b/assets/fire/png/purple/loops/burning_loop_4.png differ diff --git a/assets/fire/png/purple/loops/burning_loop_5.png b/assets/fire/png/purple/loops/burning_loop_5.png new file mode 100644 index 0000000..01d18ed Binary files /dev/null and b/assets/fire/png/purple/loops/burning_loop_5.png differ diff --git a/assets/fire/png/purple/start/burning_start_1.png b/assets/fire/png/purple/start/burning_start_1.png new file mode 100644 index 0000000..93517be Binary files /dev/null and b/assets/fire/png/purple/start/burning_start_1.png differ diff --git a/assets/fire/png/purple/start/burning_start_2.png b/assets/fire/png/purple/start/burning_start_2.png new file mode 100644 index 0000000..aba8384 Binary files /dev/null and b/assets/fire/png/purple/start/burning_start_2.png differ diff --git a/assets/fire/png/purple/start/burning_start_3.png b/assets/fire/png/purple/start/burning_start_3.png new file mode 100644 index 0000000..a90e58b Binary files /dev/null and b/assets/fire/png/purple/start/burning_start_3.png differ diff --git a/assets/fire/png/purple/start/burning_start_4.png b/assets/fire/png/purple/start/burning_start_4.png new file mode 100644 index 0000000..96c8ea0 Binary files /dev/null and b/assets/fire/png/purple/start/burning_start_4.png differ diff --git a/assets/fire/png/purple/start/burning_start_5.png b/assets/fire/png/purple/start/burning_start_5.png new file mode 100644 index 0000000..e847d6f Binary files /dev/null and b/assets/fire/png/purple/start/burning_start_5.png differ diff --git a/assets/fire/png/white/end/burning_end_1.png b/assets/fire/png/white/end/burning_end_1.png new file mode 100644 index 0000000..400b646 Binary files /dev/null and b/assets/fire/png/white/end/burning_end_1.png differ diff --git a/assets/fire/png/white/end/burning_end_2.png b/assets/fire/png/white/end/burning_end_2.png new file mode 100644 index 0000000..35af52a Binary files /dev/null and b/assets/fire/png/white/end/burning_end_2.png differ diff --git a/assets/fire/png/white/end/burning_end_3.png b/assets/fire/png/white/end/burning_end_3.png new file mode 100644 index 0000000..6bc69b7 Binary files /dev/null and b/assets/fire/png/white/end/burning_end_3.png differ diff --git a/assets/fire/png/white/end/burning_end_4.png b/assets/fire/png/white/end/burning_end_4.png new file mode 100644 index 0000000..ad6634d Binary files /dev/null and b/assets/fire/png/white/end/burning_end_4.png differ diff --git a/assets/fire/png/white/end/burning_end_5.png b/assets/fire/png/white/end/burning_end_5.png new file mode 100644 index 0000000..879a12d Binary files /dev/null and b/assets/fire/png/white/end/burning_end_5.png differ diff --git a/assets/fire/png/white/loops/burning_loop_1.png b/assets/fire/png/white/loops/burning_loop_1.png new file mode 100644 index 0000000..d40ddbc Binary files /dev/null and b/assets/fire/png/white/loops/burning_loop_1.png differ diff --git a/assets/fire/png/white/loops/burning_loop_2.png b/assets/fire/png/white/loops/burning_loop_2.png new file mode 100644 index 0000000..3e61533 Binary files /dev/null and b/assets/fire/png/white/loops/burning_loop_2.png differ diff --git a/assets/fire/png/white/loops/burning_loop_3.png b/assets/fire/png/white/loops/burning_loop_3.png new file mode 100644 index 0000000..693cf30 Binary files /dev/null and b/assets/fire/png/white/loops/burning_loop_3.png differ diff --git a/assets/fire/png/white/loops/burning_loop_4.png b/assets/fire/png/white/loops/burning_loop_4.png new file mode 100644 index 0000000..01daf9f Binary files /dev/null and b/assets/fire/png/white/loops/burning_loop_4.png differ diff --git a/assets/fire/png/white/loops/burning_loop_5.png b/assets/fire/png/white/loops/burning_loop_5.png new file mode 100644 index 0000000..0651d99 Binary files /dev/null and b/assets/fire/png/white/loops/burning_loop_5.png differ diff --git a/assets/fire/png/white/start/burning_start_1.png b/assets/fire/png/white/start/burning_start_1.png new file mode 100644 index 0000000..e0c6fa3 Binary files /dev/null and b/assets/fire/png/white/start/burning_start_1.png differ diff --git a/assets/fire/png/white/start/burning_start_2.png b/assets/fire/png/white/start/burning_start_2.png new file mode 100644 index 0000000..d7d4a9d Binary files /dev/null and b/assets/fire/png/white/start/burning_start_2.png differ diff --git a/assets/fire/png/white/start/burning_start_3.png b/assets/fire/png/white/start/burning_start_3.png new file mode 100644 index 0000000..ca8555f Binary files /dev/null and b/assets/fire/png/white/start/burning_start_3.png differ diff --git a/assets/fire/png/white/start/burning_start_4.png b/assets/fire/png/white/start/burning_start_4.png new file mode 100644 index 0000000..e745d6a Binary files /dev/null and b/assets/fire/png/white/start/burning_start_4.png differ diff --git a/assets/fire/png/white/start/burning_start_5.png b/assets/fire/png/white/start/burning_start_5.png new file mode 100644 index 0000000..5d09b16 Binary files /dev/null and b/assets/fire/png/white/start/burning_start_5.png differ diff --git a/assets/fire/readme.TXT b/assets/fire/readme.TXT new file mode 100644 index 0000000..31a2930 --- /dev/null +++ b/assets/fire/readme.TXT @@ -0,0 +1,21 @@ +Thank you for purchasing this asset pack! Please note that all next updates of this pack are free for you. + +If you find this asset useful, please rate it on itch! Thanks! + +Contact: + +If you have any questions regarding this asset pack you can contact me here: + +E-Mail: brullov.ad@gmail.com +Twitter: https://twitter.com/brullov_art + +If you want to support me, get access to my private Discord server where you can suggest asset improvements, check my Patreon. + +https://www.patreon.com/brullov + +Price will increase with asset's updates. + +Check the guide.png for useful info about how to use animations properly. + + + diff --git a/lesson#28 - Player movement and animation/ourGame/.gitignore b/lesson#28 - Simple spritesheet animation/ourGame/.gitignore similarity index 100% rename from lesson#28 - Player movement and animation/ourGame/.gitignore rename to lesson#28 - Simple spritesheet animation/ourGame/.gitignore diff --git a/lesson#28 - Player movement and animation/ourGame/dub.json b/lesson#28 - Simple spritesheet animation/ourGame/dub.json similarity index 100% rename from lesson#28 - Player movement and animation/ourGame/dub.json rename to lesson#28 - Simple spritesheet animation/ourGame/dub.json diff --git a/lesson#28 - Player movement and animation/ourGame/dub.selections.json b/lesson#28 - Simple spritesheet animation/ourGame/dub.selections.json similarity index 100% rename from lesson#28 - Player movement and animation/ourGame/dub.selections.json rename to lesson#28 - Simple spritesheet animation/ourGame/dub.selections.json diff --git a/lesson#28 - Player movement and animation/ourGame/raylib.dll b/lesson#28 - Simple spritesheet animation/ourGame/raylib.dll similarity index 100% rename from lesson#28 - Player movement and animation/ourGame/raylib.dll rename to lesson#28 - Simple spritesheet animation/ourGame/raylib.dll diff --git a/lesson#28 - Player movement and animation/ourGame/raylib.lib b/lesson#28 - Simple spritesheet animation/ourGame/raylib.lib similarity index 100% rename from lesson#28 - Player movement and animation/ourGame/raylib.lib rename to lesson#28 - Simple spritesheet animation/ourGame/raylib.lib diff --git a/lesson#28 - Player movement and animation/ourGame/source/app.d b/lesson#28 - Simple spritesheet animation/ourGame/source/app.d similarity index 100% rename from lesson#28 - Player movement and animation/ourGame/source/app.d rename to lesson#28 - Simple spritesheet animation/ourGame/source/app.d diff --git a/lesson#28 - Simple spritesheet animation/ourGame/source/game/data.d b/lesson#28 - Simple spritesheet animation/ourGame/source/game/data.d new file mode 100644 index 0000000..30be8b4 --- /dev/null +++ b/lesson#28 - Simple spritesheet animation/ourGame/source/game/data.d @@ -0,0 +1,47 @@ +module game.data; + +// mostly used libraries +public import raylib; +public import std.stdio: writeln, write; + +// window dimensions +immutable windowWidth = 720; +immutable windowHeight = 640; + +// Game states +enum GameState { + MainMenu, + Play, + Exit +} + +// state interface +interface IState { + void run(); +} + +// entity interface +class Entity { + Texture2D texture; + Rectangle frame; + Vector2 position; + + this(in Texture2D texture, in Rectangle frame, in Vector2 Position) { + this.texture = texture; + this.frame = frame; + this.position = position; + } + + void move(in float x, in float y) { + position.x += x; + position.y += y; + } + + void draw() { + DrawTextureRec(texture, frame, position, Colors.WHITE); + } + + abstract void update(); + abstract void processEvents(); +} + diff --git a/lesson#28 - Player movement and animation/ourGame/source/game/gstatemanager.d b/lesson#28 - Simple spritesheet animation/ourGame/source/game/gstatemanager.d similarity index 100% rename from lesson#28 - Player movement and animation/ourGame/source/game/gstatemanager.d rename to lesson#28 - Simple spritesheet animation/ourGame/source/game/gstatemanager.d diff --git a/lesson#28 - Player movement and animation/ourGame/source/game/menu.d b/lesson#28 - Simple spritesheet animation/ourGame/source/game/menu.d similarity index 100% rename from lesson#28 - Player movement and animation/ourGame/source/game/menu.d rename to lesson#28 - Simple spritesheet animation/ourGame/source/game/menu.d diff --git a/lesson#28 - Simple spritesheet animation/ourGame/source/game/play.d b/lesson#28 - Simple spritesheet animation/ourGame/source/game/play.d new file mode 100644 index 0000000..9652125 --- /dev/null +++ b/lesson#28 - Simple spritesheet animation/ourGame/source/game/play.d @@ -0,0 +1,58 @@ +module game.play; + +import game.data; +import game.gstatemanager; +import game.player; + +import std.file: getcwd; +import std.path: buildPath; +import std.string: toStringz; + +class Play: IState { + // variables + private { + Texture2D texPlayer; + Player player; + } + + this() { + texPlayer = LoadTexture(getcwd.buildPath("../../assets/Evil Wizard/Evil Wizard.png").toStringz); + player = new Player(texPlayer, Rectangle(75, 75, 125, 125), Vector2(0, 0)); + // texPlayer = LoadTexture(getcwd.buildPath("../../assets/fire/png/blue/loops/burning_loop_1_144x192.png").toStringz); + // player = new Player(texPlayer, Rectangle(0, 0, 144, 192), Vector2(0, 0)); + } + + ~this() { + UnloadTexture(texPlayer); + } + + // inherited from IState interface + void run() { + update(); + processEvents(); + render(); + } + + void update() { + player.update(); + } + + void processEvents() { + if(IsKeyPressed(KeyboardKey.KEY_M)) { + GStateManager.getInstance.setState(GameState.MainMenu); + } + + player.processEvents(); + } + + void render() { + // enable drawing + BeginDrawing(); scope(exit) { EndDrawing(); } + + // clear background + ClearBackground(Colors.YELLOW); + + // draw + player.draw(); + } +} diff --git a/lesson#28 - Simple spritesheet animation/ourGame/source/game/player.d b/lesson#28 - Simple spritesheet animation/ourGame/source/game/player.d new file mode 100644 index 0000000..20c321b --- /dev/null +++ b/lesson#28 - Simple spritesheet animation/ourGame/source/game/player.d @@ -0,0 +1,13 @@ +module game.player; + +import game.data; + +class Player: Entity { + this(const ref Texture2D texture, const Rectangle frame, const Vector2 position) { + super(texture, frame, position); + } + + override void update() {} + override void processEvents() {} +} + diff --git a/lesson#29 - Player movement animation/ourGame/.gitignore b/lesson#29 - Player movement animation/ourGame/.gitignore new file mode 100644 index 0000000..b2c8b49 --- /dev/null +++ b/lesson#29 - Player movement animation/ourGame/.gitignore @@ -0,0 +1,15 @@ +.dub +docs.json +__dummy.html +docs/ +/ourgame +ourgame.so +ourgame.dylib +ourgame.dll +ourgame.a +ourgame.lib +ourgame-test-* +*.exe +*.o +*.obj +*.lst diff --git a/lesson#29 - Player movement animation/ourGame/dub.json b/lesson#29 - Player movement animation/ourGame/dub.json new file mode 100644 index 0000000..54b8fac --- /dev/null +++ b/lesson#29 - Player movement animation/ourGame/dub.json @@ -0,0 +1,59 @@ +{ + "authors": [ + "rillki" + ], + "configurations": [ + { + "lflags": [ + "-framework", + "IOKit", + "-framework", + "Cocoa", + "-framework", + "OpenGL" + ], + "libs": [ + "raylib" + ], + "name": "osx-app", + "platforms": [ + "osx" + ], + "targetType": "executable" + }, + { + "libs": [ + "raylib", + "GL", + "m", + "pthread", + "dl", + "rt", + "X11" + ], + "name": "linux-app", + "platforms": [ + "linux" + ], + "targetType": "executable" + }, + { + "libs": [ + "raylib" + ], + "name": "windows-app", + "platforms": [ + "windows" + ], + "targetType": "executable" + } + ], + "copyright": "Copyright © 2021, rillki", + "dependencies": { + "raylib-d": "~>4.5.0" + }, + "description": "D/Raylib minimal setup", + "license": "no license", + "name": "d-raylib-project-template", + "targetPath": "bin" +} \ No newline at end of file diff --git a/lesson#29 - Player movement animation/ourGame/dub.selections.json b/lesson#29 - Player movement animation/ourGame/dub.selections.json new file mode 100644 index 0000000..c36eb2e --- /dev/null +++ b/lesson#29 - Player movement animation/ourGame/dub.selections.json @@ -0,0 +1,10 @@ +{ + "fileVersion": 1, + "versions": { + "ddmp": "0.0.1-0.dev.3", + "fluent-asserts": "0.13.3", + "libdparse": "0.14.0", + "raylib-d": "4.5.0", + "stdx-allocator": "2.77.5" + } +} diff --git a/lesson#29 - Player movement animation/ourGame/raylib.dll b/lesson#29 - Player movement animation/ourGame/raylib.dll new file mode 100644 index 0000000..df58566 Binary files /dev/null and b/lesson#29 - Player movement animation/ourGame/raylib.dll differ diff --git a/lesson#29 - Player movement animation/ourGame/raylib.lib b/lesson#29 - Player movement animation/ourGame/raylib.lib new file mode 100644 index 0000000..d454613 Binary files /dev/null and b/lesson#29 - Player movement animation/ourGame/raylib.lib differ diff --git a/lesson#29 - Player movement animation/ourGame/source/app.d b/lesson#29 - Player movement animation/ourGame/source/app.d new file mode 100644 index 0000000..90244f2 --- /dev/null +++ b/lesson#29 - Player movement animation/ourGame/source/app.d @@ -0,0 +1,47 @@ +module app; + +import game.data; +import game.gstatemanager; +import game.menu; +import game.play; + +void main() { + validateRaylibBinding(); + + // init + InitWindow(windowWidth, windowHeight, "Mission X"); + scope(exit) { CloseWindow(); } + + // set frames per second + SetTargetFPS(60); + + // declaring and initializing menu and play states + Menu menu = new Menu(); + Play play = new Play(); + + // init GStateManager + GStateManager.getInstance.setState(GameState.MainMenu); + GStateManager.getInstance.add(menu, GameState.MainMenu); + GStateManager.getInstance.add(play, GameState.Play); + GStateManager.getInstance.add(null, GameState.Exit); + + // game loop + while(!WindowShouldClose() && GStateManager.getInstance.getState != GameState.Exit) { + GStateManager.getInstance.execute(); + } +} + + + + + + + + + + + + + + + diff --git a/lesson#28 - Player movement and animation/ourGame/source/game/animation/animation.d b/lesson#29 - Player movement animation/ourGame/source/game/animation/animation.d similarity index 100% rename from lesson#28 - Player movement and animation/ourGame/source/game/animation/animation.d rename to lesson#29 - Player movement animation/ourGame/source/game/animation/animation.d diff --git a/lesson#28 - Player movement and animation/ourGame/source/game/animation/manager.d b/lesson#29 - Player movement animation/ourGame/source/game/animation/manager.d similarity index 100% rename from lesson#28 - Player movement and animation/ourGame/source/game/animation/manager.d rename to lesson#29 - Player movement animation/ourGame/source/game/animation/manager.d diff --git a/lesson#28 - Player movement and animation/ourGame/source/game/data.d b/lesson#29 - Player movement animation/ourGame/source/game/data.d similarity index 100% rename from lesson#28 - Player movement and animation/ourGame/source/game/data.d rename to lesson#29 - Player movement animation/ourGame/source/game/data.d diff --git a/lesson#29 - Player movement animation/ourGame/source/game/gstatemanager.d b/lesson#29 - Player movement animation/ourGame/source/game/gstatemanager.d new file mode 100644 index 0000000..47bfa2a --- /dev/null +++ b/lesson#29 - Player movement animation/ourGame/source/game/gstatemanager.d @@ -0,0 +1,55 @@ +module game.gstatemanager; + +import game.data; + +class GStateManager { + // private class instance + private static GStateManager instance; + + // IState interface + private IState[GameState] state; + + // current game state + private GameState currGameState; + + // private constructor + private this() { } + + // return the instance; create the instance, if it wasn't created yet + static GStateManager getInstance() { + if(instance is null) { + instance = new GStateManager(); + } + + return instance; + } + + // add game state + void add(IState state, GameState gs) { + this.state[gs] = state; + } + + // remove game state + void remove(GameState gs) { + this.state.remove(gs); + } + + // set game state + void setState(GameState gs) { + currGameState = gs; + } + + // return the current game state + GameState getState() { + return currGameState; + } + + // execute the current game state code + void execute() { + if(state is null) { + return; + } + + state[currGameState].run(); + } +} diff --git a/lesson#29 - Player movement animation/ourGame/source/game/menu.d b/lesson#29 - Player movement animation/ourGame/source/game/menu.d new file mode 100644 index 0000000..6ccf0d9 --- /dev/null +++ b/lesson#29 - Player movement animation/ourGame/source/game/menu.d @@ -0,0 +1,34 @@ +module game.menu; + +import game.data; +import game.gstatemanager; + +class Menu: IState { + this() {} + + // inherited from IState interface + void run() { + update(); + processEvents(); + render(); + } + + void update() {} + + void processEvents() { + if(IsKeyPressed(KeyboardKey.KEY_P)) { + GStateManager.getInstance.setState(GameState.Play); + } + } + + void render() { + // enable drawing + BeginDrawing(); scope(exit) { EndDrawing(); } + + // clear background + ClearBackground(Colors.GREEN); + + // draw + // ... + } +} diff --git a/lesson#28 - Player movement and animation/ourGame/source/game/play.d b/lesson#29 - Player movement animation/ourGame/source/game/play.d similarity index 100% rename from lesson#28 - Player movement and animation/ourGame/source/game/play.d rename to lesson#29 - Player movement animation/ourGame/source/game/play.d diff --git a/lesson#28 - Player movement and animation/ourGame/source/game/player.d b/lesson#29 - Player movement animation/ourGame/source/game/player.d similarity index 100% rename from lesson#28 - Player movement and animation/ourGame/source/game/player.d rename to lesson#29 - Player movement animation/ourGame/source/game/player.d