diff --git a/CREDITS.md b/CREDITS.md
index 99e4c59..ee4646c 100644
--- a/CREDITS.md
+++ b/CREDITS.md
@@ -20,7 +20,16 @@ You can find all of them in this
## Visuals
-Some elements have been modified from the sources used. If you use some elements directly from the game, don't forget to search who was the original creator of the asset used. Crediting work is important folks !
+Some elements have been modified from the sources used. If you use some elements directly from Radiance, don't forget to search who was the original creator of the asset used. Crediting work is important folks !
+
+### Character Set
+
+- Character set are from Zach Zin Furr
+
+### Tileset
+
+- [Revamped Tiles](https://www.deviantart.com/magiscarf/art/Revamped-Tiles-829482346) by Magiscarf
+- [Alienor Tileset v1](https://www.deviantart.com/anarlaurendil/art/Alienor-Tileset-v1-Pokemon-Sacred-Phoenix-834634422) by Amras AnĂ¡rion, Magiscarf, Chaoticcherrycake, Pixame, Carchagui, Kyle-Dove, Chimcharsfireworkd, princess-phoenix, aveontrainer, Alistair and WesleyFG.
### Backgrounds
@@ -32,6 +41,8 @@ Some elements have been modified from the sources used. If you use some elements
- Tails Lab Background based on [City Escape Advance](https://www.spriters-resource.com/custom_edited/sonicthehedgehogcustoms/sheet/18187/) by Bold the Hedgehog, Blaze, Dan Sidney and Flare.
+###
+
### HUD elements used
- [Sonic Heroes HUD](https://www.spriters-resource.com/custom_edited/sonicthehedgehogcustoms/sheet/104761/), [Sonic Adventure 2](https://www.spriters-resource.com/custom_edited/sonicthehedgehogcustoms/sheet/104763/) pixel versions by [FieryExplosion](https://www.spriters-resource.com/submitter/FieryExplosion/)
diff --git a/sonic-radiance.love/core/modules/world/actors/utils/hitbox2D.lua b/sonic-radiance.love/core/modules/world/actors/utils/hitbox2D.lua
index 6728908..220a6b4 100644
--- a/sonic-radiance.love/core/modules/world/actors/utils/hitbox2D.lua
+++ b/sonic-radiance.love/core/modules/world/actors/utils/hitbox2D.lua
@@ -103,13 +103,23 @@ end
function Hitbox2D:checkCollision(dx, dy, filter)
self:updatePosition()
- local dx, dy = self.ox + dx, self.oy + dy
- local x, y, cols, colNumber = self.world:checkCollision(self, dx, dy, filter)
+ local nx, ny = self.ox + dx, self.oy + dy
+ if (self:checkTileCollision(nx, self.y)) then
+ nx = self.x
+ end
+ if (self:checkTileCollision(self.x, ny)) then
+ ny = self.y
+ end
+ local x, y, cols, colNumber = self.world:checkCollision(self, nx, ny, filter)
local newx, newy = self:getNewOwnerPosition(x, y)
return newx, newy, cols, colNumber
end
+function Hitbox2D:checkTileCollision(dx, dy)
+ return self.world:haveTileTypeInRect(dx, dy, self.w, self.h, "solid")
+end
+
-- DRAW FUNCTIONS
-- Just some debug function to draw hitbox
diff --git a/sonic-radiance.love/core/modules/world/baseworld.lua b/sonic-radiance.love/core/modules/world/baseworld.lua
index 04b40b0..889420a 100644
--- a/sonic-radiance.love/core/modules/world/baseworld.lua
+++ b/sonic-radiance.love/core/modules/world/baseworld.lua
@@ -371,6 +371,19 @@ function BaseWorld:updateMap(dt)
end
end
+function BaseWorld:getTileTypeAtPoint(x, y)
+ if (self.map.getTileTypeAtPoint ~= nil) then
+ return self.map:getTileTypeAtPoint(x, y)
+ end
+end
+
+function BaseWorld:haveTileTypeInRect(x, y, x2, y2, type)
+ if (self.map.haveTileTypeInRect ~= nil) then
+ return self.map:haveTileTypeInRect(x, y, x2, y2, type)
+ end
+end
+
+
-- DRAW FUNCTIONS
-- All function to draw the map, world and actors
@@ -385,7 +398,6 @@ function BaseWorld:draw(dt)
for i=1, camNumber do
self.cameras:attachView(i)
self:drawMap(i)
- self:drawActors(i)
self.cameras:detachView(i)
end
end
diff --git a/sonic-radiance.love/core/modules/world/maps/parent.lua b/sonic-radiance.love/core/modules/world/maps/parent.lua
index a1b445d..ac77a3c 100644
--- a/sonic-radiance.love/core/modules/world/maps/parent.lua
+++ b/sonic-radiance.love/core/modules/world/maps/parent.lua
@@ -58,6 +58,10 @@ function ParentMap:loadActors()
-- Empty Placeholder function
end
+function ParentMap:getTileTypeAtPoint()
+ return nil
+end
+
function ParentMap:setBackgroundColor(r, g, b)
local r = r or 128
local g = g or 128
diff --git a/sonic-radiance.love/core/modules/world/maps/sti.lua b/sonic-radiance.love/core/modules/world/maps/sti.lua
index ca10745..86980a7 100644
--- a/sonic-radiance.love/core/modules/world/maps/sti.lua
+++ b/sonic-radiance.love/core/modules/world/maps/sti.lua
@@ -123,6 +123,84 @@ function StiMap:newCollision(objectlayer, object)
self.world:newCollision(objectlayer.name, object.x, y, z, object.width, object.height, d)
end
+function StiMap:haveTileTypeInRect(x, y, w, h, type)
+ local x1, y1, x2, y2 = self:getTileRectangle(x, y, x + w, y + h)
+ local isSolid = false
+ for i = x1, x2, 1 do
+ for j = y1, y2, 1 do
+ if (self:getTileTypeAtCoord(i, j) == type) then
+ isSolid = true
+ end
+ end
+ end
+ return isSolid
+end
+
+function StiMap:getTileRectangle(x, y, x2, y2)
+ local xx, yy = self:convertPixelToTile (x, y)
+ local xx2, yy2 = self:convertPixelToTile (x2, y2)
+ return xx, yy, xx2, yy2
+end
+
+function StiMap:getTileTypeAtPoint(x, y)
+ local xx, yy = self:convertPixelToTile (x, y)
+ return self:getTileTypeAtCoord(xx, yy)
+end
+
+function StiMap:getTileTypeAtCoord(x, y)
+ local canSearch = true
+ local currentType = nil
+ for _, layer in ipairs(self.sti.layers) do
+ if (canSearch) then
+ if (layer.type == "tilelayer") then
+ local tileset, tileid = self:getTileId(layer.name, x, y)
+ local type = self:getTileType(tileset, tileid)
+ if (type ~= nil) then
+ currentType = type
+ end
+ else
+ if (layer.name=="objects") then
+ canSearch = false
+ end
+ end
+ end
+ end
+ return currentType
+end
+
+function StiMap:convertPixelToTile(x, y)
+ local xx, yy = self.sti:convertPixelToTile (x, y)
+ return math.ceil(xx), math.ceil(yy)
+end
+
+function StiMap:getTileType(tileset, id)
+ local tilesetData = self.sti.tilesets[tileset]
+ if ((tileset == -1) or (id == -1)) then
+ return nil
+ end
+
+ if (tilesetData ~= nil) then
+ for i, tile in ipairs(tilesetData.tiles) do
+ if (tile.id == id) and (tile.type ~= nil) then
+ return tile.type
+ end
+ end
+ end
+ return "non-solid"
+end
+
+function StiMap:getTileId(layer, x, y)
+ local line = self.sti.layers[layer].data[y]
+ if (line ~= nil) then
+ local tile = line[x]
+ if not tile then
+ return -1, -1
+ end
+ return tile.tileset, tile.id
+ end
+ return -1, -1
+end
+
function StiMap:newPlayer(object, i)
local z = object.properties.z or 0
local adaptPosition = object.properties.adaptPosition or false
@@ -139,12 +217,21 @@ end
-- DRAW FUNCTIONS
-- Draw the map
-function StiMap:draw()
+function StiMap:draw(i)
+ local haveDrawnObjects = false
for _, layer in ipairs(self.sti.layers) do
if layer.visible and layer.opacity > 0 and (layer.type == "tilelayer") then
self.sti:drawLayer(layer)
+ else
+ if (layer.name == "objects") then
+ haveDrawnObjects = true
+ self.world:drawActors(i)
+ end
end
end
+ if (not haveDrawnObjects) then
+ self.world:drawActors(i)
+ end
end
return StiMap
diff --git a/sonic-radiance.love/datas/gamedata/maps/sti/plain/plain1.lua b/sonic-radiance.love/datas/gamedata/maps/sti/plain/plain1.lua
new file mode 100644
index 0000000..75eaaa8
--- /dev/null
+++ b/sonic-radiance.love/datas/gamedata/maps/sti/plain/plain1.lua
@@ -0,0 +1,307 @@
+return {
+ version = "1.4",
+ luaversion = "5.1",
+ tiledversion = "1.4.3",
+ name = "plain1",
+ tilewidth = 16,
+ tileheight = 16,
+ spacing = 0,
+ margin = 0,
+ columns = 8,
+ image = "plain1.png",
+ imagewidth = 128,
+ imageheight = 480,
+ objectalignment = "unspecified",
+ tileoffset = {
+ x = 0,
+ y = 0
+ },
+ grid = {
+ orientation = "orthogonal",
+ width = 16,
+ height = 16
+ },
+ properties = {},
+ terrains = {},
+ tilecount = 240,
+ tiles = {
+ {
+ id = 8,
+ type = "solid"
+ },
+ {
+ id = 9,
+ type = "solid"
+ },
+ {
+ id = 10,
+ type = "solid"
+ },
+ {
+ id = 11,
+ type = "solid"
+ },
+ {
+ id = 16,
+ type = "solid"
+ },
+ {
+ id = 17,
+ type = "solid"
+ },
+ {
+ id = 18,
+ type = "solid"
+ },
+ {
+ id = 19,
+ type = "solid"
+ },
+ {
+ id = 20,
+ type = "solid"
+ },
+ {
+ id = 21,
+ type = "solid"
+ },
+ {
+ id = 22,
+ type = "solid"
+ },
+ {
+ id = 23,
+ type = "solid"
+ },
+ {
+ id = 24,
+ type = "solid"
+ },
+ {
+ id = 26,
+ type = "solid"
+ },
+ {
+ id = 30,
+ type = "solid"
+ },
+ {
+ id = 31,
+ type = "solid"
+ },
+ {
+ id = 32,
+ type = "solid"
+ },
+ {
+ id = 33,
+ type = "solid"
+ },
+ {
+ id = 34,
+ type = "solid",
+ objectGroup = {
+ type = "objectgroup",
+ draworder = "index",
+ id = 2,
+ name = "",
+ visible = true,
+ opacity = 1,
+ offsetx = 0,
+ offsety = 0,
+ properties = {},
+ objects = {
+ {
+ id = 1,
+ name = "",
+ type = "",
+ shape = "rectangle",
+ x = 0,
+ y = 0,
+ width = 16,
+ height = 16,
+ rotation = 0,
+ visible = true,
+ properties = {}
+ }
+ }
+ }
+ },
+ {
+ id = 38,
+ type = "solid"
+ },
+ {
+ id = 40,
+ type = "solid"
+ },
+ {
+ id = 41,
+ type = "solid"
+ },
+ {
+ id = 42,
+ type = "solid"
+ },
+ {
+ id = 43,
+ type = "solid"
+ },
+ {
+ id = 44,
+ type = "solid"
+ },
+ {
+ id = 48,
+ type = "solid"
+ },
+ {
+ id = 50,
+ type = "solid"
+ },
+ {
+ id = 51,
+ type = "solid"
+ },
+ {
+ id = 52,
+ type = "solid"
+ },
+ {
+ id = 53,
+ type = "solid"
+ },
+ {
+ id = 54,
+ type = "solid"
+ },
+ {
+ id = 56,
+ type = "solid"
+ },
+ {
+ id = 57,
+ type = "solid"
+ },
+ {
+ id = 58,
+ type = "solid"
+ },
+ {
+ id = 61,
+ type = "solid"
+ },
+ {
+ id = 62,
+ type = "solid"
+ },
+ {
+ id = 64,
+ type = "solid"
+ },
+ {
+ id = 65,
+ type = "solid"
+ },
+ {
+ id = 66,
+ type = "solid"
+ },
+ {
+ id = 69,
+ type = "solid"
+ },
+ {
+ id = 70,
+ type = "solid"
+ },
+ {
+ id = 72,
+ type = "solid"
+ },
+ {
+ id = 73,
+ type = "solid"
+ },
+ {
+ id = 74,
+ type = "solid"
+ },
+ {
+ id = 75,
+ type = "solid"
+ },
+ {
+ id = 76,
+ type = "solid"
+ },
+ {
+ id = 77,
+ type = "solid"
+ },
+ {
+ id = 80,
+ type = "solid"
+ },
+ {
+ id = 82,
+ type = "solid"
+ },
+ {
+ id = 83,
+ type = "solid"
+ },
+ {
+ id = 84,
+ type = "solid"
+ },
+ {
+ id = 85,
+ type = "solid"
+ },
+ {
+ id = 86,
+ type = "solid"
+ },
+ {
+ id = 88,
+ type = "solid"
+ },
+ {
+ id = 89,
+ type = "solid"
+ },
+ {
+ id = 90,
+ type = "solid"
+ },
+ {
+ id = 93,
+ type = "solid"
+ },
+ {
+ id = 94,
+ type = "solid"
+ },
+ {
+ id = 96,
+ type = "solid"
+ },
+ {
+ id = 97,
+ type = "solid"
+ },
+ {
+ id = 98,
+ type = "solid"
+ },
+ {
+ id = 101,
+ type = "solid"
+ },
+ {
+ id = 102,
+ type = "solid"
+ }
+ }
+}
diff --git a/sonic-radiance.love/datas/gamedata/maps/sti/plain/plain1.png b/sonic-radiance.love/datas/gamedata/maps/sti/plain/plain1.png
new file mode 100644
index 0000000..e3c0b43
Binary files /dev/null and b/sonic-radiance.love/datas/gamedata/maps/sti/plain/plain1.png differ
diff --git a/sonic-radiance.love/datas/gamedata/maps/sti/plain/plain1.tsx b/sonic-radiance.love/datas/gamedata/maps/sti/plain/plain1.tsx
new file mode 100644
index 0000000..736f5f5
--- /dev/null
+++ b/sonic-radiance.love/datas/gamedata/maps/sti/plain/plain1.tsx
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sonic-radiance.love/datas/gamedata/maps/sti/plain/test.lua b/sonic-radiance.love/datas/gamedata/maps/sti/plain/test.lua
new file mode 100644
index 0000000..e283287
--- /dev/null
+++ b/sonic-radiance.love/datas/gamedata/maps/sti/plain/test.lua
@@ -0,0 +1,543 @@
+return {
+ version = "1.4",
+ luaversion = "5.1",
+ tiledversion = "1.4.3",
+ orientation = "orthogonal",
+ renderorder = "right-down",
+ width = 30,
+ height = 40,
+ tilewidth = 16,
+ tileheight = 16,
+ nextlayerid = 6,
+ nextobjectid = 4,
+ properties = {},
+ tilesets = {
+ {
+ name = "plain1",
+ firstgid = 1,
+ filename = "plain1.tsx",
+ tilewidth = 16,
+ tileheight = 16,
+ spacing = 0,
+ margin = 0,
+ columns = 8,
+ image = "plain1.png",
+ imagewidth = 128,
+ imageheight = 480,
+ objectalignment = "unspecified",
+ tileoffset = {
+ x = 0,
+ y = 0
+ },
+ grid = {
+ orientation = "orthogonal",
+ width = 16,
+ height = 16
+ },
+ properties = {},
+ terrains = {},
+ tilecount = 240,
+ tiles = {
+ {
+ id = 8,
+ type = "solid"
+ },
+ {
+ id = 9,
+ type = "solid"
+ },
+ {
+ id = 10,
+ type = "solid"
+ },
+ {
+ id = 11,
+ type = "solid"
+ },
+ {
+ id = 16,
+ type = "solid"
+ },
+ {
+ id = 17,
+ type = "solid"
+ },
+ {
+ id = 18,
+ type = "solid"
+ },
+ {
+ id = 19,
+ type = "solid"
+ },
+ {
+ id = 20,
+ type = "solid"
+ },
+ {
+ id = 21,
+ type = "solid"
+ },
+ {
+ id = 22,
+ type = "solid"
+ },
+ {
+ id = 23,
+ type = "solid"
+ },
+ {
+ id = 24,
+ type = "solid"
+ },
+ {
+ id = 26,
+ type = "solid"
+ },
+ {
+ id = 30,
+ type = "solid"
+ },
+ {
+ id = 31,
+ type = "solid"
+ },
+ {
+ id = 32,
+ type = "solid"
+ },
+ {
+ id = 33,
+ type = "solid"
+ },
+ {
+ id = 34,
+ type = "solid",
+ objectGroup = {
+ type = "objectgroup",
+ draworder = "index",
+ id = 2,
+ name = "",
+ visible = true,
+ opacity = 1,
+ offsetx = 0,
+ offsety = 0,
+ properties = {},
+ objects = {
+ {
+ id = 1,
+ name = "",
+ type = "",
+ shape = "rectangle",
+ x = 0,
+ y = 0,
+ width = 16,
+ height = 16,
+ rotation = 0,
+ visible = true,
+ properties = {}
+ }
+ }
+ }
+ },
+ {
+ id = 38,
+ type = "solid"
+ },
+ {
+ id = 40,
+ type = "solid"
+ },
+ {
+ id = 41,
+ type = "solid"
+ },
+ {
+ id = 42,
+ type = "solid"
+ },
+ {
+ id = 43,
+ type = "solid"
+ },
+ {
+ id = 44,
+ type = "solid"
+ },
+ {
+ id = 48,
+ type = "solid"
+ },
+ {
+ id = 50,
+ type = "solid"
+ },
+ {
+ id = 51,
+ type = "solid"
+ },
+ {
+ id = 52,
+ type = "solid"
+ },
+ {
+ id = 53,
+ type = "solid"
+ },
+ {
+ id = 54,
+ type = "solid"
+ },
+ {
+ id = 56,
+ type = "solid"
+ },
+ {
+ id = 57,
+ type = "solid"
+ },
+ {
+ id = 58,
+ type = "solid"
+ },
+ {
+ id = 61,
+ type = "solid"
+ },
+ {
+ id = 62,
+ type = "solid"
+ },
+ {
+ id = 64,
+ type = "solid"
+ },
+ {
+ id = 65,
+ type = "solid"
+ },
+ {
+ id = 66,
+ type = "solid"
+ },
+ {
+ id = 69,
+ type = "solid"
+ },
+ {
+ id = 70,
+ type = "solid"
+ },
+ {
+ id = 72,
+ type = "solid"
+ },
+ {
+ id = 73,
+ type = "solid"
+ },
+ {
+ id = 74,
+ type = "solid"
+ },
+ {
+ id = 75,
+ type = "solid"
+ },
+ {
+ id = 76,
+ type = "solid"
+ },
+ {
+ id = 77,
+ type = "solid"
+ },
+ {
+ id = 80,
+ type = "solid"
+ },
+ {
+ id = 82,
+ type = "solid"
+ },
+ {
+ id = 83,
+ type = "solid"
+ },
+ {
+ id = 84,
+ type = "solid"
+ },
+ {
+ id = 85,
+ type = "solid"
+ },
+ {
+ id = 86,
+ type = "solid"
+ },
+ {
+ id = 88,
+ type = "solid"
+ },
+ {
+ id = 89,
+ type = "solid"
+ },
+ {
+ id = 90,
+ type = "solid"
+ },
+ {
+ id = 93,
+ type = "solid"
+ },
+ {
+ id = 94,
+ type = "solid"
+ },
+ {
+ id = 96,
+ type = "solid"
+ },
+ {
+ id = 97,
+ type = "solid"
+ },
+ {
+ id = 98,
+ type = "solid"
+ },
+ {
+ id = 101,
+ type = "solid"
+ },
+ {
+ id = 102,
+ type = "solid"
+ },
+ {
+ id = 129,
+ type = "solid"
+ },
+ {
+ id = 130,
+ type = "solid"
+ }
+ }
+ }
+ },
+ layers = {
+ {
+ type = "tilelayer",
+ x = 0,
+ y = 0,
+ width = 30,
+ height = 40,
+ id = 1,
+ name = "Calque 2",
+ visible = true,
+ opacity = 1,
+ offsetx = 0,
+ offsety = 0,
+ properties = {},
+ encoding = "lua",
+ data = {
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 90, 87, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 98, 95, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 91, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 97, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 99, 29
+ }
+ },
+ {
+ type = "tilelayer",
+ x = 0,
+ y = 0,
+ width = 30,
+ height = 40,
+ id = 2,
+ name = "Calque 1",
+ visible = true,
+ opacity = 1,
+ offsetx = 0,
+ offsety = 0,
+ properties = {},
+ encoding = "lua",
+ data = {
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 58, 58, 58, 58, 58, 58, 58, 55, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 66, 66, 66, 66, 66, 66, 66, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 49, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
+ 0, 0, 0, 0, 0, 0, 0, 57, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
+ 0, 0, 0, 0, 0, 0, 0, 65, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 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
+ id = 1,
+ name = "",
+ type = "",
+ shape = "rectangle",
+ x = 160,
+ y = 176,
+ width = 16,
+ height = 16,
+ rotation = 0,
+ visible = true,
+ properties = {
+ ["id"] = 1
+ }
+ }
+ }
+ },
+ {
+ type = "objectgroup",
+ draworder = "topdown",
+ id = 5,
+ name = "objects",
+ visible = true,
+ opacity = 1,
+ offsetx = 0,
+ offsety = 0,
+ properties = {},
+ objects = {}
+ },
+ {
+ type = "tilelayer",
+ x = 0,
+ y = 0,
+ width = 30,
+ height = 40,
+ id = 4,
+ name = "Calque 0",
+ visible = true,
+ opacity = 1,
+ offsetx = 0,
+ offsety = 0,
+ properties = {},
+ encoding = "lua",
+ data = {
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 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onic-radiance.love/datas/gamedata/maps/sti/plain/test.tmx b/sonic-radiance.love/datas/gamedata/maps/sti/plain/test.tmx
new file mode 100644
index 0000000..59a8d7e
--- /dev/null
+++ b/sonic-radiance.love/datas/gamedata/maps/sti/plain/test.tmx
@@ -0,0 +1,147 @@
+
+
diff --git a/sonic-radiance.love/scenes/overworld/actors/player.lua b/sonic-radiance.love/scenes/overworld/actors/player.lua
index eaad78a..b64736b 100644
--- a/sonic-radiance.love/scenes/overworld/actors/player.lua
+++ b/sonic-radiance.love/scenes/overworld/actors/player.lua
@@ -55,6 +55,8 @@ function Player:updateStart(dt)
end
self.tweens:update(dt)
+
+ self.world:getTileTypeAtPoint(self.x, self.y)
end
function Player:timerResponse(response)
diff --git a/sonic-radiance.love/scenes/overworld/init.lua b/sonic-radiance.love/scenes/overworld/init.lua
index 5b91a47..49ec8c1 100644
--- a/sonic-radiance.love/scenes/overworld/init.lua
+++ b/sonic-radiance.love/scenes/overworld/init.lua
@@ -41,7 +41,7 @@ function MovePlayer:new()
self.tweens = TweenManager(self)
self.screens = screens
- World(self, "test", "map")
+ World(self, "plain", "test")
self.world:setPlayerNumber(1)
self.world:loadMap()