rename project to impostor
This commit is contained in:
19
inc/map/map.bedroom.lua
Normal file
19
inc/map/map.bedroom.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
MapBedroom = {
|
||||
"10101010101010101010101010101010",
|
||||
"10141410101010101010101010101010",
|
||||
"10141410101010101010101010101010",
|
||||
"10101010101010101010101010101010",
|
||||
"10101010101010101010101010101010",
|
||||
"10101010101010101010101010101010",
|
||||
"10101010101010101010101010101010",
|
||||
"10101010101010101010101010101010",
|
||||
"10101010101010101010101010101010",
|
||||
"11111111111111111111111111111111",
|
||||
"11111111111111111111111111111111",
|
||||
"11111111111111111111111111111111",
|
||||
"11111516111213111111111111111111",
|
||||
"11111111111111111111111111111111",
|
||||
"11111111111111111111111111111111",
|
||||
"11111111111111111111111111111111",
|
||||
"11111111111111111111111111111111"
|
||||
}
|
||||
@@ -8,6 +8,13 @@
|
||||
-- 006:9999999999999999999999999999999999999999999999999999999999999999
|
||||
-- 007:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||
-- 008:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
||||
-- 016:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
|
||||
-- 017:eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
|
||||
-- 018:cc222222cc222222cc222222cc222222222222222222222222222222eeeeeeee
|
||||
-- 019:222222cc222222cc222222cc222222cc222222222222222222222222eeeeeeee
|
||||
-- 020:daaaabdddaaaabdddaaaabdddaaaabdddaaaabdddaaaabdddddddddddddddddd
|
||||
-- 021:f888888ff888888ff888888ff888888f8888888f8888888ffeeeeffeeeeffee
|
||||
-- 022:e000000ee000000ee000000ee000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
|
||||
-- </TILES>
|
||||
|
||||
-- <WAVES>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
-- title: Mr Anderson's Adventure
|
||||
-- author: Zsolt Tasnadi
|
||||
-- title: Definitely not an Impostor
|
||||
-- author: Teletype Games
|
||||
-- desc: Life of a programmer in the Vector
|
||||
-- site: https://github.com/rastasi/mranderson
|
||||
-- site: https://git.teletype.hu/games/impostor
|
||||
-- license: MIT License
|
||||
-- version: 0.15
|
||||
-- script: lua
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
function SplashWindow.draw()
|
||||
Print.text("Mr. Anderson's", 78, 60, Config.colors.green)
|
||||
Print.text("Addventure", 90, 70, Config.colors.green)
|
||||
for y, row in ipairs(MapBedroom) do
|
||||
for x = 1, #row, 2 do
|
||||
local tile_id_hex = string.sub(row, x, x + 1)
|
||||
local tile_id = tonumber(tile_id_hex, 16)
|
||||
local screen_x = (x - 1) / 2 * 8
|
||||
local screen_y = (y - 1) * 8
|
||||
spr(tile_id, screen_x, screen_y, -1, 1, 0, 0, 1, 1)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function SplashWindow.update()
|
||||
|
||||
Reference in New Issue
Block a user