- Created room1.tmx and room1.lua for the first room in the game, including tiles, collision objects, and NPCs. - Added room2.tmx and room2.lua for the second room, featuring tiles, collision objects, and an enemy. - Introduced a world template to manage map transitions and layout. - Implemented a new tileset (castle.tsx and castle.lua) for the castle theme, including tile properties and image references.
7 lines
206 B
Lua
7 lines
206 B
Lua
function Mod:init()
|
|
Game:registerEvent("squeak", function(data)
|
|
return Squeak(data.x, data.y, {data.width, data.height, data.polygon})
|
|
end)
|
|
print("Loaded " .. self.info.name .. "!")
|
|
end
|