From 62ff5245c26c305e35a2903cc64a60cb20718e96 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Sun, 27 Feb 2022 01:15:31 +0530 Subject: Initial Commit * ECS - In-Progress * GameStates - Skeleton Implemented * Library Integrations - Completed * Levels - In-Progress --- assets/fonts/minecraftia.ttf | Bin 0 -> 70324 bytes assets/images/main_menu_title.png | Bin 0 -> 20378 bytes assets/images/particle.png | Bin 0 -> 81 bytes assets/images/tileset.png | Bin 0 -> 1279 bytes assets/maps/level1.lua | 107 ++++++++++++++++++++++++++++++++++++++ assets/music/credits.txt | 3 ++ 6 files changed, 110 insertions(+) create mode 100644 assets/fonts/minecraftia.ttf create mode 100644 assets/images/main_menu_title.png create mode 100644 assets/images/particle.png create mode 100644 assets/images/tileset.png create mode 100644 assets/maps/level1.lua create mode 100644 assets/music/credits.txt (limited to 'assets') diff --git a/assets/fonts/minecraftia.ttf b/assets/fonts/minecraftia.ttf new file mode 100644 index 0000000..7247ad7 Binary files /dev/null and b/assets/fonts/minecraftia.ttf differ diff --git a/assets/images/main_menu_title.png b/assets/images/main_menu_title.png new file mode 100644 index 0000000..59d6e56 Binary files /dev/null and b/assets/images/main_menu_title.png differ diff --git a/assets/images/particle.png b/assets/images/particle.png new file mode 100644 index 0000000..e8b825e Binary files /dev/null and b/assets/images/particle.png differ diff --git a/assets/images/tileset.png b/assets/images/tileset.png new file mode 100644 index 0000000..888d549 Binary files /dev/null and b/assets/images/tileset.png differ diff --git a/assets/maps/level1.lua b/assets/maps/level1.lua new file mode 100644 index 0000000..ffcb4eb --- /dev/null +++ b/assets/maps/level1.lua @@ -0,0 +1,107 @@ +return { + version = "1.5", + luaversion = "5.1", + tiledversion = "1.8.2", + orientation = "orthogonal", + renderorder = "right-down", + width = 16, + height = 16, + tilewidth = 16, + tileheight = 16, + nextlayerid = 3, + nextobjectid = 2, + properties = {}, + tilesets = { + { + name = "tileset", + firstgid = 1, + tilewidth = 16, + tileheight = 16, + spacing = 0, + margin = 0, + columns = 32, + image = "../images/tileset.png", + imagewidth = 512, + imageheight = 512, + objectalignment = "unspecified", + tileoffset = { + x = 0, + y = 0 + }, + grid = { + orientation = "orthogonal", + width = 16, + height = 16 + }, + properties = {}, + wangsets = {}, + tilecount = 1024, + tiles = {} + } + }, + layers = { + { + type = "tilelayer", + x = 0, + y = 0, + width = 16, + height = 16, + id = 1, + name = "ground", + visible = true, + opacity = 1, + offsetx = 0, + offsety = 0, + parallaxx = 1, + parallaxy = 1, + properties = {}, + encoding = "lua", + data = { + 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, + 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, + 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, + 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, + 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0, + 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, + 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, + 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0 + } + }, + { + type = "objectgroup", + draworder = "topdown", + id = 2, + name = "entities", + visible = true, + opacity = 1, + offsetx = 0, + offsety = 0, + parallaxx = 1, + parallaxy = 1, + properties = {}, + objects = { + { + id = 1, + name = "player", + type = "entity", + shape = "rectangle", + x = 14.6667, + y = 13.3333, + width = 0, + height = 0, + rotation = 0, + visible = true, + properties = {} + } + } + } + } +} diff --git a/assets/music/credits.txt b/assets/music/credits.txt new file mode 100644 index 0000000..d6b920e --- /dev/null +++ b/assets/music/credits.txt @@ -0,0 +1,3 @@ +Stevia Sphere + +https://steviasphere.bandcamp.com/album/drum-machine-dreams-single -- cgit v1.2.3