Monster City : Attaque du Kaju
Incarnez le monstre géant. Rasez des villes générées, évitez l’armée et débloquez 17 monstres aux techniques spéciales exclusives.
Appuyez sur Start rampage. Vos pièces et votre collection sont enregistrées dans ce navigateur. Utilisez Fullscreen pour jouer plus confortablement.
Ouvrir le jeu complet ↗Chargement du jeu…
Voir le code source
Aucun fichier correspondant.
site_shell.rune
#!RUNE
# Compact Rune-Web cabinet for the teaching site and standalone browser play.
import "monster_city.rune"
@App
shell = site_arcade
@Page/site_arcade
title = Monster City — Attack of the Kaju
logic = site_arcade
style = site_arcade
view:
main .arcade:
header .arcade-heading:
div:
h1 "{label}"
p "ATTACK OF THE KAJU"
button .primary data-pixel-start=true "Start rampage"
div .game-surface:
canvas data-rune-pixel=true tabindex=0 aria-label="Monster City. Enter to start, arrows to move, Space to smash, Down or S to block, X for special."
p .status data-pixel-status=true role=status aria-live=polite "Ready to make a big entrance?"
div .touch aria-label="Game controls":
button data-pixel-input="left" aria-label="Move left" "LEFT"
button data-pixel-input="right" aria-label="Move right" "RIGHT"
button data-pixel-input="defend" aria-label="Duck and block" aria-pressed=false "BLOCK"
button data-pixel-input="special" aria-label="Use skin special" "SPECIAL"
button .smash data-pixel-input="smash" "SMASH"
p .energy data-pixel-energy=true
div .toolbar:
button data-pixel-action="openStore" "Shop · B"
button data-pixel-action="openTitle" "Title · T"
button data-pixel-pause=true aria-pressed=false "Pause"
button data-pixel-mute=true aria-pressed=false aria-label="Mute game audio" "Sound on"
button data-pixel-fullscreen=true "Fullscreen"
button data-pixel-start=true "Restart"
nav .menu-controls data-pixel-menu=true aria-label="Game menu"
p .save data-pixel-save=true role=status
details .instructions:
summary "Controls"
p "Arrows/A/D move · Space smash · Down/S block · X special · P pause · M sound · F fullscreen. On a phone, hold the buttons below the arena."
@Logic/site_arcade
state:
label = "MONSTER CITY"
@Style/site_arcade
rules:
:root:
color-scheme = dark
*:
box-sizing = border-box
body:
margin = 0
background = #141d27
color = #f0eddf
font-family = ui-monospace, SFMono-Regular, Consolas, monospace
.arcade:
max-width = 1000px
margin = auto
padding = 12px
.arcade-heading:
display = flex
align-items = center
justify-content = space-between
gap = 12px
margin-bottom = 12px
h1:
color = #b5ef77
font-size = 20px
margin = 0
letter-spacing = 1px
.arcade-heading p:
color = #eccc85
margin = 4px 0 0
font-size = 10px
button:
font = inherit
font-size = 11px
font-weight = bold
color = #f0eddf
background = #273b36
border = 1px solid #77806d
border-radius = 4px
padding = 10px
cursor = pointer
min-height = 44px
button:hover:
background = #3b4a36
button:disabled:
opacity = .45
cursor = default
button:focus-visible, canvas:focus-visible:
outline = 3px solid #b5ef77
outline-offset = 3px
.primary:
background = #b5ef77
color = #141d27
.game-surface:
display = flex
justify-content = center
padding = 6px
background = #0b1019
border = 1px solid #849274
border-radius = 5px
.game-surface:fullscreen:
align-items = center
padding = 0
border = 0
background = #080d16
canvas:
display = block
max-width = 100%
image-rendering = pixelated
touch-action = none
.status, .energy, .save:
font-size = 11px
line-height = 1.5
color = #b5ef77
margin = 8px 0
.touch:
display = flex
gap = 6px
.touch button:
flex = 1
min-width = 0
padding = 10px 4px
user-select = none
touch-action = none
.touch button[aria-pressed = "true"]:
background = #65d5ed
color = #141d27
.smash:
background = #d99b77
color = #141d27
.toolbar, .menu-controls:
display = flex
flex-wrap = wrap
gap = 6px
.toolbar button:
flex = 1
.menu-controls:
margin-top = 8px
.menu-controls[hidden]:
display = none
.menu-controls span:
flex-basis = 100%
font-size = 11px
color = #b8c6bb
.instructions:
font-size = 11px
line-height = 1.6
color = #b8c6bb
margin-top = 8px
combat.pixel.rune
@Palette/combat
colors = {
".": "transparent",
"a": "#99aeb8",
"b": "#65d5ed",
"d": "#283d58",
"g": "#b5ef77",
"o": "#f5a16b",
"p": "#c4a2ef",
"r": "#ef767d",
"w": "#f3ffff",
"y": "#ffe09c"
}
@Sprite/combat/block
palette = combat
size = [8, 16]
pixels:
"...ww..."
"..wbw..."
".wbbw..."
"wbbbw..."
"wbbbw..."
"wbbbw..."
"wbbbw..."
"wbbbw..."
"wbbbw..."
"wbbbw..."
"wbbbw..."
"wbbbw..."
"wbbbw..."
".wbbw..."
"..wbw..."
"...ww..."
@Sprite/combat/vines
palette = combat
size = [16, 8]
pixels:
"..g...g...g...g."
"..gg.ggg.ggg.gg."
"...gggggggggg..."
"...g..gggg..g..."
"..gg...gg...gg.."
".gg....gg....gg."
"gg.....gg.....gg"
"g......gg......g"
@Sprite/combat/flame
palette = combat
size = [16, 8]
pixels:
".....o...o......"
"...oyoo.oyoo...."
"..oywyoooywyo..."
".oywwwyoywwwyo.."
"oywwwwwywwwwwyo."
".oywwwwwwwwwyo.."
"..oyyyyyyyyyo..."
"...ooooooooo...."
@Sprite/combat/ice
palette = combat
size = [16, 8]
pixels:
"....b......b...."
".b..wb....bw..b."
"..bw.wb..bw.wb.."
"...bw.wwww.wb..."
"bwwwwwwwwwwwwwwb"
"...bw.wwww.wb..."
"..bw.wb..bw.wb.."
".b..wb....bw..b."
@Sprite/combat/lightning
palette = combat
size = [16, 8]
pixels:
"....ww......ww.."
"...ww......ww..."
"..ww......ww...."
".wwwww...wwwww.."
"....ww......ww.."
"...ww......ww..."
"..ww......ww...."
".ww......ww....."
@Sprite/combat/heal
palette = combat
size = [16, 8]
pixels:
"......gggg......"
"......gwwg......"
"......gwwg......"
"...ggggwwgggg..."
"...gwwwwwwwwg..."
"...ggggwwgggg..."
"......gwwg......"
"......gggg......"
@Sprite/combat/stone
palette = combat
size = [16, 8]
pixels:
"..a....a....a..."
"..aa..aaa..aa..."
"..aya.aywa.aa..."
".aayya.ayywaa..."
"aayyyyaayyywaa.."
"dddddwwddddddddd"
"...dd..dd..dd..."
"....dd...dd....."
@Sprite/combat/beam
palette = combat
size = [16, 8]
pixels:
"....pppppppp...."
"..ppwwwwwwwwpp.."
"ppwwwwwwwwwwwwpp"
"wwwwwwwwwwwwwwww"
"wwwwwwwwwwwwwwww"
"ppwwwwwwwwwwwwpp"
"..ppwwwwwwwwpp.."
"....pppppppp...."
@Sprite/combat/dash
palette = combat
size = [16, 8]
pixels:
".....ggggggggggg"
"..gggggggggggg.."
"................"
"...wwwwwwwwww..."
"wwwwwwwwwww....."
"................"
"..ggggggggggggg."
"gggggggggggg...."
@Sprite/combat/acid
palette = combat
size = [16, 8]
pixels:
"....g......g...."
"..gggg...gggg..."
"...gg.....gg...."
"................"
"...gggggggggg..."
".ggwwggwwggwwgg."
"gggggggggggggggg"
".gggggggggggggg."
@Sprite/combat/missile
palette = combat
size = [16, 8]
pixels:
"................"
"...ooaaaaaaa...."
"..oyyaawwwwwaa.."
"oywwyaawwwwwwwa."
"..oyyaawwwwwaa.."
"...ooaaaaaaa...."
"................"
"................"
@Sprite/combat/meteor
palette = combat
size = [16, 8]
pixels:
".......o........"
"......oyo......."
".....oywo......."
"....oywwo......."
"...oywwyo......."
"..ddayyo........"
".daaad.........."
"..ddd..........."
@Sprite/combat/tide
palette = combat
size = [16, 8]
pixels:
"....bbb...bbb..."
"...bwwbb.bwwbb.."
"..bwwwwbbwwwwbb."
".bwwwwwwwwwwwwbb"
"bwwwwwwwwwwwwwwb"
"bbwwwwwwwwwwwwbb"
".bbbbbbbbbbbbbb."
"..bbbbbbbbbbbb.."
@Sprite/combat/solar
palette = combat
size = [16, 8]
pixels:
".......yy......."
"...y..ywwy..y..."
"....yywwwwyy...."
"..yywwwwwwwwyy.."
"yywwwwwwwwwwwwyy"
"..yywwwwwwwwyy.."
"....yywwwwyy...."
"...y..yyyy..y..."
combat.rune
# Defense, rechargeable energy and skin-exclusive moves. All timers use 30 Hz.
@Logic/monster
state:
special_defs = [
{
"skin": "kaiju",
"name": "VINE SNARE",
"cost": 40,
"radius": 80,
"damage": 2,
"offset": 0,
"air": false,
"heal": 0,
"guard": 0,
"stun": 60,
"dash": 0,
"dot": 0,
"pattern": "vines",
"ticks": 60
},
{
"skin": "ember",
"name": "FIRE FAN",
"cost": 50,
"radius": 75,
"damage": 2,
"offset": 90,
"air": false,
"heal": 0,
"guard": 0,
"stun": 0,
"dash": 0,
"dot": 1,
"pattern": "flame",
"ticks": 90
},
{
"skin": "frost",
"name": "ICE NOVA",
"cost": 55,
"radius": 110,
"damage": 1,
"offset": 0,
"air": true,
"heal": 0,
"guard": 0,
"stun": 120,
"dash": 0,
"dot": 0,
"pattern": "ice",
"ticks": 45
},
{
"skin": "volt",
"name": "CHAIN LIGHTNING",
"cost": 50,
"radius": 160,
"damage": 3,
"offset": 0,
"air": true,
"heal": 0,
"guard": 0,
"stun": 0,
"dash": 0,
"dot": 0,
"pattern": "lightning",
"ticks": 24
},
{
"skin": "coral",
"name": "REEF REPAIR",
"cost": 60,
"radius": 0,
"damage": 0,
"offset": 0,
"air": false,
"heal": 25,
"guard": 30,
"stun": 0,
"dash": 0,
"dot": 0,
"pattern": "heal",
"ticks": 30
},
{
"skin": "golem",
"name": "STONEWALL",
"cost": 55,
"radius": 55,
"damage": 1,
"offset": 0,
"air": false,
"heal": 0,
"guard": 150,
"stun": 0,
"dash": 0,
"dot": 0,
"pattern": "stone",
"ticks": 60
},
{
"skin": "cyclops",
"name": "FOCUS RAY",
"cost": 60,
"radius": 110,
"damage": 5,
"offset": 110,
"air": true,
"heal": 0,
"guard": 0,
"stun": 0,
"dash": 0,
"dot": 0,
"pattern": "beam",
"ticks": 24
},
{
"skin": "mantis",
"name": "RAZOR DASH",
"cost": 45,
"radius": 40,
"damage": 4,
"offset": 0,
"air": false,
"heal": 0,
"guard": 12,
"stun": 0,
"dash": 80,
"dot": 0,
"pattern": "dash",
"ticks": 12
},
{
"skin": "drake",
"name": "DRAGON ROAR",
"cost": 55,
"radius": 130,
"damage": 3,
"offset": 60,
"air": true,
"heal": 0,
"guard": 0,
"stun": 45,
"dash": 0,
"dot": 0,
"pattern": "flame",
"ticks": 30
},
{
"skin": "yeti",
"name": "AVALANCHE",
"cost": 50,
"radius": 120,
"damage": 4,
"offset": 0,
"air": false,
"heal": 0,
"guard": 0,
"stun": 30,
"dash": 0,
"dot": 0,
"pattern": "ice",
"ticks": 30
},
{
"skin": "slime",
"name": "ACID SPLASH",
"cost": 45,
"radius": 80,
"damage": 1,
"offset": 45,
"air": false,
"heal": 0,
"guard": 0,
"stun": 0,
"dash": 0,
"dot": 1,
"pattern": "acid",
"ticks": 120
},
{
"skin": "mecha",
"name": "MISSILE SALVO",
"cost": 55,
"radius": 40,
"damage": 2,
"offset": 110,
"air": true,
"heal": 0,
"guard": 0,
"stun": 0,
"dash": 0,
"dot": 0,
"pattern": "missile",
"ticks": 90
},
{
"skin": "cosmo",
"name": "METEOR CALL",
"cost": 65,
"radius": 125,
"damage": 4,
"offset": 100,
"air": true,
"heal": 0,
"guard": 0,
"stun": 0,
"dash": 0,
"dot": 0,
"pattern": "meteor",
"ticks": 30
},
{
"skin": "thorn",
"name": "THORN RING",
"cost": 40,
"radius": 65,
"damage": 1,
"offset": 0,
"air": false,
"heal": 0,
"guard": 90,
"stun": 0,
"dash": 0,
"dot": 1,
"pattern": "vines",
"ticks": 90
},
{
"skin": "obsidian",
"name": "FAULT LINE",
"cost": 65,
"radius": 145,
"damage": 5,
"offset": 0,
"air": false,
"heal": 0,
"guard": 0,
"stun": 0,
"dash": 0,
"dot": 0,
"pattern": "stone",
"ticks": 30
},
{
"skin": "tide",
"name": "TIDAL SURGE",
"cost": 50,
"radius": 130,
"damage": 3,
"offset": 90,
"air": true,
"heal": 0,
"guard": 0,
"stun": 60,
"dash": 0,
"dot": 0,
"pattern": "tide",
"ticks": 30
},
{
"skin": "nova",
"name": "SOLAR BURST",
"cost": 70,
"radius": 160,
"damage": 4,
"offset": 0,
"air": true,
"heal": 10,
"guard": 30,
"stun": 0,
"dash": 0,
"dot": 0,
"pattern": "solar",
"ticks": 45
}
]
defending = false
stance_height = 24
energy = 100
special_cost = 40
special_name = "VINE SNARE"
special_label = "VINE SNARE 40E"
special_held = false
special_cooldown = 0
special_ticks = 0
special_pattern = ""
special_x = 0
special_radius = 0
special_dot = 0
special_impact = 0
special_air = false
special_notice = ""
notice_ticks = 0
guard_ticks = 0
stun_ticks = 0
last_block_sound = -99
combat_fx = []
action clearCombat:
defending = false
stance_height = 24
special_held = false
special_cooldown = 0
special_ticks = 0
guard_ticks = 0
stun_ticks = 0
special_notice = ""
notice_ticks = 0
combat_fx = []
action resetCombat:
call clearCombat
energy = 100
last_block_sound = -99
definition = special_defs.find(m => m.skin == profile.skin)
special_name = definition.name
special_cost = definition.cost
call describeCombat
action applyStance:
stance_height = defending ? 16 : 24
monster.y = 190 - monster.scale * stance_height
if defending == true:
monster.sprite = profile.skin + "/duck"
action describeCombat:
special_label = special_name + " " + special_cost + "E"
if defending == true:
special_label = "BLOCKING"
if notice_ticks > 0:
special_label = special_notice
action useSpecial:
stop when status != "playing"
stop when defending == true
stop when special_cooldown > 0
definition = special_defs.find(m => m.skin == profile.skin)
if energy < definition.cost:
special_notice = "NEED " + definition.cost + " ENERGY"
notice_ticks = 45
sound.play("menu_denied")
stop
energy -= definition.cost
special_cooldown = 45
special_ticks = definition.ticks
special_pattern = definition.pattern
special_radius = definition.radius
special_dot = definition.dot
special_impact = definition.damage
special_air = definition.air
special_notice = ""
notice_ticks = 0
guard_ticks = max(guard_ticks, definition.guard)
stun_ticks = max(stun_ticks, definition.stun)
direction = monster.flip ? -1 : 1
old_center = monster.x + monster.scale * 8
special_x = old_center + direction * definition.offset
if definition.dash > 0:
monster.x = clamp(monster.x + direction * definition.dash, 0, move_limit)
special_x = (old_center + monster.x + monster.scale * 8) / 2
special_radius = abs(monster.x + monster.scale * 8 - old_center) / 2 + 32
health = min(100, health + definition.heal)
sound.play("combat_special")
if definition.damage > 0 && special_pattern != "meteor" && special_pattern != "missile":
shots = shots.filter(s => abs(s.x - special_x) > special_radius)
call powerStrike special_x, special_radius, definition.damage, definition.air
stop when status != "playing"
if special_pattern == "tide":
for soldier in soldiers:
soldier.x = clamp(soldier.x + direction * 45, 0, 375)
for tank in tanks:
tank.x = clamp(tank.x + direction * 35, 0, 350)
flash = 6
call describeCombat
action updateCombat:
combat_fx = []
if defending == true:
guard_x = monster.flip ? monster.x - 10 : monster.x + monster.scale * 12
combat_fx.push(
{
"x": guard_x,
"y": monster.y,
"sprite": "combat/block",
"scale": monster.scale,
"flip": monster.flip
}
)
if guard_ticks > 0 && defending != true:
combat_fx.push({"x": monster.x - 12, "y": monster.y - 12, "sprite": "power/shield", "scale": 3})
if special_ticks > 0:
sprite = "combat/" + special_pattern
combat_fx.push({"x": special_x - 24, "y": 142, "sprite": sprite, "scale": 3})
if special_pattern == "beam" || special_pattern == "flame":
for side in [-1, 1]:
combat_fx.push({"x": special_x + side * 45 - 24, "y": 132, "sprite": sprite, "scale": 3})
if special_pattern == "meteor":
combat_fx.push(
{
"x": special_x - 12,
"y": 40 + (30 - special_ticks) * 3,
"sprite": "combat/meteor",
"scale": 3
}
)
if special_ticks == 1:
call powerStrike special_x, special_radius, special_impact, special_air
stop when status != "playing"
if special_pattern == "missile":
travel = 30 - (special_ticks % 30)
for offset in [-18, 0, 18]:
combat_fx.push(
{
"x": special_x - 90 + travel * 3,
"y": 120 + offset,
"sprite": "combat/missile",
"scale": 2
}
)
if special_ticks % 30 == 1:
call powerStrike special_x, special_radius, special_impact, special_air
stop when status != "playing"
if special_dot > 0 && special_ticks % 30 == 0 && special_pattern != "missile":
call powerStrike special_x, special_radius, special_dot, special_air
call describeCombat
action advanceCombat:
if clock % 5 == 0:
energy = min(100, energy + 1)
special_cooldown = max(0, special_cooldown - 1)
special_ticks = max(0, special_ticks - 1)
guard_ticks = max(0, guard_ticks - 1)
stun_ticks = max(0, stun_ticks - 1)
notice_ticks = max(0, notice_ticks - 1)
if special_ticks == 0 && defending != true && guard_ticks == 0:
combat_fx = []
call describeCombat
controls.rune
#!RUNE
# Physical devices map to the input names consumed by tick(input).
@Controls/monster
keys:
ArrowLeft -> left
ArrowRight -> right
KeyA -> left
KeyD -> right
Space -> smash
ArrowDown -> defend
KeyS -> defend
KeyX -> special
commands:
KeyB -> openStore
KeyT -> openTitle
PageDown -> nextStorePage
PageUp -> previousStorePage
Enter -> host.start
KeyP -> host.pause
KeyM -> host.mute
KeyF -> host.fullscreen
F11 -> host.fullscreen
mouse:
Left -> smash
Right -> defend
gamepad:
Axis0- -> left
Axis0+ -> right
Button14 -> left
Button15 -> right
Button0 -> smash
Button1 -> defend
Button2 -> special
Button9 -> {"command":"host.pause"}
Button8 -> {"command":"host.start"}
touch = {
"buttons": [
{"id":"smash","input":"smash","label":"SMASH","offset":[12,12],"size":56},
{"id":"defend","input":"defend","label":"BLOCK","offset":[76,12],"size":48},
{"id":"special","input":"special","label":"POWER","offset":[132,12],"size":48}
],
"joystick": {"left":"left","right":"right","size":80}
}
logic.rune
@Logic/monster
state:
status = "ready"
profile = {
"coins": 0,
"owned": ["kaiju"],
"skin": "kaiju",
"level": 1,
"seed": 0,
"best_score": 0
}
skins = [
{"id": "kaiju", "name": "MOSS", "cost": 0},
{"id": "ember", "name": "EMBER", "cost": 120},
{"id": "frost", "name": "FROST", "cost": 240},
{"id": "volt", "name": "VOLT", "cost": 300},
{"id": "coral", "name": "CORAL", "cost": 360},
{"id": "golem", "name": "GOLEM", "cost": 420},
{"id": "cyclops", "name": "CYCLOPS", "cost": 480},
{"id": "mantis", "name": "MANTIS", "cost": 540},
{"id": "drake", "name": "DRAKE", "cost": 600},
{"id": "yeti", "name": "YETI", "cost": 660},
{"id": "slime", "name": "SLIME", "cost": 720},
{"id": "mecha", "name": "MECHA", "cost": 800},
{"id": "cosmo", "name": "COSMO", "cost": 900},
{"id": "thorn", "name": "THORN", "cost": 1000},
{"id": "obsidian", "name": "OBSIDIAN", "cost": 1100},
{"id": "tide", "name": "TIDE", "cost": 1200},
{"id": "nova", "name": "NOVA", "cost": 1400}
]
store_page = 0
store_pages = 6
level = 1
difficulty = 1
reward = 0
fire_rate = 60
tank_rate = 95
menu = null
aircraft = []
score = 0
health = 100
destroyed = 0
clock = 0
cooldown = 0
flash = 0
monster = {"x": 8, "y": 118, "sprite": "kaiju/idle", "scale": 3, "flip": false}
buildings = [
{"x": 62, "y": 110, "sprite": "tower/blue", "scale": 2, "hp": 3},
{"x": 124, "y": 110, "sprite": "tower/rust", "scale": 2, "hp": 3},
{"x": 186, "y": 110, "sprite": "tower/blue", "scale": 2, "hp": 3},
{"x": 248, "y": 110, "sprite": "tower/rust", "scale": 2, "hp": 3},
{"x": 310, "y": 110, "sprite": "tower/blue", "scale": 2, "hp": 3}
]
skyline = [
{"x": 0, "y": 92, "sprite": "skyline", "scale": 2},
{"x": 64, "y": 76, "sprite": "skyline", "scale": 3},
{"x": 178, "y": 98, "sprite": "skyline", "scale": 2},
{"x": 248, "y": 76, "sprite": "skyline", "scale": 3}
]
soldiers = [
{"x": 110, "y": 170, "sprite": "soldier", "scale": 2, "visible": true, "hp": 1},
{"x": 210, "y": 170, "sprite": "soldier", "scale": 2, "visible": true, "hp": 1},
{"x": 322, "y": 170, "sprite": "soldier", "scale": 2, "visible": true, "hp": 1}
]
tanks = [
{"x": 170, "y": 174, "sprite": "tank", "scale": 2, "visible": true, "hp": 2},
{"x": 338, "y": 174, "sprite": "tank", "scale": 2, "visible": true, "hp": 2}
]
shots = []
dust = []
# Save only the profile. Scenes, projectiles and transient UI are rebuilt.
action initialize:
profile.coins = clamp(profile.coins, 0, 999999)
profile.level = clamp(profile.level, 1, 9999)
profile.best_score = clamp(profile.best_score, 0, 99999999)
profile.seed = clamp(profile.seed, 0, 2147483647)
if profile.seed <= 0:
profile.seed = random(1, 1000000000)
valid_owned = ["kaiju"]
for skin in skins:
is_owned = profile.owned.any(id => id == skin.id)
if skin.id != "kaiju" && is_owned == true:
valid_owned.push(skin.id)
profile.owned = valid_owned
if !profile.owned.any(id => id == profile.skin):
profile.skin = "kaiju"
call openTitle
action openTitle:
call resetCombat
call clearPowers
crates = []
music.stop
music.play "monster_title"
status = "ready"
level = profile.level
monster.sprite = profile.skin + "/idle"
menu = {
"title": "MONSTER CITY",
"subtitle": "ATTACK OF THE KAJU",
"note": "EARN COINS - UNLOCK YOUR NEXT MONSTER",
"buttons": [
{"label": "PLAY CITY " + profile.level, "action": "start"},
{"label": "MONSTER SHOP", "action": "openStore"},
{"label": "RESET TO CITY 1", "action": "requestLevelReset"}
]
}
action requestLevelReset:
stop when status != "ready"
status = "reset"
menu = {
"title": "RESET TO CITY 1",
"subtitle": "COINS AND SKINS WILL BE KEPT",
"note": "ONLY YOUR CITY PROGRESS WILL RESET",
"buttons": [
{"label": "CANCEL", "action": "openTitle"},
{"label": "RESET TO CITY 1", "action": "confirmLevelReset"}
]
}
action confirmLevelReset:
stop when status != "reset"
profile.level = 1
call openTitle
action openStore:
call resetCombat
call clearPowers
crates = []
music.stop
music.play "monster_shop"
status = "store"
store_page = 0
call renderStore
# Three cards per page. Adding skins automatically increases the page count.
action renderStore:
store_pages = (skins.length - skins.length % 3) / 3
if skins.length % 3 > 0:
store_pages += 1
store_page = clamp(store_page, 0, store_pages - 1)
menu = {
"id": "store-" + store_page,
"title": "MONSTER SHOP",
"subtitle": "COINS " + profile.coins + " - PAGE " + (store_page + 1) + " OF " + store_pages,
"cards": [],
"note": "SELECT A MONSTER TO BUY OR EQUIP",
"buttons": []
}
for skin, index in skins:
if index >= store_page * 3 && index < store_page * 3 + 3:
owned = profile.owned.any(id => id == skin.id)
detail = owned ? "OWNED - EQUIP" : skin.cost + " COINS - BUY"
if profile.skin == skin.id:
detail = "EQUIPPED"
move = special_defs.find(m => m.skin == skin.id)
menu.cards.push(
{
"name": skin.name,
"sprite": skin.id + "/idle",
"detail": detail,
"caption": move.name + " " + move.cost + "E",
"action": "chooseSkin",
"args": [skin.id]
}
)
if store_page > 0:
menu.buttons.push({"label": "PREVIOUS", "action": "previousStorePage"})
if store_page < store_pages - 1:
menu.buttons.push({"label": "NEXT", "action": "nextStorePage"})
menu.buttons.push({"label": "BACK TO TITLE", "action": "openTitle"})
action nextStorePage:
stop when status != "store"
store_page = min(store_pages - 1, store_page + 1)
call renderStore
action previousStorePage:
stop when status != "store"
store_page = max(0, store_page - 1)
call renderStore
action chooseSkin(id):
stop when status != "store"
valid_skin = skins.any(s => s.id == id)
stop when valid_skin != true
selected_skin = skins.find(s => s.id == id)
owned = profile.owned.any(s => s == id)
if !owned:
if profile.coins < selected_skin.cost:
sound.play("menu_denied")
menu.note = "MORE COINS NEEDED - BEAT A CITY TO EARN"
stop
profile.coins -= selected_skin.cost
profile.owned.push(id)
sound.play("menu_buy")
profile.skin = id
monster.sprite = id + "/idle"
call resetCombat
call renderStore
# A saved seed + city number recreates each layout on retry. Enemy counts,
# armor and firing rates grow to bounded limits so later cities stay playable.
action generateLevel:
difficulty = min(level, 12)
city_seed = profile.seed + level * 1009
buildings = []
soldiers = []
tanks = []
aircraft = []
for index in [0, 1, 2, 3, 4]:
jitter = level == 1 ? 0 : random(-5, 5, city_seed + index)
tower_sprite = pick(["tower/blue", "tower/rust"], city_seed + index + 20)
armor = min(6, 3 + (difficulty - difficulty % 3) / 3)
buildings.push(
{
"x": 62 + index * 62 + jitter,
"y": 110,
"sprite": tower_sprite,
"scale": 2,
"hp": armor
}
)
for index in [0, 1, 2, 3, 4, 5]:
if index < min(6, 2 + difficulty):
soldier_x = level == 1 ? 110 + index * 106 : random(85, 350, city_seed + 50 + index)
soldiers.push(
{
"x": soldier_x,
"y": 170,
"sprite": "soldier",
"scale": 2,
"visible": true,
"hp": 1
}
)
for index in [0, 1, 2, 3]:
if index < min(4, 1 + difficulty):
tank_x = level == 1 ? 170 + index * 168 : random(140, 348, city_seed + 70 + index)
tanks.push({"x": tank_x, "y": 174, "sprite": "tank", "scale": 2, "visible": true, "hp": 2})
if level >= 3:
aircraft.push(
{
"x": 310,
"y": 78,
"sprite": "helicopter",
"scale": 2,
"vx": -0.8,
"hp": 2,
"visible": true,
"kind": "helicopter"
}
)
if level >= 5:
aircraft.push(
{
"x": 40,
"y": 45,
"sprite": "plane",
"scale": 2,
"vx": 1.8,
"hp": 3,
"visible": true,
"kind": "plane"
}
)
if level >= 8:
aircraft.push(
{
"x": 140,
"y": 85,
"sprite": "helicopter",
"scale": 2,
"vx": 1,
"hp": 2,
"visible": true,
"kind": "helicopter"
}
)
fire_rate = max(24, 64 - difficulty * 4)
tank_rate = max(40, 100 - difficulty * 5)
action start:
music.stop
reset monster
level = profile.level
call generateLevel
call resetSupplies
call resetCombat
monster.sprite = profile.skin + "/idle"
score = 0
reward = 0
health = 100
destroyed = 0
clock = 0
cooldown = 0
flash = 0
shots = []
dust = []
menu = null
status = "playing"
music.play "monster_city"
sound.play("monster_roar")
action completeLevel:
stop when status != "playing"
stop when destroyed != buildings.length
status = "won"
call clearCombat
call clearPowers
crates = []
reward = 50 + level * 10 + (score - score % 10) / 10
profile.coins = min(999999, profile.coins + reward)
profile.best_score = max(profile.best_score, score)
profile.level = min(9999, level + 1)
music.stop
sound.play("monster_victory")
menu = {
"title": "CITY CONQUERED",
"subtitle": "EARNED " + reward + " COINS - TOTAL " + profile.coins,
"note": "HELICOPTERS CITY 3 - PLANES CITY 5",
"buttons": [
{"label": "NEXT CITY " + profile.level, "action": "start"},
{"label": "MONSTER SHOP", "action": "openStore"},
{"label": "TITLE SCREEN", "action": "openTitle"}
]
}
action smash:
stop when status != "playing"
stop when cooldown > 0
stop when defending == true
cooldown = 12
flash = 6
monster.sprite = profile.skin + "/punch"
sound.play("monster_smash")
for building in buildings:
if building.hp > 0 && abs((building.x + 16) - (monster.x + monster.scale * 8)) < 52:
dust.push({"x": building.x + 6, "y": 120, "sprite": "dust", "scale": 2, "life": 12})
call damageBuilding building, 1
for soldier in soldiers:
if soldier.hp > 0 && abs(soldier.x - (monster.x + monster.scale * 8)) < 45:
call damageSoldier soldier
for tank in tanks:
if tank.hp > 0 && abs((tank.x + 16) - (monster.x + monster.scale * 8)) < 52:
call damageTank tank, 1
for flyer in aircraft:
if flyer.hp > 0
&& abs((flyer.x + 16) - (monster.x + monster.scale * 8)) < 52
&& flyer.y > 70:
call damageFlyer flyer, 1
if destroyed == buildings.length:
call completeLevel
action tick(input):
stop when status != "playing"
clock += 1
cooldown = max(0, cooldown - 1)
flash = max(0, flash - 1)
defending = input.defend == true
if input.left == true:
if defending != true:
monster.x = clamp(monster.x - move_speed, 0, move_limit)
monster.flip = true
if input.right == true:
if defending != true:
monster.x = clamp(monster.x + move_speed, 0, move_limit)
monster.flip = false
monster.sprite = profile.skin + "/idle"
if (input.left == true || input.right == true) && defending != true:
monster.sprite = profile.skin + "/walk"
if clock % 12 == 0:
sound.play("monster_stomp")
if flash > 0:
monster.sprite = profile.skin + "/punch"
call applyStance
call tickSupplies
call updatePowers
call applyStance
if input.special == true && special_held != true:
call useSpecial
stop when status != "playing"
special_held = input.special == true
call updateCombat
stop when status != "playing"
if input.smash == true:
call smash
stop when status != "playing"
for soldier in soldiers:
if soldier.hp > 0 && stun_ticks == 0:
soldier.flip = soldier.x > monster.x
if abs(soldier.x - monster.x) > 65:
soldier.x += soldier.x > monster.x ? -0.35 : 0.35
if clock % fire_rate == 0 && shots.length < 64:
sound.play("monster_rifle")
shots.push(
{
"x": soldier.x,
"y": 166,
"sprite": "bullet",
"scale": 1,
"vx": soldier.x > monster.x ? -3: 3,
"life": 140,
"damage": 2
}
)
for tank in tanks:
if tank.hp > 0 && stun_ticks == 0:
tank.flip = tank.x > monster.x
if clock % tank_rate == 0 && shots.length < 64:
sound.play("monster_cannon")
shots.push(
{
"x": tank.x + 12,
"y": 160,
"sprite": "shell",
"scale": 1,
"vx": tank.x > monster.x ? -2: 2,
"life": 180,
"damage": 5
}
)
for flyer in aircraft:
if flyer.hp > 0 && stun_ticks == 0:
flyer.x += flyer.vx
flyer.flip = flyer.vx < 0
if flyer.x < 0 || flyer.x > 350:
flyer.vx = 0 - flyer.vx
if clock % 75 == 0 && shots.length < 64:
sound.play("monster_cannon")
shots.push(
{
"x": flyer.x + 16,
"y": flyer.y + 12,
"sprite": "shell",
"scale": 1,
"vx": 0,
"vy": 2.5,
"life": 100,
"damage": flyer.kind == "plane" ? 7: 4
}
)
for shot in shots:
shot.x += shot.vx
if shot.vy > 0:
shot.y += shot.vy
shot.life -= 1
if shot.life > 0
&& shot.x > monster.x + 8
&& shot.x < monster.x + monster.scale * 16 - 6
&& shot.y > monster.y
&& shot.y < monster.y + monster.scale * stance_height:
incoming = shot.damage
if power == "shield":
incoming = 0
if power == "giant":
incoming = (shot.damage + 1 - ((shot.damage + 1) % 2)) / 2
if power == "speed":
dodge = random(1, 100, city_seed + clock * 31 + shot.x)
if dodge <= 65:
incoming = 0
if guard_ticks > 0:
incoming = min(incoming, 1)
if defending == true && incoming > 0:
incoming = max(1, (incoming + 9 - ((incoming + 9) % 10)) / 10)
if incoming > 0:
health = max(0, health - incoming)
if defending != true:
sound.play("monster_damage")
if defending == true && clock - last_block_sound >= 6:
sound.play("combat_block")
last_block_sound = clock
shot.life = 0
shots = shots.filter(s => s.life > 0 && s.x > 0 && s.x < 384 && s.y < 194)
for puff in dust:
puff.y -= 1
puff.life -= 1
dust = dust.filter(p => p.life > 0)
stop when status != "playing"
call advancePowerClock
call advanceCombat
call applyStance
if health <= 0:
call clearCombat
call clearPowers
crates = []
status = "gameover"
music.stop
sound.play("monster_gameover")
menu = {
"title": "MONSTER DOWN",
"subtitle": "COINS SAFE - TRY THIS CITY AGAIN",
"note": "KEEP MOVING AND SMASH THE ARMY",
"buttons": [
{"label": "RETRY CITY " + level, "action": "start"},
{"label": "MONSTER SHOP", "action": "openStore"},
{"label": "TITLE SCREEN", "action": "openTitle"}
]
}
monster_city.rune
#!RUNE
import "controls.rune"
import "sprites.pixel.rune"
import "skins/kaiju.pixel.rune"
import "skins/ember.pixel.rune"
import "skins/frost.pixel.rune"
import "skins/volt.pixel.rune"
import "skins/coral.pixel.rune"
import "skins/golem.pixel.rune"
import "skins/cyclops.pixel.rune"
import "skins/mantis.pixel.rune"
import "skins/drake.pixel.rune"
import "skins/yeti.pixel.rune"
import "skins/slime.pixel.rune"
import "skins/mecha.pixel.rune"
import "skins/cosmo.pixel.rune"
import "skins/thorn.pixel.rune"
import "skins/obsidian.pixel.rune"
import "skins/tide.pixel.rune"
import "skins/nova.pixel.rune"
import "logic.rune"
import "combat.rune"
import "combat.pixel.rune"
import "powers.rune"
import "powers.pixel.rune"
import "sound.rune"
@App
name = Monster City
type = pixel
scene = city
resolution = [384, 216]
tick_rate = 30
port = 3010
@Scene/city
logic = monster
background = "#233449"
hud = {
"coins": "profile.coins",
"energy": "energy",
"health": "health",
"level": "level",
"max_energy": 100,
"max_health": 100,
"message": "power_label",
"score": "score",
"special": "special_label",
"title": "MONSTER CITY"
}
overlays = {"ready":"MAKE A BIG ENTRANCE","won":"CITY CONQUERED","gameover":"MONSTER DOWN"}
controls = monster
persistence = {"key":"monster-city-v1","state":"profile"}
menu = menu
menu_sounds = {"move":"menu_move","confirm":"menu_confirm"}
layers = ["skyline", "buildings", "soldiers", "tanks", "aircraft", "shots", "crates", "companion", "monster", "power_fx", "combat_fx", "dust"]
rects = [
{"x":0,"y":23,"width":384,"height":65,"color":"#233449"},
{"x":0,"y":88,"width":384,"height":102,"color":"#384853"},
{"x":310,"y":38,"width":22,"height":22,"color":"#e3cd9b"},
{"x":306,"y":38,"width":20,"height":18,"color":"#233449"},
{"x":0,"y":190,"width":384,"height":4,"color":"#9a927b"},
{"x":0,"y":194,"width":384,"height":22,"color":"#202b36"},
{"x":10,"y":204,"width":32,"height":2,"color":"#6d7169"},
{"x":68,"y":204,"width":32,"height":2,"color":"#6d7169"},
{"x":126,"y":204,"width":32,"height":2,"color":"#6d7169"},
{"x":184,"y":204,"width":32,"height":2,"color":"#6d7169"},
{"x":242,"y":204,"width":32,"height":2,"color":"#6d7169"},
{"x":300,"y":204,"width":32,"height":2,"color":"#6d7169"},
{"x":358,"y":204,"width":20,"height":2,"color":"#6d7169"}
]
# Page metadata lets the same Rune actions run through vectrune test.
@Page/city
logic = monster
view:
canvas data-rune-pixel=true
powers.pixel.rune
# Power supplies and effects share both presentation hosts.
@Palette/powers
colors = {
".": "transparent",
"b": "#288bbd",
"c": "#50d9ed",
"d": "#263b56",
"g": "#b5ef77",
"o": "#ba7849",
"p": "#bb99f2",
"w": "#f3ffff",
"y": "#ffd679"
}
@Sprite/supply/parachute
palette = powers
size = [16, 20]
pixels:
"......yyyy......"
"...yyyyyyyyyy..."
"..yyyyywwyyyyy.."
".yyyywwwwwwyyyy."
"yyyyyyyyyyyyyyyy"
"d..d........d..d"
"d...d......d...d"
".d..d......d..d."
".d...d....d...d."
"..d..d....d..d.."
"..d...d..d...d.."
"...d..d..d..d..."
"...d...dd...d..."
"....dddddddd...."
"....oyyyyyyo...."
"....oyowwoyo...."
"....oywwwwyo...."
"....oyowwoyo...."
"....oyyyyyyo...."
"....oooooooo...."
@Sprite/supply/landed
palette = powers
size = [16, 20]
pixels:
"................"
"................"
"................"
"................"
"................"
"................"
"................"
"................"
"................"
"................"
"................"
"................"
"................"
"................"
"....oyyyyyyo...."
"....oyowwoyo...."
"....oywwwwyo...."
"....oyowwoyo...."
"....oyyyyyyo...."
"....oooooooo...."
@Sprite/power/breath
palette = powers
size = [24, 8]
pixels:
"...cccccc....ccccccc...."
"cccccccccccccccccccccc.."
"ccwwwwwwwwwwwwwwwwwwccc."
"wwwwwwwwwwwwwwwwwwwwwccc"
"wwwwwwwwwwwwwwwwwwwwwccc"
"ccwwwwwwwwwwwwwwwwwwccc."
"cccccccccccccccccccccc.."
"...cccccc....ccccccc...."
@Sprite/power/bolt
palette = powers
size = [24, 8]
pixels:
"........wwww............"
"......www..www.........."
"....www......www....ww.."
"wwwww..........wwwwwwwww"
"wwwww..........wwwwwwwww"
"....www......www....ww.."
"......www..www.........."
"........wwww............"
@Sprite/power/speed
palette = powers
size = [16, 6]
pixels:
"...yyyyyyyyyyy.."
"yyyyyyyyyyyy...."
"................"
"..wwwwwwwwwww..."
"wwwwwwwwwww....."
"................"
@Sprite/power/shockwave
palette = powers
size = [16, 6]
pixels:
"......cccc......"
"....ccwwwwcc...."
"..ccww....wwcc.."
"ccww........wwcc"
"ww............ww"
"................"
@Sprite/power/shield
palette = powers
size = [24, 32]
pixels:
"........................"
"........cccccccc........"
"......cccc....cccc......"
".....ccc........ccc....."
"....cc............cc...."
"....c..............c...."
"...cc..............cc..."
"..cc................cc.."
"..cc................cc.."
"..c..................c.."
".cc..................cc."
".c....................c."
".c....................c."
".c....................c."
".c....................c."
".c....................c."
".c....................c."
".c....................c."
".c....................c."
".c....................c."
".c....................c."
".cc..................cc."
"..c..................c.."
"..cc................cc.."
"..cc................cc.."
"...cc..............cc..."
"....c..............c...."
"....cc............cc...."
".....ccc........ccc....."
"......cccc....cccc......"
"........cccccccc........"
"........................"
@Sprite/power/electric
palette = powers
size = [24, 32]
pixels:
"........................"
"........pwwpwwpw........"
"......wpww...pwwpw......"
".....wpw...p....wwp....."
"....wp...p........ww...."
"....p..p...........p...."
"...pwp.............ww..."
"..pw................pw.."
"..ww..............p.ww.."
"..w.............p....p.."
".wp...........p......ww."
".p..........p.........p."
".w........p...........w."
".w......p.............w."
".p....p...............p."
".w..p................pw."
".wp................p..w."
".p...............p....p."
".w.............p......w."
".w...........p........w."
".p.........p..........p."
".ww......p...........pw."
"..p....p.............w.."
"..ww.p..............ww.."
"..wp................wp.."
"...ww.............pwp..."
"....p...........p..p...."
"....ww........p...pw...."
".....pww....p...wpw....."
"......wpwwp...wwpw......"
"........wpwwpwwp........"
"........................"
@Sprite/power/charge
palette = powers
size = [12, 12]
pixels:
"............"
".....cc....."
"...cccccc..."
"..cccwwccc.."
"..ccwwwwcc.."
".ccwwwwwwcc."
".ccwwwwwwcc."
"..ccwwwwcc.."
"..cccwwccc.."
"...cccccc..."
".....cc....."
"............"
powers.rune
# Temporary powers are gameplay state, never part of the saved profile.
@Logic/monster
state:
power_defs = [
{"id": "atomic", "name": "ATOMIC BREATH", "ticks": 120, "charge": 60},
{"id": "shield", "name": "FORCE FIELD", "ticks": 180, "charge": 0},
{"id": "electric", "name": "ELECTRIC STORM", "ticks": 240, "charge": 0},
{"id": "giant", "name": "BIGGER JUICE", "ticks": 300, "charge": 0},
{"id": "speed", "name": "SUPER SPEED", "ticks": 300, "charge": 0},
{"id": "baby", "name": "BABY KAJU", "ticks": 600, "charge": 0},
{"id": "aftershock", "name": "AFTERSHOCK", "ticks": 30, "charge": 0}
]
power = ""
power_name = ""
power_label = ""
power_ticks = 0
charge_ticks = 0
drop_interval = 450
next_drop = 150
drop_number = 0
crates = []
power_fx = []
companion = []
move_speed = 2
move_limit = 336
action clearPowers:
power = ""
power_name = ""
power_label = ""
power_ticks = 0
charge_ticks = 0
power_fx = []
companion = []
monster.scale = 3
monster.y = 118
monster.x = clamp(monster.x, 0, 336)
move_speed = 2
move_limit = 336
action resetSupplies:
call clearPowers
crates = []
drop_number = 0
drop_interval = level >= 15 ? 150 : level >= 5 ? 300 : 450
next_drop = level >= 15 ? 30 : level >= 5 ? 90 : 150
action tickSupplies:
if clock >= next_drop:
next_drop = clock + drop_interval
drop_number += 1
chance = level >= 15 ? 100 : level >= 5 ? 75 : 50
roll = random(1, 100, city_seed + drop_number * 79)
if roll <= chance && crates.length < 2:
choices = level < 5
? ["shield", "speed", "baby"]
: ["atomic", "shield", "electric", "giant", "speed", "baby", "aftershock"]
kind = pick(choices, city_seed + drop_number * 131)
landing_x = clamp(monster.x + random(-20, 90, city_seed + drop_number * 97), 12, 340)
crates.push(
{
"x": landing_x,
"y": 26,
"sprite": "supply/parachute",
"scale": 2,
"kind": kind,
"life": 600
}
)
for crate in crates:
crate.y = min(154, crate.y + 1.8)
crate.life -= 1
if crate.y >= 154:
crate.sprite = "supply/landed"
if crate.life > 0
&& crate.y + 32 >= monster.y
&& abs((crate.x + 16) - (monster.x + monster.scale * 8)) < monster.scale * 8 + 12:
crate.life = 0
call grantPower crate.kind
crates = crates.filter(c => c.life > 0)
action grantPower(kind):
stop when status != "playing"
valid_power = power_defs.any(p => p.id == kind)
stop when valid_power != true
definition = power_defs.find(p => p.id == kind)
call clearPowers
power = kind
power_name = definition.name
power_ticks = definition.ticks
charge_ticks = definition.charge
sound.play("power_pickup")
if power == "atomic":
sound.play("power_charge")
if power == "giant":
monster.scale = 4
monster.y = 94
move_limit = 320
monster.x = min(monster.x, move_limit)
if power == "speed":
move_speed = 4.5
if power == "baby":
baby_x = max(0, monster.x - 20)
companion = [
{
"x": baby_x,
"y": 166,
"sprite": profile.skin + "/walk",
"scale": 1,
"flip": monster.flip
}
]
if power == "aftershock":
sound.play("power_aftershock")
center = monster.x + monster.scale * 8
shots = shots.filter(s => abs(s.x - center) > 130)
call powerStrike center, 130, 999, false
call describePower
action describePower:
power_label = ""
if power != "":
remaining = charge_ticks > 0 ? charge_ticks : power_ticks
seconds = (remaining + 29 - ((remaining + 29) % 30)) / 30
power_label = power_name + (charge_ticks > 0 ? " - CHARGING " : " - ") + seconds + "S"
if power == "" && crates.length > 0:
power_label = "SUPPLY CRATE - WALK INTO IT"
action updatePowers:
power_fx = []
center = monster.x + monster.scale * 8
direction = monster.flip ? -1 : 1
if power == "shield":
power_fx.push({"x": monster.x - 12, "y": monster.y - 12, "sprite": "power/shield", "scale": 3})
if power == "atomic":
if charge_ticks > 0:
power_fx.push(
{
"x": monster.x + (monster.flip ? -10: 34),
"y": monster.y + 6,
"sprite": "power/charge",
"scale": 2
}
)
if charge_ticks == 0:
if clock % 12 == 0:
sound.play("power_breath")
for segment in [0, 1, 2]:
beam_x = monster.flip
? monster.x - 54 * (segment + 1)
: monster.x + 36 + 54 * segment
power_fx.push(
{
"x": beam_x,
"y": monster.y + 18,
"sprite": "power/breath",
"scale": 3,
"flip": monster.flip
}
)
strike_x = center + direction * 100
shots = shots.filter(s => abs(s.x - strike_x) > 100)
if clock % 6 == 0:
call powerStrike strike_x, 100, 1, false
if power == "electric":
power_fx.push({"x": monster.x - 12, "y": monster.y - 12, "sprite": "power/electric", "scale": 3})
shots = shots.filter(s => abs(s.x - center) > 42)
call powerStrike center, 38, 999, true
stop when status != "playing"
if clock % 12 == 0:
sound.play("power_zap")
for side in [-1, 1]:
power_fx.push(
{
"x": center + (side < 0 ? -100: 20),
"y": 130,
"sprite": "power/bolt",
"scale": 3,
"flip": side < 0
}
)
call powerStrike center, 120, 2, true
if power == "giant":
call powerStrike center, 48, 999, false
if power == "speed" && clock % 2 == 0:
power_fx.push(
{
"x": monster.x - direction * 18,
"y": monster.y + 48,
"sprite": "power/speed",
"scale": 3,
"flip": monster.flip
}
)
if power == "baby":
for baby in companion:
target_x = clamp(monster.x - direction * 22, 0, 368)
baby.x += clamp(target_x - baby.x, -3, 3)
baby.flip = monster.flip
baby.sprite = profile.skin + "/walk"
if clock % 18 == 0:
baby.sprite = profile.skin + "/punch"
call powerStrike baby.x + 8, 32, 1, false
if power == "aftershock":
for offset in [-96, -48, 0, 48, 96]:
power_fx.push({"x": center + offset - 24, "y": 174, "sprite": "power/shockwave", "scale": 3})
call describePower
# Called after combat so a 180-tick shield protects all 180 simulation ticks.
action advancePowerClock:
was_charging = charge_ticks > 0
if was_charging == true:
charge_ticks -= 1
if charge_ticks == 0:
sound.play("power_breath")
if was_charging != true:
power_ticks = max(0, power_ticks - 1)
if power != "" && power_ticks == 0:
sound.play("power_end")
call clearPowers
call describePower
# All damage paths share the same kill accounting: no repeated coins or points.
action damageBuilding(building, amount):
stop when building.hp <= 0
building.hp = max(0, building.hp - amount)
if building.hp == 2:
building.sprite = "tower/damaged"
if building.hp == 1:
building.sprite = "tower/cracked"
if building.hp == 0:
building.sprite = "rubble"
building.y = 174
destroyed += 1
score += 100
sound.play("monster_collapse")
action damageTank(tank, amount):
stop when tank.hp <= 0
tank.hp = max(0, tank.hp - amount)
if tank.hp == 0:
tank.sprite = "wreck"
score += 50
sound.play("monster_explosion")
action damageSoldier(soldier):
stop when soldier.hp <= 0
soldier.hp = 0
soldier.visible = false
score += 10
action damageFlyer(flyer, amount):
stop when flyer.hp <= 0
flyer.hp = max(0, flyer.hp - amount)
if flyer.hp == 0:
flyer.visible = false
score += 75
sound.play("monster_explosion")
action powerStrike(center, radius, amount, air):
stop when status != "playing"
for building in buildings:
if abs((building.x + 16) - center) < radius:
call damageBuilding building, amount
for soldier in soldiers:
if abs(soldier.x - center) < radius:
call damageSoldier soldier
for tank in tanks:
if abs((tank.x + 16) - center) < radius:
call damageTank tank, amount
for flyer in aircraft:
if air == true && abs((flyer.x + 16) - center) < radius:
call damageFlyer flyer, amount
if destroyed == buildings.length:
call completeLevel
skins/coral.pixel.rune
# CORAL — a monster with idle, step, punch and duck poses.
@Palette/coral
colors = {
".": "transparent",
"a": "#bfe8d8",
"b": "#ed929c",
"d": "#aa5267",
"e": "#fdf5cd",
"h": "#ffd2b0",
"k": "#563551"
}
@Sprite/coral/idle
palette = coral
size = [16, 24]
origin = [0, 0]
pixels:
"..a.........a..."
"...a.......a...."
".a.ddddddd.a...."
"..ddbbbbbbbdd..."
".aabbbbbbeebba.."
"..dbbbbbbkebbda."
".aabbbbbbbbbba.."
"..dbbbkkkkbbbda."
".aabbbbhhbbbba.."
"..ddbbbhabbbdd.."
"...dbbbhabbbd..."
"...dbbbhabbbdhh."
"...dbbbhabbbd..."
"...dbbbhabbbd..."
"...dbbbhabbbd..."
"...dbbbhabbbd..."
"...dbbbhabbbd..."
"...ddbbbbbbdd..."
"....dbbddbbd...."
"....dbbd.dbd...."
"....dbbd.dbd...."
"...dbbd..dbd...."
"...dbbbd.dbbd..."
"...hhhhh.hhhh..."
@Sprite/coral/step
palette = coral
size = [16, 24]
origin = [0, 0]
pixels:
"..a.........a..."
"...a.......a...."
".a.ddddddd.a...."
"..ddbbbbbbbdd..."
".aabbbbbbeebba.."
"..dbbbbbbkebbda."
".aabbbbbbbbbba.."
"..dbbbkkkkbbbda."
".aabbbbhhbbbba.."
"..ddbbbhabbbdd.."
"...dbbbhabbbd..."
"...dbbbhabbbdhh."
"...dbbbhabbbd..."
"...dbbbhabbbd..."
"...dbbbhabbbd..."
"...dbbbhabbbd..."
"...dbbbhabbbd..."
"...ddbbbbbbdd..."
"....dbbddbbd...."
"....dbbd.dbd...."
".....dbbd.dbd..."
"....dbbd..dbd..."
"....dbbbd.dbbd.."
"....hhhhh.hhhh.."
@Sprite/coral/punch
palette = coral
size = [16, 24]
origin = [0, 0]
pixels:
"..a.........a..."
"...a.......a...."
".a.ddddddd.a...."
"..ddbbbbbbbdd..."
".aabbbbbbeebba.."
"..dbbbbbbkebbda."
".aabbbbbbbbbba.."
"..dbbbkkkkbbbda."
".aabbbbhhbbbba.."
"..ddbbbhabbddddd"
"...dbbbhabbbbbbb"
"...dbbbhabbhhhhh"
"...dbbbhabbbd..."
"...dbbbhabbbd..."
"...dbbbhabbbd..."
"...dbbbhabbbd..."
"...dbbbhabbbd..."
"...ddbbbbbbdd..."
"....dbbddbbd...."
"....dbbd.dbd...."
"....dbbd.dbd...."
"...dbbd..dbd...."
"...dbbbd.dbbd..."
"...hhhhh.hhhh..."
@Animation/coral/walk
frames = ["coral/idle", "coral/step"]
fps = 8
@Sprite/coral/duck
palette = coral
size = [16, 16]
origin = [0, 0]
pixels:
"..a.........a..."
"...a.......a...."
".a.ddddddd.a...."
"..ddbbbbbbbdd..."
".aabbbbbbeebba.."
"..dbbbbbbkebbda."
".aabbbbbbbbbba.."
"..dbbbkkkkbbbda."
"..ddbbbhabbbdd.."
"...dbbbhabbbdhh."
"...dbbbhabbbd..."
"...dbbbhabbbd..."
"...ddbbbbbbdd..."
"....dbbd.dbd...."
"...dbbd..dbd...."
"...hhhhh.hhhh..."
skins/cosmo.pixel.rune
# COSMO — a monster with idle, step, punch and duck poses.
@Palette/cosmo
colors = {
".": "transparent",
"a": "#f8da94",
"b": "#7a69a8",
"d": "#40386d",
"e": "#a8fff0",
"h": "#d5b8ef",
"k": "#182540"
}
@Sprite/cosmo/idle
palette = cosmo
size = [16, 24]
origin = [0, 0]
pixels:
"......aaaa......"
"....aabbbbaa...."
"...abbbbbbbba..."
"..abbbbbbbbbba.."
"..abbbbeeeebba.."
"..abbbbkkkebba.."
"...abbbkkkbbba.."
"....abbbbbba...."
".....abbbba....."
".....dbbbbd....."
"....dbbabbbd...."
"...dbbbabbbbd..."
"...dbbaaabb.hh.."
"...dbbaaaab....."
"...dbbbaaabb...."
"...dbbbabbbb...."
"...dbbabbbbb...."
"...ddbbbbbbdd..."
"....dbbddbbd...."
"....dbbd.dbd...."
"....dbbd.dbd...."
"...dbbd..dbd...."
"...dbbbd.dbbd..."
"...hhhhh.hhhh..."
@Sprite/cosmo/step
palette = cosmo
size = [16, 24]
origin = [0, 0]
pixels:
"......aaaa......"
"....aabbbbaa...."
"...abbbbbbbba..."
"..abbbbbbbbbba.."
"..abbbbeeeebba.."
"..abbbbkkkebba.."
"...abbbkkkbbba.."
"....abbbbbba...."
".....abbbba....."
".....dbbbbd....."
"....dbbabbbd...."
"...dbbbabbbbd..."
"...dbbaaabb.hh.."
"...dbbaaaab....."
"...dbbbaaabb...."
"...dbbbabbbb...."
"...dbbabbbbb...."
"...ddbbbbbbdd..."
"....dbbddbbd...."
"....dbbd.dbd...."
".....dbbd.dbd..."
"....dbbd..dbd..."
"....dbbbd.dbbd.."
"....hhhhh.hhhh.."
@Sprite/cosmo/punch
palette = cosmo
size = [16, 24]
origin = [0, 0]
pixels:
"......aaaa......"
"....aabbbbaa...."
"...abbbbbbbba..."
"..abbbbbbbbbba.."
"..abbbbeeeebba.."
"..abbbbkkkebba.."
"...abbbkkkbbba.."
"....abbbbbba...."
".....abbbba....."
".....dbbbbdddddd"
"....dbbabbbbbbbb"
"...dbbbabbbhhhhh"
"...dbbaaabb.hh.."
"...dbbaaaab....."
"...dbbbaaabb...."
"...dbbbabbbb...."
"...dbbabbbbb...."
"...ddbbbbbbdd..."
"....dbbddbbd...."
"....dbbd.dbd...."
"....dbbd.dbd...."
"...dbbd..dbd...."
"...dbbbd.dbbd..."
"...hhhhh.hhhh..."
@Animation/cosmo/walk
frames = ["cosmo/idle", "cosmo/step"]
fps = 8
@Sprite/cosmo/duck
palette = cosmo
size = [16, 16]
origin = [0, 0]
pixels:
"......aaaa......"
"....aabbbbaa...."
"...abbbbbbbba..."
"..abbbbbbbbbba.."
"..abbbbeeeebba.."
"..abbbbkkkebba.."
"...abbbkkkbbba.."
"....abbbbbba...."
".....dbbbbd....."
"...dbbbabbbbd..."
"...dbbaaaab....."
"...dbbbabbbb...."
"...ddbbbbbbdd..."
"....dbbd.dbd...."
"...dbbd..dbd...."
"...hhhhh.hhhh..."
skins/cyclops.pixel.rune
# CYCLOPS — a monster with idle, step, punch and duck poses.
@Palette/cyclops
colors = {
".": "transparent",
"a": "#81c7c1",
"b": "#ac79bd",
"d": "#674482",
"e": "#fff5cd",
"h": "#efb8d8",
"k": "#282840"
}
@Sprite/cyclops/idle
palette = cyclops
size = [16, 24]
origin = [0, 0]
pixels:
"......hh........"
".....hbbh......."
"....dbbbbd......"
"...dbbbbbbd....."
"...dbbeeeebd...."
"...dbeekkebd...."
"...dbbeeeebd...."
"...dbbbbbbbd...."
"...dbbhhhbbd...."
"..dbbbbbabbbd..."
"..dbbbbbabbbbd.."
"..dbbbbbabb.hh.."
"..dbbbbbabb....."
"..dbbbbbabb....."
"..dbbbbbabb....."
"..dbbbbbabb....."
"..dbbbbbabb....."
"..ddbbbbbbbdd..."
"...dbbddbbbd...."
"...dbbd.dbbd...."
"...dbbd.dbbd...."
"..dbbd..dbbd...."
"..dbbbd.dbbbd..."
"..hhhhh.hhhhh..."
@Sprite/cyclops/step
palette = cyclops
size = [16, 24]
origin = [0, 0]
pixels:
"......hh........"
".....hbbh......."
"....dbbbbd......"
"...dbbbbbbd....."
"...dbbeeeebd...."
"...dbeekkebd...."
"...dbbeeeebd...."
"...dbbbbbbbd...."
"...dbbhhhbbd...."
"..dbbbbbabbbd..."
"..dbbbbbabbbbd.."
"..dbbbbbabb.hh.."
"..dbbbbbabb....."
"..dbbbbbabb....."
"..dbbbbbabb....."
"..dbbbbbabb....."
"..dbbbbbabb....."
"..ddbbbbbbbdd..."
"...dbbddbbbd...."
"...dbbd.dbbd...."
"....dbbd.dbbd..."
"...dbbd..dbbd..."
"...dbbbd.dbbbd.."
"...hhhhh.hhhhh.."
@Sprite/cyclops/punch
palette = cyclops
size = [16, 24]
origin = [0, 0]
pixels:
"......hh........"
".....hbbh......."
"....dbbbbd......"
"...dbbbbbbd....."
"...dbbeeeebd...."
"...dbeekkebd...."
"...dbbeeeebd...."
"...dbbbbbbbd...."
"...dbbhhhbbd...."
"..dbbbbbabbddddd"
"..dbbbbbabbbbbbb"
"..dbbbbbabbhhhhh"
"..dbbbbbabb....."
"..dbbbbbabb....."
"..dbbbbbabb....."
"..dbbbbbabb....."
"..dbbbbbabb....."
"..ddbbbbbbbdd..."
"...dbbddbbbd...."
"...dbbd.dbbd...."
"...dbbd.dbbd...."
"..dbbd..dbbd...."
"..dbbbd.dbbbd..."
"..hhhhh.hhhhh..."
@Animation/cyclops/walk
frames = ["cyclops/idle", "cyclops/step"]
fps = 8
@Sprite/cyclops/duck
palette = cyclops
size = [16, 16]
origin = [0, 0]
pixels:
"......hh........"
".....hbbh......."
"....dbbbbd......"
"...dbbbbbbd....."
"...dbbeeeebd...."
"...dbeekkebd...."
"...dbbeeeebd...."
"...dbbbbbbbd...."
"..dbbbbbabbbd..."
"..dbbbbbabb.hh.."
"..dbbbbbabb....."
"..dbbbbbabb....."
"..ddbbbbbbbdd..."
"...dbbd.dbbd...."
"..dbbd..dbbd...."
"..hhhhh.hhhhh..."
skins/drake.pixel.rune
# DRAKE — a monster with idle, step, punch and duck poses.
@Palette/drake
colors = {
".": "transparent",
"a": "#ba858b",
"b": "#c76b71",
"d": "#743e52",
"e": "#fff0bb",
"h": "#ffd09a",
"k": "#30243e"
}
@Sprite/drake/idle
palette = drake
size = [16, 24]
origin = [0, 0]
pixels:
".....h.....h...."
"....hbd...dbh..."
"....dbbddbbbd..."
"....dbbbbbbbd..."
"....dbbbbeebbd.."
"....dbbbbkebbd.."
"....dbbbbkkkk..."
"..a.dbbbbbha...."
".aba.dbbbbdd...."
".abba.dbbabbd..."
"aabbba.dbabbbd.."
"aabbba.dbab.hh.."
"aabbba.dbab....."
".abba.ddbab....."
"..aa.ddbbab....."
"...ddbbbbab....."
"..ddbbbbbabb...."
".ddbbbbbbabb...."
"ddbbbbbddbbd...."
"dbbbddd.dbbd...."
".ddd....dbbd...."
"..dbbd..dbbd...."
"..dbbbd.dbbbd..."
"..hhhhh.hhhhh..."
@Sprite/drake/step
palette = drake
size = [16, 24]
origin = [0, 0]
pixels:
".....h.....h...."
"....hbd...dbh..."
"....dbbddbbbd..."
"....dbbbbbbbd..."
"....dbbbbeebbd.."
"....dbbbbkebbd.."
"....dbbbbkkkk..."
"..a.dbbbbbha...."
".aba.dbbbbdd...."
".abba.dbbabbd..."
"aabbba.dbabbbd.."
"aabbba.dbab.hh.."
"aabbba.dbab....."
".abba.ddbab....."
"..aa.ddbbab....."
"...ddbbbbab....."
"..ddbbbbbabb...."
".ddbbbbbbabb...."
"ddbbbbbddbbd...."
"dbbbddd.dbbd...."
"..ddd....dbbd..."
"...dbbd..dbbd..."
"...dbbbd.dbbbd.."
"...hhhhh.hhhhh.."
@Sprite/drake/punch
palette = drake
size = [16, 24]
origin = [0, 0]
pixels:
".....h.....h...."
"....hbd...dbh..."
"....dbbddbbbd..."
"....dbbbbbbbd..."
"....dbbbbeebbd.."
"....dbbbbkebbd.."
"....dbbbbkkkk..."
"..a.dbbbbbha...."
".aba.dbbbbdd...."
".abba.dbbabddddd"
"aabbba.dbabbbbbb"
"aabbba.dbabhhhhh"
"aabbba.dbab....."
".abba.ddbab....."
"..aa.ddbbab....."
"...ddbbbbab....."
"..ddbbbbbabb...."
".ddbbbbbbabb...."
"ddbbbbbddbbd...."
"dbbbddd.dbbd...."
".ddd....dbbd...."
"..dbbd..dbbd...."
"..dbbbd.dbbbd..."
"..hhhhh.hhhhh..."
@Animation/drake/walk
frames = ["drake/idle", "drake/step"]
fps = 8
@Sprite/drake/duck
palette = drake
size = [16, 16]
origin = [0, 0]
pixels:
".....h.....h...."
"....hbd...dbh..."
"....dbbddbbbd..."
"....dbbbbbbbd..."
"....dbbbbeebbd.."
"....dbbbbkebbd.."
"....dbbbbkkkk..."
"..a.dbbbbbha...."
".abba.dbbabbd..."
"aabbba.dbab.hh.."
".abba.ddbab....."
"...ddbbbbab....."
".ddbbbbbbabb...."
"dbbbddd.dbbd...."
"..dbbd..dbbd...."
"..hhhhh.hhhhh..."
skins/ember.pixel.rune
@Palette/ember
colors = {
".": "transparent",
"G": "#ef8053",
"a": "#566c7e",
"b": "#c8cc91",
"c": "#8c9ca0",
"d": "#182b36",
"e": "#ffe9a9",
"g": "#a04439",
"h": "#ffe2a3",
"k": "#16242d",
"l": "#a8b97b",
"n": "#3d5266",
"o": "#9c705d",
"r": "#d8876e",
"s": "#f7ba60",
"t": "#526c4e",
"w": "#eccf9a"
}
@Sprite/ember/idle
palette = ember
size = [16, 24]
origin = [0, 0]
pixels:
".......sss......"
".....ssggggss..."
".....gGGGGGGg..."
"....gGGGGGGeeg.."
"....gGGGGGGkeg.."
"....gGGGGGkkkk.."
"....gGGGGGrrr..."
"...sgGGGGGgg...."
"...sgGGGGgbg...."
"..ssgGGGGgbggg.."
"..sgGGGGGgbggGg."
"..sgGGGGGgbg.hh."
".ssgGGGGGgbg...."
".sgGGGGGGgbg...."
".sgGGGGGGgbg...."
"sgGGGGGGGgbg...."
"gGGGGGGGGgbg...."
"ggggGGGGgggg...."
"..ggGGgggGGg...."
"..gGGGg.gGGg...."
"..gGGGg.gGGg...."
"..gGGg..gGGg...."
".gGGGg..gGGGg..."
".hhhhh..hhhhh..."
@Sprite/ember/step
palette = ember
size = [16, 24]
origin = [0, 0]
pixels:
".......sss......"
".....ssggggss..."
".....gGGGGGGg..."
"....gGGGGGGeeg.."
"....gGGGGGGkeg.."
"....gGGGGGkkkk.."
"....gGGGGGrrr..."
"...sgGGGGGgg...."
"...sgGGGGgbg...."
"..ssgGGGGgbggg.."
"..sgGGGGGgbggGg."
"..sgGGGGGgbg.hh."
".ssgGGGGGgbg...."
".sgGGGGGGgbg...."
".sgGGGGGGgbg...."
"sgGGGGGGGgbg...."
"gGGGGGGGGgbg...."
"ggggGGGGgggg...."
"..ggGGgggGGg...."
"..gGGGg.gGGg...."
"..gGGGg.gGGg...."
"..gGGg...gGGg..."
"..gGGGg..gGGGg.."
"..hhhhh..hhhhh.."
@Sprite/ember/punch
palette = ember
size = [16, 24]
origin = [0, 0]
pixels:
".......sss......"
".....ssggggss..."
".....gGGGGGGg..."
"....gGGGGGGeeg.."
"....gGGGGGGkeg.."
"....gGGGGGkkkk.."
"....gGGGGGrrr..."
"...sgGGGGGgg...."
"...sgGGGGgbg...."
"..ssgGGGGgbggggg"
"..sgGGGGGgbgGGGh"
"..sgGGGGGgbghhhh"
".ssgGGGGGgbg...."
".sgGGGGGGgbg...."
".sgGGGGGGgbg...."
"sgGGGGGGGgbg...."
"gGGGGGGGGgbg...."
"ggggGGGGgggg...."
"..ggGGgggGGg...."
"..gGGGg.gGGg...."
"..gGGGg.gGGg...."
"..gGGg..gGGg...."
".gGGGg..gGGGg..."
".hhhhh..hhhhh..."
@Animation/ember/walk
frames = ["kaiju/idle", "kaiju/step"]
fps = 8
@Sprite/ember/duck
palette = ember
size = [16, 16]
origin = [0, 0]
pixels:
".......sss......"
".....ssggggss..."
".....gGGGGGGg..."
"....gGGGGGGeeg.."
"....gGGGGGGkeg.."
"....gGGGGGkkkk.."
"....gGGGGGrrr..."
"...sgGGGGGgg...."
"..ssgGGGGgbggg.."
"..sgGGGGGgbg.hh."
".sgGGGGGGgbg...."
"sgGGGGGGGgbg...."
"ggggGGGGgggg...."
"..gGGGg.gGGg...."
"..gGGg..gGGg...."
".hhhhh..hhhhh..."
skins/frost.pixel.rune
@Palette/frost
colors = {
".": "transparent",
"G": "#80cae8",
"a": "#566c7e",
"b": "#c8cc91",
"c": "#8c9ca0",
"d": "#182b36",
"e": "#ffe9a9",
"g": "#3d6d9e",
"h": "#e9f8ff",
"k": "#16242d",
"l": "#a8b97b",
"n": "#3d5266",
"o": "#9c705d",
"r": "#d8876e",
"s": "#b9e8ed",
"t": "#526c4e",
"w": "#eccf9a"
}
@Sprite/frost/idle
palette = frost
size = [16, 24]
origin = [0, 0]
pixels:
".......sss......"
".....ssggggss..."
".....gGGGGGGg..."
"....gGGGGGGeeg.."
"....gGGGGGGkeg.."
"....gGGGGGkkkk.."
"....gGGGGGrrr..."
"...sgGGGGGgg...."
"...sgGGGGgbg...."
"..ssgGGGGgbggg.."
"..sgGGGGGgbggGg."
"..sgGGGGGgbg.hh."
".ssgGGGGGgbg...."
".sgGGGGGGgbg...."
".sgGGGGGGgbg...."
"sgGGGGGGGgbg...."
"gGGGGGGGGgbg...."
"ggggGGGGgggg...."
"..ggGGgggGGg...."
"..gGGGg.gGGg...."
"..gGGGg.gGGg...."
"..gGGg..gGGg...."
".gGGGg..gGGGg..."
".hhhhh..hhhhh..."
@Sprite/frost/step
palette = frost
size = [16, 24]
origin = [0, 0]
pixels:
".......sss......"
".....ssggggss..."
".....gGGGGGGg..."
"....gGGGGGGeeg.."
"....gGGGGGGkeg.."
"....gGGGGGkkkk.."
"....gGGGGGrrr..."
"...sgGGGGGgg...."
"...sgGGGGgbg...."
"..ssgGGGGgbggg.."
"..sgGGGGGgbggGg."
"..sgGGGGGgbg.hh."
".ssgGGGGGgbg...."
".sgGGGGGGgbg...."
".sgGGGGGGgbg...."
"sgGGGGGGGgbg...."
"gGGGGGGGGgbg...."
"ggggGGGGgggg...."
"..ggGGgggGGg...."
"..gGGGg.gGGg...."
"..gGGGg.gGGg...."
"..gGGg...gGGg..."
"..gGGGg..gGGGg.."
"..hhhhh..hhhhh.."
@Sprite/frost/punch
palette = frost
size = [16, 24]
origin = [0, 0]
pixels:
".......sss......"
".....ssggggss..."
".....gGGGGGGg..."
"....gGGGGGGeeg.."
"....gGGGGGGkeg.."
"....gGGGGGkkkk.."
"....gGGGGGrrr..."
"...sgGGGGGgg...."
"...sgGGGGgbg...."
"..ssgGGGGgbggggg"
"..sgGGGGGgbgGGGh"
"..sgGGGGGgbghhhh"
".ssgGGGGGgbg...."
".sgGGGGGGgbg...."
".sgGGGGGGgbg...."
"sgGGGGGGGgbg...."
"gGGGGGGGGgbg...."
"ggggGGGGgggg...."
"..ggGGgggGGg...."
"..gGGGg.gGGg...."
"..gGGGg.gGGg...."
"..gGGg..gGGg...."
".gGGGg..gGGGg..."
".hhhhh..hhhhh..."
@Animation/frost/walk
frames = ["kaiju/idle", "kaiju/step"]
fps = 8
@Sprite/frost/duck
palette = frost
size = [16, 16]
origin = [0, 0]
pixels:
".......sss......"
".....ssggggss..."
".....gGGGGGGg..."
"....gGGGGGGeeg.."
"....gGGGGGGkeg.."
"....gGGGGGkkkk.."
"....gGGGGGrrr..."
"...sgGGGGGgg...."
"..ssgGGGGgbggg.."
"..sgGGGGGgbg.hh."
".sgGGGGGGgbg...."
"sgGGGGGGGgbg...."
"ggggGGGGgggg...."
"..gGGGg.gGGg...."
"..gGGg..gGGg...."
".hhhhh..hhhhh..."
skins/golem.pixel.rune
# GOLEM — a monster with idle, step, punch and duck poses.
@Palette/golem
colors = {
".": "transparent",
"a": "#b99c7b",
"b": "#9698ad",
"d": "#555773",
"e": "#f8c66c",
"h": "#d1c7b9",
"k": "#252d42"
}
@Sprite/golem/idle
palette = golem
size = [16, 24]
origin = [0, 0]
pixels:
"................"
".....ddddddd...."
"....dbbbbbbbd..."
"....dbbbabbbd..."
"....dbeeeebbd..."
"....dbkkkkbbd..."
"....dbbbbbbbd..."
"...ddddddddddd.."
"..dbbbabbbbbbbd."
"..dbbbabbbbbbbd."
".dbbbbhabbbbbbdd"
".dbbbbhabbbbbbbd"
".dbbbbhabbbbbbbd"
".dbbbbaabbbbbbbd"
"..dbbbbbabbbbbd."
"..dbbbbbabbbbbd."
"..dbbbbbabbbbbd."
"..ddddddddddddd."
"...dbbbddbbbd..."
"...dbbbddbbbd..."
"...dbbbddbbbd..."
"...dbbbddbbbd..."
"..dbbbbddbbbbd.."
"..hhhhhh.hhhhhh."
@Sprite/golem/step
palette = golem
size = [16, 24]
origin = [0, 0]
pixels:
"................"
".....ddddddd...."
"....dbbbbbbbd..."
"....dbbbabbbd..."
"....dbeeeebbd..."
"....dbkkkkbbd..."
"....dbbbbbbbd..."
"...ddddddddddd.."
"..dbbbabbbbbbbd."
"..dbbbabbbbbbbd."
".dbbbbhabbbbbbdd"
".dbbbbhabbbbbbbd"
".dbbbbhabbbbbbbd"
".dbbbbaabbbbbbbd"
"..dbbbbbabbbbbd."
"..dbbbbbabbbbbd."
"..dbbbbbabbbbbd."
"..ddddddddddddd."
"...dbbbddbbbd..."
"...dbbbddbbbd..."
"....dbbbddbbbd.."
"....dbbbddbbbd.."
"...dbbbbddbbbbd."
"...hhhhhh.hhhhhh"
@Sprite/golem/punch
palette = golem
size = [16, 24]
origin = [0, 0]
pixels:
"................"
".....ddddddd...."
"....dbbbbbbbd..."
"....dbbbabbbd..."
"....dbeeeebbd..."
"....dbkkkkbbd..."
"....dbbbbbbbd..."
"...ddddddddddd.."
"..dbbbabbbbbbbd."
"..dbbbabbbbddddd"
".dbbbbhabbbbbbbb"
".dbbbbhabbbhhhhh"
".dbbbbhabbbbbbbd"
".dbbbbaabbbbbbbd"
"..dbbbbbabbbbbd."
"..dbbbbbabbbbbd."
"..dbbbbbabbbbbd."
"..ddddddddddddd."
"...dbbbddbbbd..."
"...dbbbddbbbd..."
"...dbbbddbbbd..."
"...dbbbddbbbd..."
"..dbbbbddbbbbd.."
"..hhhhhh.hhhhhh."
@Animation/golem/walk
frames = ["golem/idle", "golem/step"]
fps = 8
@Sprite/golem/duck
palette = golem
size = [16, 16]
origin = [0, 0]
pixels:
"................"
".....ddddddd...."
"....dbbbbbbbd..."
"....dbbbabbbd..."
"....dbeeeebbd..."
"....dbkkkkbbd..."
"....dbbbbbbbd..."
"...ddddddddddd.."
"..dbbbabbbbbbbd."
".dbbbbhabbbbbbbd"
".dbbbbaabbbbbbbd"
"..dbbbbbabbbbbd."
"..ddddddddddddd."
"...dbbbddbbbd..."
"...dbbbddbbbd..."
"..hhhhhh.hhhhhh."
skins/kaiju.pixel.rune
@Palette/kaiju
colors = {
".": "transparent",
"G": "#80b95e",
"a": "#566c7e",
"b": "#c8cc91",
"c": "#8c9ca0",
"d": "#182b36",
"e": "#ffe9a9",
"g": "#427e58",
"h": "#c5dd88",
"k": "#16242d",
"l": "#a8b97b",
"n": "#3d5266",
"o": "#9c705d",
"r": "#d8876e",
"s": "#69a899",
"t": "#526c4e",
"w": "#eccf9a"
}
@Sprite/kaiju/idle
palette = kaiju
size = [16, 24]
origin = [0, 0]
pixels:
".......sss......"
".....ssggggss..."
".....gGGGGGGg..."
"....gGGGGGGeeg.."
"....gGGGGGGkeg.."
"....gGGGGGkkkk.."
"....gGGGGGrrr..."
"...sgGGGGGgg...."
"...sgGGGGgbg...."
"..ssgGGGGgbggg.."
"..sgGGGGGgbggGg."
"..sgGGGGGgbg.hh."
".ssgGGGGGgbg...."
".sgGGGGGGgbg...."
".sgGGGGGGgbg...."
"sgGGGGGGGgbg...."
"gGGGGGGGGgbg...."
"ggggGGGGgggg...."
"..ggGGgggGGg...."
"..gGGGg.gGGg...."
"..gGGGg.gGGg...."
"..gGGg..gGGg...."
".gGGGg..gGGGg..."
".hhhhh..hhhhh..."
@Sprite/kaiju/step
palette = kaiju
size = [16, 24]
origin = [0, 0]
pixels:
".......sss......"
".....ssggggss..."
".....gGGGGGGg..."
"....gGGGGGGeeg.."
"....gGGGGGGkeg.."
"....gGGGGGkkkk.."
"....gGGGGGrrr..."
"...sgGGGGGgg...."
"...sgGGGGgbg...."
"..ssgGGGGgbggg.."
"..sgGGGGGgbggGg."
"..sgGGGGGgbg.hh."
".ssgGGGGGgbg...."
".sgGGGGGGgbg...."
".sgGGGGGGgbg...."
"sgGGGGGGGgbg...."
"gGGGGGGGGgbg...."
"ggggGGGGgggg...."
"..ggGGgggGGg...."
"..gGGGg.gGGg...."
"..gGGGg.gGGg...."
"..gGGg...gGGg..."
"..gGGGg..gGGGg.."
"..hhhhh..hhhhh.."
@Sprite/kaiju/punch
palette = kaiju
size = [16, 24]
origin = [0, 0]
pixels:
".......sss......"
".....ssggggss..."
".....gGGGGGGg..."
"....gGGGGGGeeg.."
"....gGGGGGGkeg.."
"....gGGGGGkkkk.."
"....gGGGGGrrr..."
"...sgGGGGGgg...."
"...sgGGGGgbg...."
"..ssgGGGGgbggggg"
"..sgGGGGGgbgGGGh"
"..sgGGGGGgbghhhh"
".ssgGGGGGgbg...."
".sgGGGGGGgbg...."
".sgGGGGGGgbg...."
"sgGGGGGGGgbg...."
"gGGGGGGGGgbg...."
"ggggGGGGgggg...."
"..ggGGgggGGg...."
"..gGGGg.gGGg...."
"..gGGGg.gGGg...."
"..gGGg..gGGg...."
".gGGGg..gGGGg..."
".hhhhh..hhhhh..."
@Animation/kaiju/walk
frames = ["kaiju/idle", "kaiju/step"]
fps = 8
@Sprite/kaiju/duck
palette = kaiju
size = [16, 16]
origin = [0, 0]
pixels:
".......sss......"
".....ssggggss..."
".....gGGGGGGg..."
"....gGGGGGGeeg.."
"....gGGGGGGkeg.."
"....gGGGGGkkkk.."
"....gGGGGGrrr..."
"...sgGGGGGgg...."
"..ssgGGGGgbggg.."
"..sgGGGGGgbg.hh."
".sgGGGGGGgbg...."
"sgGGGGGGGgbg...."
"ggggGGGGgggg...."
"..gGGGg.gGGg...."
"..gGGg..gGGg...."
".hhhhh..hhhhh..."
skins/mantis.pixel.rune
# MANTIS — a monster with idle, step, punch and duck poses.
@Palette/mantis
colors = {
".": "transparent",
"a": "#f3c86b",
"b": "#60baa0",
"d": "#286f67",
"e": "#ffe898",
"h": "#a8e5bb",
"k": "#16383c"
}
@Sprite/mantis/idle
palette = mantis
size = [16, 24]
origin = [0, 0]
pixels:
"....a......a...."
".....a....a....."
".....dddddd....."
"....dbbbbbbd...."
"....dbeebbeed..."
"....dbkkbbkkd..."
".....dbbbbdd...."
"......dhhd......"
"...a.ddbbdd.a..."
"..a.dbbabbd..a.."
".a..dbbabbd...a."
".h..dbbabbd...h."
"....dbbabbd....."
"....dbbabbd....."
"...ddbbabbdd...."
"...dbbbabbbd...."
"..ddbbbabbbdd..."
"..dbbbbabbbbd..."
"...dbbddbbbd...."
"...dbbd.dbbd...."
"...dbbd.dbbd...."
"..dbbd...dbbd..."
".dbbd.....dbbd.."
".hhhh.....hhhh.."
@Sprite/mantis/step
palette = mantis
size = [16, 24]
origin = [0, 0]
pixels:
"....a......a...."
".....a....a....."
".....dddddd....."
"....dbbbbbbd...."
"....dbeebbeed..."
"....dbkkbbkkd..."
".....dbbbbdd...."
"......dhhd......"
"...a.ddbbdd.a..."
"..a.dbbabbd..a.."
".a..dbbabbd...a."
".h..dbbabbd...h."
"....dbbabbd....."
"....dbbabbd....."
"...ddbbabbdd...."
"...dbbbabbbd...."
"..ddbbbabbbdd..."
"..dbbbbabbbbd..."
"...dbbddbbbd...."
"...dbbd.dbbd...."
"....dbbd.dbbd..."
"...dbbd...dbbd.."
"..dbbd.....dbbd."
"..hhhh.....hhhh."
@Sprite/mantis/punch
palette = mantis
size = [16, 24]
origin = [0, 0]
pixels:
"....a......a...."
".....a....a....."
".....dddddd....."
"....dbbbbbbd...."
"....dbeebbeed..."
"....dbkkbbkkd..."
".....dbbbbdd...."
"......dhhd......"
"...a.ddbbdd.a..."
"..a.dbbabbdddddd"
".a..dbbabbdbbbbb"
".h..dbbabbdhhhhh"
"....dbbabbd....."
"....dbbabbd....."
"...ddbbabbdd...."
"...dbbbabbbd...."
"..ddbbbabbbdd..."
"..dbbbbabbbbd..."
"...dbbddbbbd...."
"...dbbd.dbbd...."
"...dbbd.dbbd...."
"..dbbd...dbbd..."
".dbbd.....dbbd.."
".hhhh.....hhhh.."
@Animation/mantis/walk
frames = ["mantis/idle", "mantis/step"]
fps = 8
@Sprite/mantis/duck
palette = mantis
size = [16, 16]
origin = [0, 0]
pixels:
"....a......a...."
".....a....a....."
".....dddddd....."
"....dbbbbbbd...."
"....dbeebbeed..."
"....dbkkbbkkd..."
".....dbbbbdd...."
"......dhhd......"
"..a.dbbabbd..a.."
".h..dbbabbd...h."
"....dbbabbd....."
"...dbbbabbbd...."
"..dbbbbabbbbd..."
"...dbbd.dbbd...."
"..dbbd...dbbd..."
".hhhh.....hhhh.."
skins/mecha.pixel.rune
# MECHA — a monster with idle, step, punch and duck poses.
@Palette/mecha
colors = {
".": "transparent",
"a": "#ef886c",
"b": "#8da7b8",
"d": "#3b566b",
"e": "#ffce6b",
"h": "#d6e2e4",
"k": "#1a2839"
}
@Sprite/mecha/idle
palette = mecha
size = [16, 24]
origin = [0, 0]
pixels:
".......a........"
".......a........"
".....ddddddd...."
".....dbbbbbbd..."
".....dbeeeebd..."
".....dbkkkkbd..."
".....dbbbbbbd..."
"....dddddddddd.."
"...dbbbbbbabbdd."
"..ddbbabbabbbbd."
"..dbbbabbabbbbd."
"..dbbbabbabb.hh."
"..dbbbabbab....."
"..ddbbabbadd...."
"...dbbbbbbd....."
"...dbbbbbbbd...."
"...dbbbbbbbd...."
"...ddddddddd...."
"...dbbbddbbbd..."
"...dbbbddbbbd..."
"...dbbbddbbbd..."
"...dbbbddbbbd..."
"..dbbbbddbbbbd.."
"..hhhhhh.hhhhhh."
@Sprite/mecha/step
palette = mecha
size = [16, 24]
origin = [0, 0]
pixels:
".......a........"
".......a........"
".....ddddddd...."
".....dbbbbbbd..."
".....dbeeeebd..."
".....dbkkkkbd..."
".....dbbbbbbd..."
"....dddddddddd.."
"...dbbbbbbabbdd."
"..ddbbabbabbbbd."
"..dbbbabbabbbbd."
"..dbbbabbabb.hh."
"..dbbbabbab....."
"..ddbbabbadd...."
"...dbbbbbbd....."
"...dbbbbbbbd...."
"...dbbbbbbbd...."
"...ddddddddd...."
"...dbbbddbbbd..."
"...dbbbddbbbd..."
"....dbbbddbbbd.."
"....dbbbddbbbd.."
"...dbbbbddbbbbd."
"...hhhhhh.hhhhhh"
@Sprite/mecha/punch
palette = mecha
size = [16, 24]
origin = [0, 0]
pixels:
".......a........"
".......a........"
".....ddddddd...."
".....dbbbbbbd..."
".....dbeeeebd..."
".....dbkkkkbd..."
".....dbbbbbbd..."
"....dddddddddd.."
"...dbbbbbbabbdd."
"..ddbbabbabddddd"
"..dbbbabbabbbbbb"
"..dbbbabbabhhhhh"
"..dbbbabbab....."
"..ddbbabbadd...."
"...dbbbbbbd....."
"...dbbbbbbbd...."
"...dbbbbbbbd...."
"...ddddddddd...."
"...dbbbddbbbd..."
"...dbbbddbbbd..."
"...dbbbddbbbd..."
"...dbbbddbbbd..."
"..dbbbbddbbbbd.."
"..hhhhhh.hhhhhh."
@Animation/mecha/walk
frames = ["mecha/idle", "mecha/step"]
fps = 8
@Sprite/mecha/duck
palette = mecha
size = [16, 16]
origin = [0, 0]
pixels:
".......a........"
".......a........"
".....ddddddd...."
".....dbbbbbbd..."
".....dbeeeebd..."
".....dbkkkkbd..."
".....dbbbbbbd..."
"....dddddddddd.."
"..ddbbabbabbbbd."
"..dbbbabbabb.hh."
"..ddbbabbadd...."
"...dbbbbbbbd...."
"...ddddddddd...."
"...dbbbddbbbd..."
"...dbbbddbbbd..."
"..hhhhhh.hhhhhh."
skins/nova.pixel.rune
@Palette/nova
colors = {
".": "transparent",
"a": "#eca590",
"b": "#e8bf65",
"d": "#947246",
"e": "#d7ffff",
"h": "#fff2ae",
"k": "#44354d"
}
@Sprite/nova/idle
palette = nova
size = [16, 24]
origin = [0, 0]
pixels:
".......hh......."
"...h..hbbh..h..."
"....hhbbbbhh...."
"..hhbbbbbbbbhh.."
"...hbbbeeeebh..."
"....hbbkkkbh...."
"..hhbbbbbbbbhh.."
"...hbbbhhbbbh..."
"....hbbbbbbh...."
"....dbbhbbbd...."
"...dbbbhbbbbd..."
"..hbbbbhbbbbbh.."
"..hhbbbhbbbhhh.."
"...dbbbhbbbd...."
"...dbbbhbbbd...."
"...dbbbhbbbd...."
"...dbbbhbbbd...."
"...ddbbbbbbdd..."
"....dbbddbbd...."
"....dbbd.dbd...."
"....dbbd.dbd...."
"...dbbd..dbd...."
"...dbbbd.dbbd..."
"...hhhhh.hhhh..."
@Sprite/nova/step
palette = nova
size = [16, 24]
origin = [0, 0]
pixels:
".......hh......."
"...h..hbbh..h..."
"....hhbbbbhh...."
"..hhbbbbbbbbhh.."
"...hbbbeeeebh..."
"....hbbkkkbh...."
"..hhbbbbbbbbhh.."
"...hbbbhhbbbh..."
"....hbbbbbbh...."
"....dbbhbbbd...."
"...dbbbhbbbbd..."
"..hbbbbhbbbbbh.."
"..hhbbbhbbbhhh.."
"...dbbbhbbbd...."
"...dbbbhbbbd...."
"...dbbbhbbbd...."
"...dbbbhbbbd...."
"...ddbbbbbbdd..."
"....dbbddbbd...."
"....dbbd.dbd...."
".....dbbd.dbd..."
"....dbbd..dbd..."
"....dbbbd.dbbd.."
"....hhhhh.hhhh.."
@Sprite/nova/punch
palette = nova
size = [16, 24]
origin = [0, 0]
pixels:
".......hh......."
"...h..hbbh..h..."
"....hhbbbbhh...."
"..hhbbbbbbbbhh.."
"...hbbbeeeebh..."
"....hbbkkkbh...."
"..hhbbbbbbbbhh.."
"...hbbbhhbbbh..."
"....hbbbbbbh...."
"....dbbhbbbddddd"
"...dbbbhbbbbbbbb"
"..hbbbbhbbbhhhhh"
"..hhbbbhbbbhhh.."
"...dbbbhbbbd...."
"...dbbbhbbbd...."
"...dbbbhbbbd...."
"...dbbbhbbbd...."
"...ddbbbbbbdd..."
"....dbbddbbd...."
"....dbbd.dbd...."
"....dbbd.dbd...."
"...dbbd..dbd...."
"...dbbbd.dbbd..."
"...hhhhh.hhhh..."
@Animation/nova/walk
frames = ["nova/idle", "nova/step"]
fps = 8
@Sprite/nova/duck
palette = nova
size = [16, 16]
origin = [0, 0]
pixels:
".......hh......."
"...h..hbbh..h..."
"....hhbbbbhh...."
"..hhbbbbbbbbhh.."
"...hbbbeeeebh..."
"....hbbkkkbh...."
"..hhbbbbbbbbhh.."
"...hbbbhhbbbh..."
"....dbbhbbbd...."
"..hbbbbhbbbbbh.."
"...dbbbhbbbd...."
"...dbbbhbbbd...."
"...ddbbbbbbdd..."
"....dbbd.dbd...."
"...dbbd..dbd...."
"...hhhhh.hhhh..."
skins/obsidian.pixel.rune
@Palette/obsidian
colors = {
".": "transparent",
"a": "#e7714b",
"b": "#625669",
"d": "#393447",
"e": "#ffe2a1",
"h": "#ffac68",
"k": "#171e2a"
}
@Sprite/obsidian/idle
palette = obsidian
size = [16, 24]
origin = [0, 0]
pixels:
".....a....a....."
"....aba..aba...."
"....dbbddbbd...."
"...dbbbbbbbbd..."
"...dbbbeeebbd..."
"...dbbbkkkbbd..."
"...dbbbbabbbd..."
"..ddbbbabbbbdd.."
".dbbbbabbbbbbbd."
".dbbbbabbbbbbbd."
"dbbbbbbaabbbbbbd"
"dbbbbbbbabbbbbbd"
".ddbbbbbabbbdd.."
"..dbbbbabbbbd..."
"..dbbbabbbbbd..."
"..dbbbabbbbbd..."
"..dbbbbabbbbd..."
"..ddbbbbbbbdd..."
"...dbbbddbbbd..."
"...dbbbddbbbd..."
"...dbbbddbbbd..."
"..dbbbd.dbbbd..."
".dbbbbd.dbbbbd.."
".hhhhhh.hhhhhh.."
@Sprite/obsidian/step
palette = obsidian
size = [16, 24]
origin = [0, 0]
pixels:
".....a....a....."
"....aba..aba...."
"....dbbddbbd...."
"...dbbbbbbbbd..."
"...dbbbeeebbd..."
"...dbbbkkkbbd..."
"...dbbbbabbbd..."
"..ddbbbabbbbdd.."
".dbbbbabbbbbbbd."
".dbbbbabbbbbbbd."
"dbbbbbbaabbbbbbd"
"dbbbbbbbabbbbbbd"
".ddbbbbbabbbdd.."
"..dbbbbabbbbd..."
"..dbbbabbbbbd..."
"..dbbbabbbbbd..."
"..dbbbbabbbbd..."
"..ddbbbbbbbdd..."
"...dbbbddbbbd..."
"...dbbbddbbbd..."
"....dbbbddbbbd.."
"...dbbbd.dbbbd.."
"..dbbbbd.dbbbbd."
"..hhhhhh.hhhhhh."
@Sprite/obsidian/punch
palette = obsidian
size = [16, 24]
origin = [0, 0]
pixels:
".....a....a....."
"....aba..aba...."
"....dbbddbbd...."
"...dbbbbbbbbd..."
"...dbbbeeebbd..."
"...dbbbkkkbbd..."
"...dbbbbabbbd..."
"..ddbbbabbbbdd.."
".dbbbbabbbbbbbd."
".dbbbbabbbbddddd"
"dbbbbbbaabbbbbbb"
"dbbbbbbbabbhhhhh"
".ddbbbbbabbbdd.."
"..dbbbbabbbbd..."
"..dbbbabbbbbd..."
"..dbbbabbbbbd..."
"..dbbbbabbbbd..."
"..ddbbbbbbbdd..."
"...dbbbddbbbd..."
"...dbbbddbbbd..."
"...dbbbddbbbd..."
"..dbbbd.dbbbd..."
".dbbbbd.dbbbbd.."
".hhhhhh.hhhhhh.."
@Animation/obsidian/walk
frames = ["obsidian/idle", "obsidian/step"]
fps = 8
@Sprite/obsidian/duck
palette = obsidian
size = [16, 16]
origin = [0, 0]
pixels:
".....a....a....."
"....aba..aba...."
"....dbbddbbd...."
"...dbbbbbbbbd..."
"...dbbbeeebbd..."
"...dbbbkkkbbd..."
"...dbbbbabbbd..."
"..ddbbbabbbbdd.."
".dbbbbabbbbbbbd."
"dbbbbbbbabbbbbbd"
"..dbbbbabbbbd..."
"..dbbbabbbbbd..."
"..ddbbbbbbbdd..."
"...dbbbddbbbd..."
"..dbbbd.dbbbd..."
".hhhhhh.hhhhhh.."
skins/slime.pixel.rune
# SLIME — a monster with idle, step, punch and duck poses.
@Palette/slime
colors = {
".": "transparent",
"a": "#efffbd",
"b": "#5bc8c5",
"d": "#2b7385",
"e": "#fff0aa",
"h": "#b8f4df",
"k": "#183844"
}
@Sprite/slime/idle
palette = slime
size = [16, 24]
origin = [0, 0]
pixels:
"................"
"................"
".......hh......."
".....hbbbbh....."
"....hbbbbbbh...."
"....hbbbbeebh..."
"...hbbbbbkebbh.."
"...hbbbbbbbbbh.."
"..hbbbbbhhbbbh.."
"..hbbbbbbbbbbh.."
"..hbbbbbbbbbbhh."
".hbbbbbbbbbbbbbh"
".hbbbbbbbbbbbbbh"
".hbbbbbbbbbbbbbh"
"hbbbbbbbbbbbbbbh"
"hbbbbbbbbbbbbbbh"
"hbbbbbbbbbbbbbbh"
"hbbbbbbbbbbbbbbh"
"hbbabbbbbbbabbbh"
"hbbbabbbbbabbbbh"
".hbbbbaaaabbbbh."
".hbbbbbbbbbbbbh."
"..hbbbhhhhbbbh.."
"..hhhh....hhhh.."
@Sprite/slime/step
palette = slime
size = [16, 24]
origin = [0, 0]
pixels:
"................"
"................"
".......hh......."
".....hbbbbh....."
"....hbbbbbbh...."
"....hbbbbeebh..."
"...hbbbbbkebbh.."
"...hbbbbbbbbbh.."
"..hbbbbbhhbbbh.."
"..hbbbbbbbbbbh.."
"..hbbbbbbbbbbhh."
".hbbbbbbbbbbbbbh"
".hbbbbbbbbbbbbbh"
".hbbbbbbbbbbbbbh"
"hbbbbbbbbbbbbbbh"
"hbbbbbbbbbbbbbbh"
"hbbbbbbbbbbbbbbh"
"hbbbbbbbbbbbbbbh"
"hbbabbbbbbbabbbh"
"hbbbabbbbbabbbbh"
"..hbbbbaaaabbbbh"
"..hbbbbbbbbbbbbh"
"...hbbbhhhhbbbh."
"...hhhh....hhhh."
@Sprite/slime/punch
palette = slime
size = [16, 24]
origin = [0, 0]
pixels:
"................"
"................"
".......hh......."
".....hbbbbh....."
"....hbbbbbbh...."
"....hbbbbeebh..."
"...hbbbbbkebbh.."
"...hbbbbbbbbbh.."
"..hbbbbbhhbbbh.."
"..hbbbbbbbbddddd"
"..hbbbbbbbbbbbbb"
".hbbbbbbbbbhhhhh"
".hbbbbbbbbbbbbbh"
".hbbbbbbbbbbbbbh"
"hbbbbbbbbbbbbbbh"
"hbbbbbbbbbbbbbbh"
"hbbbbbbbbbbbbbbh"
"hbbbbbbbbbbbbbbh"
"hbbabbbbbbbabbbh"
"hbbbabbbbbabbbbh"
".hbbbbaaaabbbbh."
".hbbbbbbbbbbbbh."
"..hbbbhhhhbbbh.."
"..hhhh....hhhh.."
@Animation/slime/walk
frames = ["slime/idle", "slime/step"]
fps = 8
@Sprite/slime/duck
palette = slime
size = [16, 16]
origin = [0, 0]
pixels:
"................"
"................"
".......hh......."
".....hbbbbh....."
"....hbbbbbbh...."
"....hbbbbeebh..."
"...hbbbbbkebbh.."
"...hbbbbbbbbbh.."
"..hbbbbbbbbbbh.."
".hbbbbbbbbbbbbbh"
".hbbbbbbbbbbbbbh"
"hbbbbbbbbbbbbbbh"
"hbbbbbbbbbbbbbbh"
"hbbbabbbbbabbbbh"
".hbbbbbbbbbbbbh."
"..hhhh....hhhh.."
skins/thorn.pixel.rune
@Palette/thorn
colors = {
".": "transparent",
"a": "#c3de76",
"b": "#89ac53",
"d": "#426545",
"e": "#fff4b1",
"h": "#ddeb8a",
"k": "#223d35"
}
@Sprite/thorn/idle
palette = thorn
size = [16, 24]
origin = [0, 0]
pixels:
"....h......h...."
"...hbh....hbh..."
"....hbbbbbbh...."
"..h.hbbbbbbh...."
"...hbbbbbeebh..."
"....hbbbbkebh..."
"...hbbbbbhhh...."
"....hbbbbbbh...."
"...hbbbhbbbh...."
"..hbbbbhbbbbh..."
".h.bbbbhbbbbb.h."
".h.bbbbhbbb.hhh."
"...hbbbhbbb....."
"..hbbbbhbbb....."
"...hbbbhbbb....."
"..hbbbbhbbb....."
"...hbbbhbbb....."
"..hhbbbbbbhh...."
"...hbbhhbbbh...."
"...hbbh.hbbh...."
"..hbbh..hbbh...."
"..hbbh..hbbh...."
".hbbbh..hbbbh..."
".hhhhh..hhhhh..."
@Sprite/thorn/step
palette = thorn
size = [16, 24]
origin = [0, 0]
pixels:
"....h......h...."
"...hbh....hbh..."
"....hbbbbbbh...."
"..h.hbbbbbbh...."
"...hbbbbbeebh..."
"....hbbbbkebh..."
"...hbbbbbhhh...."
"....hbbbbbbh...."
"...hbbbhbbbh...."
"..hbbbbhbbbbh..."
".h.bbbbhbbbbb.h."
".h.bbbbhbbb.hhh."
"...hbbbhbbb....."
"..hbbbbhbbb....."
"...hbbbhbbb....."
"..hbbbbhbbb....."
"...hbbbhbbb....."
"..hhbbbbbbhh...."
"...hbbhhbbbh...."
"...hbbh.hbbh...."
"...hbbh..hbbh..."
"...hbbh..hbbh..."
"..hbbbh..hbbbh.."
"..hhhhh..hhhhh.."
@Sprite/thorn/punch
palette = thorn
size = [16, 24]
origin = [0, 0]
pixels:
"....h......h...."
"...hbh....hbh..."
"....hbbbbbbh...."
"..h.hbbbbbbh...."
"...hbbbbbeebh..."
"....hbbbbkebh..."
"...hbbbbbhhh...."
"....hbbbbbbh...."
"...hbbbhbbbh...."
"..hbbbbhbbbddddd"
".h.bbbbhbbbbbbbb"
".h.bbbbhbbbhhhhh"
"...hbbbhbbb....."
"..hbbbbhbbb....."
"...hbbbhbbb....."
"..hbbbbhbbb....."
"...hbbbhbbb....."
"..hhbbbbbbhh...."
"...hbbhhbbbh...."
"...hbbh.hbbh...."
"..hbbh..hbbh...."
"..hbbh..hbbh...."
".hbbbh..hbbbh..."
".hhhhh..hhhhh..."
@Animation/thorn/walk
frames = ["thorn/idle", "thorn/step"]
fps = 8
@Sprite/thorn/duck
palette = thorn
size = [16, 16]
origin = [0, 0]
pixels:
"....h......h...."
"...hbh....hbh..."
"....hbbbbbbh...."
"..h.hbbbbbbh...."
"...hbbbbbeebh..."
"....hbbbbkebh..."
"...hbbbbbhhh...."
"....hbbbbbbh...."
"..hbbbbhbbbbh..."
".h.bbbbhbbb.hhh."
"..hbbbbhbbb....."
"..hbbbbhbbb....."
"..hhbbbbbbhh...."
"...hbbh.hbbh...."
"..hbbh..hbbh...."
".hhhhh..hhhhh..."
skins/tide.pixel.rune
@Palette/tide
colors = {
".": "transparent",
"a": "#ea9b7b",
"b": "#69b8ce",
"d": "#326886",
"e": "#fff0b3",
"h": "#c7e7d9",
"k": "#203d52"
}
@Sprite/tide/idle
palette = tide
size = [16, 24]
origin = [0, 0]
pixels:
"......h........."
".....hbh........"
"....hbbbh......."
"....dbbbbbbdd..."
"....dbbbbbeebd.."
"...hdbbbbbkebd.."
"...hdbbbbkkkk..."
"..hhdbbbbhhaa..."
".hh.dbbbbbbd...."
".h..dbbhabbbd..."
"..hdbbbhabbbbd.."
"..hdbbbhabb.hh.."
".hhdbbbhabb....."
".h.dbbbhabb....."
"..hdbbbhabb....."
".hhdbbbhabb....."
"hhddbbbhabb....."
"hddbbbbbbbbdd..."
".ddbbbbddbbbd..."
"...dbbd.dbbd...."
"...dbbd.dbbd...."
"..dbbd..dbbd...."
".dbbbd..dbbbd..."
".hhhhh..hhhhh..."
@Sprite/tide/step
palette = tide
size = [16, 24]
origin = [0, 0]
pixels:
"......h........."
".....hbh........"
"....hbbbh......."
"....dbbbbbbdd..."
"....dbbbbbeebd.."
"...hdbbbbbkebd.."
"...hdbbbbkkkk..."
"..hhdbbbbhhaa..."
".hh.dbbbbbbd...."
".h..dbbhabbbd..."
"..hdbbbhabbbbd.."
"..hdbbbhabb.hh.."
".hhdbbbhabb....."
".h.dbbbhabb....."
"..hdbbbhabb....."
".hhdbbbhabb....."
"hhddbbbhabb....."
"hddbbbbbbbbdd..."
".ddbbbbddbbbd..."
"...dbbd.dbbd...."
"....dbbd.dbbd..."
"...dbbd..dbbd..."
"..dbbbd..dbbbd.."
"..hhhhh..hhhhh.."
@Sprite/tide/punch
palette = tide
size = [16, 24]
origin = [0, 0]
pixels:
"......h........."
".....hbh........"
"....hbbbh......."
"....dbbbbbbdd..."
"....dbbbbbeebd.."
"...hdbbbbbkebd.."
"...hdbbbbkkkk..."
"..hhdbbbbhhaa..."
".hh.dbbbbbbd...."
".h..dbbhabbddddd"
"..hdbbbhabbbbbbb"
"..hdbbbhabbhhhhh"
".hhdbbbhabb....."
".h.dbbbhabb....."
"..hdbbbhabb....."
".hhdbbbhabb....."
"hhddbbbhabb....."
"hddbbbbbbbbdd..."
".ddbbbbddbbbd..."
"...dbbd.dbbd...."
"...dbbd.dbbd...."
"..dbbd..dbbd...."
".dbbbd..dbbbd..."
".hhhhh..hhhhh..."
@Animation/tide/walk
frames = ["tide/idle", "tide/step"]
fps = 8
@Sprite/tide/duck
palette = tide
size = [16, 16]
origin = [0, 0]
pixels:
"......h........."
".....hbh........"
"....hbbbh......."
"....dbbbbbbdd..."
"....dbbbbbeebd.."
"...hdbbbbbkebd.."
"...hdbbbbkkkk..."
"..hhdbbbbhhaa..."
".h..dbbhabbbd..."
"..hdbbbhabb.hh.."
".h.dbbbhabb....."
".hhdbbbhabb....."
"hddbbbbbbbbdd..."
"...dbbd.dbbd...."
"..dbbd..dbbd...."
".hhhhh..hhhhh..."
skins/volt.pixel.rune
# VOLT — a monster with idle, step, punch and duck poses.
@Palette/volt
colors = {
".": "transparent",
"a": "#bfffce",
"b": "#eab83e",
"d": "#6f5326",
"e": "#fff8d0",
"h": "#fff080",
"k": "#4c3525"
}
@Sprite/volt/idle
palette = volt
size = [16, 24]
origin = [0, 0]
pixels:
".......h........"
"......h........."
"....hhhh..h....."
"....dbbbbbbdd..."
"...dbbbbbbeebd.."
"...dbbbbbbkebd.."
"...dbbbbbkkkk..."
"...dbbbbbhaa...."
"..hdbbbbbdd....."
"..hdbbbbbabdd..."
".hdbbbbbbabbbd.."
"..dbbbbbbab.hh.."
".hdbbbbbbab....."
"..dbbbbbbab....."
".hdbbbbbbab....."
"..dbbbbbbab....."
".hdbbbbbbab....."
"..ddbbbbbbdd...."
"...dbbddbbbd...."
"...dbbd.dbbd...."
"...dbbd.dbbd...."
"..dbbd..dbbd...."
"..dbbbd.dbbbd..."
"..hhhhh.hhhhh..."
@Sprite/volt/step
palette = volt
size = [16, 24]
origin = [0, 0]
pixels:
".......h........"
"......h........."
"....hhhh..h....."
"....dbbbbbbdd..."
"...dbbbbbbeebd.."
"...dbbbbbbkebd.."
"...dbbbbbkkkk..."
"...dbbbbbhaa...."
"..hdbbbbbdd....."
"..hdbbbbbabdd..."
".hdbbbbbbabbbd.."
"..dbbbbbbab.hh.."
".hdbbbbbbab....."
"..dbbbbbbab....."
".hdbbbbbbab....."
"..dbbbbbbab....."
".hdbbbbbbab....."
"..ddbbbbbbdd...."
"...dbbddbbbd...."
"...dbbd.dbbd...."
"....dbbd.dbbd..."
"...dbbd..dbbd..."
"...dbbbd.dbbbd.."
"...hhhhh.hhhhh.."
@Sprite/volt/punch
palette = volt
size = [16, 24]
origin = [0, 0]
pixels:
".......h........"
"......h........."
"....hhhh..h....."
"....dbbbbbbdd..."
"...dbbbbbbeebd.."
"...dbbbbbbkebd.."
"...dbbbbbkkkk..."
"...dbbbbbhaa...."
"..hdbbbbbdd....."
"..hdbbbbbabddddd"
".hdbbbbbbabbbbbb"
"..dbbbbbbabhhhhh"
".hdbbbbbbab....."
"..dbbbbbbab....."
".hdbbbbbbab....."
"..dbbbbbbab....."
".hdbbbbbbab....."
"..ddbbbbbbdd...."
"...dbbddbbbd...."
"...dbbd.dbbd...."
"...dbbd.dbbd...."
"..dbbd..dbbd...."
"..dbbbd.dbbbd..."
"..hhhhh.hhhhh..."
@Animation/volt/walk
frames = ["volt/idle", "volt/step"]
fps = 8
@Sprite/volt/duck
palette = volt
size = [16, 16]
origin = [0, 0]
pixels:
".......h........"
"......h........."
"....hhhh..h....."
"....dbbbbbbdd..."
"...dbbbbbbeebd.."
"...dbbbbbbkebd.."
"...dbbbbbkkkk..."
"...dbbbbbhaa...."
"..hdbbbbbabdd..."
"..dbbbbbbab.hh.."
"..dbbbbbbab....."
"..dbbbbbbab....."
"..ddbbbbbbdd...."
"...dbbd.dbbd...."
"..dbbd..dbbd...."
"..hhhhh.hhhhh..."
skins/yeti.pixel.rune
# YETI — a monster with idle, step, punch and duck poses.
@Palette/yeti
colors = {
".": "transparent",
"a": "#c4afc9",
"b": "#d8e4e8",
"d": "#73869d",
"e": "#a9dded",
"h": "#ffffff",
"k": "#283448"
}
@Sprite/yeti/idle
palette = yeti
size = [16, 24]
origin = [0, 0]
pixels:
".......h........"
".....hhhhhh....."
"....hbbbbbbh...."
"...hbbbbbbbbh..."
"...hbbkeeekbh..."
"...hbbkkkkbbh..."
"...hbbbbbbbbh..."
"..hbbbbhhbbbbh.."
".hbbbbbhbbbbbbh."
".hbbbbbhbbbbbbh."
"hbbbbbbhbbbbbbbh"
"hbbbbbbhbbbbbbbh"
".hhbbbbhbbbbhhh."
"..hbbbbhbbbbh..."
"..hbbbbhbbbbh..."
"..hbbbbhbbbbh..."
"..hbbbbhbbbbh..."
"..hhbbbbbbbhh..."
"...hbbbhbbbh...."
"...hbbbhbbbh...."
"...hbbbhbbbh...."
"..hbbbh.hbbbh..."
"..hbbbh.hbbbh..."
".hhhhhh.hhhhhh.."
@Sprite/yeti/step
palette = yeti
size = [16, 24]
origin = [0, 0]
pixels:
".......h........"
".....hhhhhh....."
"....hbbbbbbh...."
"...hbbbbbbbbh..."
"...hbbkeeekbh..."
"...hbbkkkkbbh..."
"...hbbbbbbbbh..."
"..hbbbbhhbbbbh.."
".hbbbbbhbbbbbbh."
".hbbbbbhbbbbbbh."
"hbbbbbbhbbbbbbbh"
"hbbbbbbhbbbbbbbh"
".hhbbbbhbbbbhhh."
"..hbbbbhbbbbh..."
"..hbbbbhbbbbh..."
"..hbbbbhbbbbh..."
"..hbbbbhbbbbh..."
"..hhbbbbbbbhh..."
"...hbbbhbbbh...."
"...hbbbhbbbh...."
"....hbbbhbbbh..."
"...hbbbh.hbbbh.."
"...hbbbh.hbbbh.."
"..hhhhhh.hhhhhh."
@Sprite/yeti/punch
palette = yeti
size = [16, 24]
origin = [0, 0]
pixels:
".......h........"
".....hhhhhh....."
"....hbbbbbbh...."
"...hbbbbbbbbh..."
"...hbbkeeekbh..."
"...hbbkkkkbbh..."
"...hbbbbbbbbh..."
"..hbbbbhhbbbbh.."
".hbbbbbhbbbbbbh."
".hbbbbbhbbbddddd"
"hbbbbbbhbbbbbbbb"
"hbbbbbbhbbbhhhhh"
".hhbbbbhbbbbhhh."
"..hbbbbhbbbbh..."
"..hbbbbhbbbbh..."
"..hbbbbhbbbbh..."
"..hbbbbhbbbbh..."
"..hhbbbbbbbhh..."
"...hbbbhbbbh...."
"...hbbbhbbbh...."
"...hbbbhbbbh...."
"..hbbbh.hbbbh..."
"..hbbbh.hbbbh..."
".hhhhhh.hhhhhh.."
@Animation/yeti/walk
frames = ["yeti/idle", "yeti/step"]
fps = 8
@Sprite/yeti/duck
palette = yeti
size = [16, 16]
origin = [0, 0]
pixels:
".......h........"
".....hhhhhh....."
"....hbbbbbbh...."
"...hbbbbbbbbh..."
"...hbbkeeekbh..."
"...hbbkkkkbbh..."
"...hbbbbbbbbh..."
"..hbbbbhhbbbbh.."
".hbbbbbhbbbbbbh."
"hbbbbbbhbbbbbbbh"
"..hbbbbhbbbbh..."
"..hbbbbhbbbbh..."
"..hhbbbbbbbhh..."
"...hbbbhbbbh...."
"..hbbbh.hbbbh..."
".hhhhhh.hhhhhh.."
sound.rune
# Monster March — an original four-bar chiptune for a very large pedestrian.
# Uses the same declarative synthesizer as VectRaiders and VectWorms.
@Music/monster_city
type = 8bit
tempo = 116
time_signature = 4/4
bars = 4
loop = true
volume = 0.11
lead:
E4:8 -:8 G4:8 E4:8 A4:4 G4:8 E4:8 |
D4:8 E4:8 G4:4 E4:4 -:4 |
C4:8 E4:8 G4:8 A4:8 B4:4 A4:8 G4:8 |
F#4:8 E4:8 D4:8 B3:8 E4:4 -:4
bass:
E2:8 E2:8 -:8 E2:8 B1:4 D2:4 |
C2:4 G1:4 C2:4 D2:4 |
D2:4 A1:4 D2:8 D2:8 A1:4 |
B1:4 F#2:4 B1:8 D2:8 E2:4
drums:
[kick,hihat]:4 [snare,hihat]:4 [kick,hihat]:8 kick:8 snare:4 |
kick:4 snare:4 [kick,hihat]:4 snare:4 |
[kick,hihat]:4 snare:4 kick:8 hihat:8 snare:4 |
kick:4 snare:4 kick:8 snare:8 snare:8 hihat:8
@Sound/monster_roar
wave = sawtooth
sequence = E2:90ms, G2:60ms, E2:90ms, B1:150ms
volume = 0.10
@Sound/monster_smash
wave = noise
filter = lowpass 700 -> 65
duration = 130ms
volume = 0.16
@Sound/monster_collapse
wave = noise
filter = lowpass 1400 -> 40
duration = 400ms
volume = 0.20
@Sound/monster_stomp
wave = noise
filter = lowpass 240 -> 40
duration = 70ms
volume = 0.08
@Sound/monster_rifle
wave = square
freq = 1100 -> 420
duration = 30ms
volume = 0.035
@Sound/monster_cannon
wave = triangle
freq = 180 -> 35
duration = 180ms
volume = 0.12
@Sound/monster_damage
wave = sawtooth
freq = 260 -> 65
duration = 90ms
volume = 0.10
@Sound/monster_explosion
wave = noise
filter = lowpass 2200 -> 70
duration = 280ms
volume = 0.18
@Sound/monster_victory
wave = triangle
sequence = E4:80ms, G4:80ms, B4:80ms, E5:200ms
volume = 0.14
@Sound/monster_gameover
wave = square
sequence = E4:100ms, D4:100ms, B3:140ms, E3:260ms
volume = 0.12
# Monster Parade — a welcoming, bouncy title-screen melody.
@Music/monster_title
type = 8bit
tempo = 104
time_signature = 4/4
bars = 4
loop = true
volume = 0.08
lead:
C4:8 E4:8 G4:4 E4:8 G4:8 C5:4 |
B4:8 G4:8 E4:4 D4:4 -:4 |
F4:8 A4:8 C5:4 A4:8 G4:8 F4:4 |
E4:8 G4:8 D4:8 E4:8 C4:4 -:4
bass:
C2:4 G2:4 C2:4 G2:4 |
E2:4 B2:4 E2:4 B2:4 |
F2:4 C3:4 F2:4 C3:4 |
G2:4 D3:4 C2:4 -:4
drums:
kick:4 hihat:4 snare:4 hihat:4 |
kick:4 hihat:4 snare:4 -:4 |
kick:4 hihat:4 snare:4 hihat:4 |
kick:4 hihat:4 snare:8 hihat:8 -:4
# Tiny Treasures — a lighter, laid-back shop loop.
@Music/monster_shop
type = 8bit
tempo = 92
time_signature = 4/4
bars = 4
loop = true
volume = 0.07
lead:
A4:8 -:8 C5:8 E5:8 D5:4 C5:4 |
G4:8 -:8 B4:8 D5:8 C5:4 B4:4 |
F4:8 -:8 A4:8 C5:8 B4:4 A4:4 |
E4:8 G4:8 B4:8 D5:8 C5:4 -:4
bass:
A2:4 E3:4 A2:4 E3:4 |
G2:4 D3:4 G2:4 D3:4 |
F2:4 C3:4 F2:4 C3:4 |
E2:4 B2:4 A2:4 -:4
drums:
hihat:4 -:4 snare:4 -:4 |
kick:4 -:4 hihat:4 -:4 |
hihat:4 -:4 snare:4 -:4 |
kick:4 hihat:4 -:4 -:4
@Sound/menu_move
wave = triangle
freq = 660 -> 880
duration = 35ms
volume = 0.045
@Sound/menu_confirm
wave = triangle
sequence = C5:35ms, E5:55ms
volume = 0.065
@Sound/menu_buy
wave = triangle
sequence = C5:45ms, E5:45ms, G5:45ms, C6:100ms
volume = 0.09
@Sound/menu_denied
wave = square
sequence = D3:55ms, C3:85ms
volume = 0.05
@Sound/power_pickup
wave = triangle
sequence = C5:50ms, E5:50ms, G5:50ms, C6:100ms
volume = 0.10
@Sound/power_charge
wave = triangle
freq = 90 -> 880
duration = 1900ms
volume = 0.045
@Sound/power_breath
wave = noise
filter = lowpass 2000 -> 700
duration = 400ms
volume = 0.10
@Sound/power_zap
wave = sawtooth
freq = 1500 -> 160
duration = 90ms
volume = 0.07
@Sound/power_aftershock
wave = noise
filter = lowpass 1600 -> 35
duration = 600ms
volume = 0.18
@Sound/power_end
wave = triangle
sequence = E5:60ms, C5:100ms
volume = 0.055
@Sound/combat_block
wave = triangle
freq = 440 -> 110
duration = 55ms
volume = 0.045
@Sound/combat_special
wave = triangle
sequence = E4:40ms, B4:40ms, E5:100ms
volume = 0.09
sprites.pixel.rune
@Palette/city
colors = {
".": "transparent",
"G": "#80b95e",
"a": "#566c7e",
"b": "#c8cc91",
"c": "#8c9ca0",
"d": "#182b36",
"e": "#ffe9a9",
"g": "#427e58",
"h": "#c5dd88",
"k": "#16242d",
"l": "#a8b97b",
"n": "#3d5266",
"o": "#9c705d",
"r": "#d8876e",
"s": "#69a899",
"t": "#526c4e",
"w": "#eccf9a"
}
@Sprite/tower/blue
palette = city
size = [16, 40]
origin = [0, 0]
pixels:
"dddddddddddddddd"
"daaaaaaaaaaaaaad"
"daaaaaaaaaaaaaad"
"daaaaaaaaaaaaaad"
"daaaaaaaaaaaaaad"
"dadwaawwaawwaaad"
"dawwaawwaawwaaad"
"dawwaawdaawwaaad"
"daaaaaaaaaaaaaad"
"daaaaaaaaaaaaaad"
"dawwaawwaawdaaad"
"dawdaawwaadwaaad"
"dadwaawwaawwaaad"
"daaaaaaaaaaaaaad"
"daaaaaaaaaaaaaad"
"dawwaadwaawwaaad"
"dawwaawwaawwaaad"
"dawwaawwaawdaaad"
"daaaaaaaaaaaaaad"
"daaaaaaaaaaaaaad"
"dawwaawwaawwaaad"
"dawwaawdaawwaaad"
"dawwaadwaawwaaad"
"daaaaaaaaaaaaaad"
"daaaaaaaaaaaaaad"
"dawdaawwaadwaaad"
"dadwaawwaawwaaad"
"dawwaawwaawwaaad"
"daaaaaaaaaaaaaad"
"daaaaaaaaaaaaaad"
"dawwaawwaawwaaad"
"dawwaawwaawdaaad"
"dawdaawwaadwaaad"
"daaaaaaaaaaaaaad"
"daaaaaaaaaaaaaad"
"dawwaawdaawwaaad"
"daaaaaaaaaaaaaad"
"daaaaaaaaaaaaaad"
"daaaaaaaaaaaaaad"
"dddddddddddddddd"
@Sprite/tower/rust
palette = city
size = [16, 40]
origin = [0, 0]
pixels:
"dddddddddddddddd"
"dooooooooooooood"
"dooooooooooooood"
"dooooooooooooood"
"dooooooooooooood"
"dodwoowwoowwoood"
"dowwoowwoowwoood"
"dowwoowdoowwoood"
"dooooooooooooood"
"dooooooooooooood"
"dowwoowwoowdoood"
"dowdoowwoodwoood"
"dodwoowwoowwoood"
"dooooooooooooood"
"dooooooooooooood"
"dowwoodwoowwoood"
"dowwoowwoowwoood"
"dowwoowwoowdoood"
"dooooooooooooood"
"dooooooooooooood"
"dowwoowwoowwoood"
"dowwoowdoowwoood"
"dowwoodwoowwoood"
"dooooooooooooood"
"dooooooooooooood"
"dowdoowwoodwoood"
"dodwoowwoowwoood"
"dowwoowwoowwoood"
"dooooooooooooood"
"dooooooooooooood"
"dowwoowwoowwoood"
"dowwoowwoowdoood"
"dowdoowwoodwoood"
"dooooooooooooood"
"dooooooooooooood"
"dowwoowdoowwoood"
"dooooooooooooood"
"dooooooooooooood"
"dooooooooooooood"
"dddddddddddddddd"
@Sprite/tower/damaged
palette = city
size = [16, 40]
origin = [0, 0]
pixels:
"dddddddddddddddd"
"daaaaaaaaaaaaaad"
"daaaaaaaaaaaaaad"
"daaaaaddaaaaaaad"
"daaaaaddaaaaaaad"
"dadwaawddawwaaad"
"dawwaawddawwaaad"
"dawwaawddawwaaad"
"daaaaaaddaaaaaad"
"daaaaaaddaaaaaad"
"dawwaawwddwdaaad"
"dawdaawwdddwaaad"
"dadwaawwddwwaaad"
"daaaaaaaddaaaaad"
"daaaaaaaddaaaaad"
"dawwaadwaddwaaad"
"dawwaawwaddwaaad"
"dawwaawwadddaaad"
"daaaaaaaaddaaaad"
"daaaaaaaaddaaaad"
"dawwaaddaawwaaad"
"dawwaaddaawwaaad"
"dawwaaddaawwaaad"
"daaaaaddaaaaaaad"
"daaaaaddaaaaaaad"
"dawdaawddadwaaad"
"dadwaawddawwaaad"
"dawwaawddawwaaad"
"daaaaaaddaaaaaad"
"daaaaaaddaaaaaad"
"dawwaawwddwwaaad"
"dawwaawwddwdaaad"
"dawdaawwdddwaaad"
"daaaaaaaddaaaaad"
"daaaaaaaaaaaaaad"
"dawwaawdaawwaaad"
"daaaaaaaaaaaaaad"
"daaaaaaaaaaaaaad"
"daaaaaaaaaaaaaad"
"dddddddddddddddd"
@Sprite/tower/cracked
palette = city
size = [16, 40]
origin = [0, 0]
pixels:
"dddddddddddddddd"
"daaaaaaaaaaaaaad"
"daaaaaaaaaaaaaad"
"daaaaaddaaaaaaad"
"daaaaaddaaaaaaad"
"dadwaawddawwaaad"
"dawwaawddawwaaad"
"dawwaawddawwaaad"
"daaaaaaddaaaaaad"
"daaaaaaddaaaaaad"
"dawddaddddddaaad"
"dawdaddwddddaaad"
"dadwddwdddddaaad"
"daaddadddddaaaad"
"daadaddaddadaaad"
"dawwddddddddaaad"
"dawddaddaddwaaad"
"dawdaddwddddaaad"
"daaaddadddddaaad"
"daaddaddaddaaaad"
"dawdadddddwdaaad"
"dawwdddddaddaaad"
"dawddaddaddwaaad"
"daadadddddadaaad"
"daaadddddaddaaad"
"dawddadddddwaaad"
"dadwaawddawwaaad"
"dawwaawddawwaaad"
"daaaaaaddaaaaaad"
"daaaaaaddaaaaaad"
"dawwaawwddwwaaad"
"dawwaawwddwdaaad"
"dawdaawwdddwaaad"
"daaaaaaaddaaaaad"
"daaaaaaaaaaaaaad"
"dawwaawdaawwaaad"
"daaaaaaaaaaaaaad"
"daaaaaaaaaaaaaad"
"daaaaaaaaaaaaaad"
"dddddddddddddddd"
@Sprite/rubble
palette = city
size = [16, 8]
origin = [0, 0]
pixels:
"................"
"...aa.....oo...."
"..aaaa...oooo..."
".daaad.aooood..."
"daddddaddddddd.."
"dddddddddddddddd"
"dddddddddddddddd"
"dddddddddddddddd"
@Sprite/skyline
palette = city
size = [16, 16]
origin = [0, 0]
pixels:
"......nn........"
"......nn..nnn..."
"..nnnnnn..nnn..."
"..nnnnnn..nnn.nn"
"nnnnnnnnnnnnnnnn"
"nnnnnnnnnnnnnnnn"
"nnnnnnnnnnnnnnnn"
"nnnnnnnnnnnnnnnn"
"nnnnnnnnnnnnnnnn"
"nnnnnnnnnnnnnnnn"
"nnnnnnnnnnnnnnnn"
"nnnnnnnnnnnnnnnn"
"nnnnnnnnnnnnnnnn"
"nnnnnnnnnnnnnnnn"
"nnnnnnnnnnnnnnnn"
"nnnnnnnnnnnnnnnn"
@Sprite/tank
palette = city
size = [16, 8]
origin = [0, 0]
pixels:
"......tttt......"
".....tlllltttttt"
"...tttttttt....."
"..tlllllllltt..."
".ttttttttttttt.."
"ddtdtdtdtdtdtdd."
"ddddddddddddddd."
".ddddddddddddd.."
@Sprite/wreck
palette = city
size = [16, 8]
origin = [0, 0]
pixels:
"................"
".....rrrr......."
"....rerrrr......"
"....rrrtttt....."
"...ttttttttt...."
"ddtdtdtdtdtdtdd."
"ddddddddddddddd."
".ddddddddddddd.."
@Sprite/soldier
palette = city
size = [6, 10]
origin = [0, 0]
pixels:
"..tt.."
".tttt."
"..rr.."
"..rr.."
".ttttt"
".ttt.."
"..tt.."
"..tt.."
".t.t.."
".d.d.."
@Sprite/bullet
palette = city
size = [4, 2]
origin = [0, 0]
pixels:
"wwww"
"wwww"
@Sprite/shell
palette = city
size = [5, 3]
origin = [0, 0]
pixels:
".rrr."
"rwwwr"
".rrr."
@Sprite/dust
palette = city
size = [8, 6]
origin = [0, 0]
pixels:
"..cc...."
".cccc..."
"cccccc.."
".ccccc.."
"..ccc..."
"...c...."
@Sprite/helicopter
palette = city
size = [16, 8]
pixels:
"..cccccccccccc.."
".......cc......."
".....tttttt....."
"cc..tttwwttt...."
"tttttttwwtttt..."
".t..tttttttt...."
"......c..c......"
".....cccccc....."
@Sprite/plane
palette = city
size = [20, 8]
pixels:
"........cc.........."
".......cccc........."
"...c..cccccc........"
"..cccccccccccccccc.."
".ccccccccccccccccccc"
"..cccccccccccccccc.."
"...c..cccccc........"
".......cccc........."
Bougez, défendez-vous, attaquez
Flèches ou A/D pour bouger · Espace pour frapper · Bas/S pour se baisser et bloquer · X pour le spécial du monstre · P pour la pause · M pour le son. Des commandes tactiles sont disponibles sur mobile et tablette.
Attrapez les caisses parachutées : souffle atomique, champ de force, électricité, taille géante, vitesse, bébé kaju ou onde de choc. Les ravitaillements sont plus fréquents dès la ville 15.
Gagnez des pièces grâce aux points et aux victoires. Explorez les six pages de la boutique et les techniques exclusives. Les hélicoptères arrivent à la ville 3 et les avions à la ville 5.
La progression reste dans ce navigateur et sur cet appareil ; aucun compte requis. Revenir à la ville 1 conserve pièces et monstres. Effacer les données du navigateur supprime le profil local.
Jouez, puis explorez le code Rune
Incarnez le monstre géant. Rasez des villes générées, évitez l’armée et débloquez 17 monstres aux techniques spéciales exclusives.
Lancer la version de bureau depuis les sources
Vectrune 0.3.4 exporte les jeux web Rune Pixel. Clonez les exemples ; le mode de bureau nécessite de compiler la fonctionnalité optionnelle pixel-desktop.
git clone https://github.com/davethomas11/vectrune.git
cd vectrunecargo run --features pixel-desktop -- examples/games/monster_city/monster_city.rune --target desktopcargo run -- examples/games/monster_city/monster_city.rune -o html > monster-city.html