Compare commits
No commits in common. "master" and "version-0.2" have entirely different histories.
master
...
version-0.
1
.gitignore
vendored
|
@ -27,5 +27,4 @@ backup
|
|||
*.dll
|
||||
*.world
|
||||
coverage
|
||||
coverage/*
|
||||
.venv
|
||||
|
|
|
@ -1 +1 @@
|
|||
set makeprg=make\ -f\ ../Makefile\ build
|
||||
set makeprg=meson\ compile\ -C\ .
|
||||
|
|
26
Makefile
|
@ -1,5 +1,3 @@
|
|||
ROOT_DIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
|
||||
|
||||
all: build test
|
||||
|
||||
reset:
|
||||
|
@ -10,19 +8,10 @@ else
|
|||
endif
|
||||
|
||||
%.cpp : %.rl
|
||||
ragel -I $(ROOT_DIR) -G1 -o $@ $<
|
||||
ragel -o $@ $<
|
||||
|
||||
%.dot: %.rl
|
||||
ragel -Vp -I $(ROOT_DIR) -o $@ $<
|
||||
|
||||
%.png: %.dot
|
||||
dot -Tpng $< -o $@
|
||||
|
||||
build:
|
||||
meson compile -j 10 -C $(ROOT_DIR)/builddir
|
||||
|
||||
asset_build:
|
||||
./builddir/icongen
|
||||
build: lel_parser.cpp
|
||||
meson compile -j 10 -C builddir
|
||||
|
||||
release_build:
|
||||
meson --wipe builddir -Db_ndebug=true --buildtype release
|
||||
|
@ -36,8 +25,8 @@ tracy_build:
|
|||
meson setup --wipe builddir --buildtype debugoptimized -Dtracy_enable=true -Dtracy:on_demand=true
|
||||
meson compile -j 10 -C builddir
|
||||
|
||||
test:
|
||||
./builddir/runtests -d yes
|
||||
test: build
|
||||
./builddir/runtests
|
||||
|
||||
run: build test
|
||||
ifeq '$(OS)' 'Windows_NT'
|
||||
|
@ -60,13 +49,10 @@ clean:
|
|||
meson compile --clean -C builddir
|
||||
|
||||
debug_test: build
|
||||
gdb --nx -x .gdbinit --ex run --ex bt --ex q --args builddir/runtests -e
|
||||
gdb --nx -x .gdbinit --ex run --args builddir/runtests -e
|
||||
|
||||
win_installer:
|
||||
powershell 'start "C:\Program Files (x86)\solicus\InstallForge\bin\ifbuilderenvx86.exe" scripts\win_installer.ifp'
|
||||
|
||||
coverage_report:
|
||||
powershell 'scripts/coverage_report.ps1'
|
||||
|
||||
money:
|
||||
scc --exclude-dir subprojects
|
||||
|
|
1
ai.hpp
|
@ -34,7 +34,6 @@ namespace ai {
|
|||
void update();
|
||||
|
||||
void dump();
|
||||
std::string to_string();
|
||||
};
|
||||
|
||||
struct AIManager {
|
||||
|
|
10
ai_debug.cpp
|
@ -61,14 +61,4 @@ namespace ai {
|
|||
dump_script(script, start, plan.script);
|
||||
}
|
||||
|
||||
std::string EntityAI::to_string() {
|
||||
AIProfile* profile = ai::profile();
|
||||
std::string result = wants_to();
|
||||
|
||||
for(auto& [name, name_id] : *profile) {
|
||||
result += fmt::format("\n{}={}", name, start.test(name_id));
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -68,6 +68,7 @@ void Raycaster::position_camera(float player_x, float player_y) {
|
|||
|
||||
void Raycaster::draw_pixel_buffer() {
|
||||
view_texture.update(pixels.to_raw_buf(), {(unsigned int)$width, (unsigned int)$height}, {0, 0});
|
||||
// BUG: can I do this once and just update it?
|
||||
$window.draw(view_sprite);
|
||||
}
|
||||
|
|
@ -9,8 +9,7 @@
|
|||
"have_item": 6,
|
||||
"have_healing": 7,
|
||||
"detect_enemy": 8,
|
||||
"tough_personality": 9,
|
||||
"cant_move": 10
|
||||
"tough_personality": 9
|
||||
},
|
||||
"actions": [
|
||||
{
|
||||
|
@ -23,7 +22,6 @@
|
|||
"enemy_found": false
|
||||
},
|
||||
"effects": {
|
||||
"in_combat": true,
|
||||
"enemy_found": true
|
||||
}
|
||||
},
|
||||
|
@ -34,8 +32,7 @@
|
|||
"tough_personality": false,
|
||||
"in_combat": true,
|
||||
"have_healing": false,
|
||||
"health_good": false,
|
||||
"cant_move": false
|
||||
"health_good": false
|
||||
},
|
||||
"effects": {
|
||||
"in_combat": false
|
||||
|
@ -66,24 +63,13 @@
|
|||
"no_more_items": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "find_healing",
|
||||
"cost": 2,
|
||||
"needs": {
|
||||
"have_healing": false,
|
||||
"in_combat": false,
|
||||
"health_good": false
|
||||
},
|
||||
"effects": {
|
||||
"health_good": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "use_healing",
|
||||
"cost": 1,
|
||||
"cost": 0,
|
||||
"needs": {
|
||||
"have_item": true,
|
||||
"have_healing": true,
|
||||
"in_combat": false,
|
||||
"health_good": false
|
||||
},
|
||||
"effects": {
|
||||
|
@ -132,7 +118,6 @@
|
|||
["find_enemy",
|
||||
"kill_enemy",
|
||||
"collect_items",
|
||||
"find_healing",
|
||||
"use_healing"],
|
||||
"Enemy::actions":
|
||||
["find_enemy", "run_away", "kill_enemy", "use_healing"]
|
||||
|
|
BIN
assets/armored_knight_1-256.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
assets/armored_knight_1-512.png
Normal file
After Width: | Height: | Size: 117 KiB |
BIN
assets/axe_ranger-256.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
assets/blood_splatter-256.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
assets/ceiling_test-256.png
Normal file
After Width: | Height: | Size: 61 KiB |
BIN
assets/ceiling_test-512.png
Normal file
After Width: | Height: | Size: 249 KiB |
BIN
assets/ceiling_worm-256.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
assets/cinqueda_1-256.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
assets/cinqueda_1-512.png
Normal file
After Width: | Height: | Size: 75 KiB |
|
@ -22,207 +22,293 @@
|
|||
"ui_hover": "assets/sounds/ui_hover.ogg",
|
||||
"punch_cartoony": "assets/sounds/punch_cartoony.ogg",
|
||||
"electric_shock_01": "assets/sounds/electric_shock_01.ogg",
|
||||
"fireball_01": "assets/sounds/fireball_01.ogg",
|
||||
"hp_status_80": "assets/sounds/hp_status_80.ogg",
|
||||
"hp_status_60": "assets/sounds/hp_status_60.ogg",
|
||||
"hp_status_30": "assets/sounds/hp_status_30.ogg",
|
||||
"hp_status_10": "assets/sounds/hp_status_10.ogg",
|
||||
"hp_status_00": "assets/sounds/hp_status_00.ogg"
|
||||
"fireball_01": "assets/sounds/fireball_01.ogg"
|
||||
},
|
||||
"sprites": {
|
||||
"gold_savior":
|
||||
{"path": "assets/sprites/gold_savior.png",
|
||||
{"path": "assets/gold_savior-256.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"armored_knight":
|
||||
{"path": "assets/sprites/armored_knight_1.png",
|
||||
{"path": "assets/armored_knight_1-256.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"axe_ranger":
|
||||
{"path": "assets/sprites/axe_ranger.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"hairy_spider":
|
||||
{"path": "assets/sprites/hairy_spider.png",
|
||||
"sword":
|
||||
{"path": "assets/cinqueda_1-256.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"rat_with_sword":
|
||||
{"path": "assets/sprites/rat_with_sword.png",
|
||||
{"path": "assets/rat_with_sword-256.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"rat_king":
|
||||
{"path": "assets/rat_king-256.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"rat_king_boss":
|
||||
{"path": "assets/bossfights/rat_king_2_frame_animation.png",
|
||||
{"path": "assets/rat_king_2_frame_animation.png",
|
||||
"frame_width": 720,
|
||||
"frame_height": 720
|
||||
},
|
||||
"barrel_small":
|
||||
{"path": "assets/items/wood_barrel_small.png",
|
||||
{"path": "assets/wood_barrel_small-256.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"torch_pillar":
|
||||
{"path": "assets/sprites/torch_pillar.png",
|
||||
{"path": "assets/torch_pillar-256.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"torch_crappy":
|
||||
{"path": "assets/items/torch_crappy.png",
|
||||
{"path": "assets/torch_crappy-256.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"torch_horizontal_floor":
|
||||
{"path": "assets/items/torch_horizontal_floor.png",
|
||||
{"path": "assets/torch_horizontal_floor-256.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"evil_eye":
|
||||
{"path": "assets/evil_eye-sprites.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"peasant_girl":
|
||||
{"path": "assets/sprites/peasant_girl_2.png",
|
||||
{"path": "assets/undead_peasant-256.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"grave_stone":
|
||||
{"path": "assets/sprites/grave_stone.png",
|
||||
{"path": "assets/grave_stone-256.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"floor":
|
||||
{"path": "assets/floor_tile_test-256.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"ceiling":
|
||||
{"path": "assets/ceiling_test-256.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"healing_potion_small":
|
||||
{"path": "assets/items/healing_potion_small.png",
|
||||
{"path": "assets/healing_potion_small-256.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"well_down":
|
||||
{"path": "assets/sprites/well_down.png",
|
||||
{"path": "assets/well_down-256.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"rope_vines_up":
|
||||
{"path": "assets/sprites/rope_vines_up.png",
|
||||
{"path": "assets/rope_vines_up-256.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"tripwire_trap":
|
||||
{"path": "assets/sprites/tripwire_trap.png",
|
||||
{"path": "assets/tripwire_trap-256.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"cinqueda":
|
||||
{"path": "assets/cinqueda_1-256.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"blood_splatter":
|
||||
{"path": "assets/blood_splatter-256.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"axe_ranger":
|
||||
{"path": "assets/axe_ranger-256.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"hairy_spider":
|
||||
{"path": "assets/hairy_spider-256.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
},
|
||||
"down_the_well":
|
||||
{"path": "assets/down_the_well.jpg",
|
||||
"frame_width": 900,
|
||||
"frame_height": 600
|
||||
},
|
||||
"boss_fight_background":
|
||||
{"path": "assets/bossfights/rat_king_boss_fight_background.jpg",
|
||||
{"path": "assets/rat_king_boss_fight_background.jpg",
|
||||
"frame_width": 1080,
|
||||
"frame_height": 720
|
||||
},
|
||||
"devils_fingers_background":
|
||||
{"path": "assets/bossfights/devils_fingers_background.jpg",
|
||||
{"path": "assets/devils_fingers_background.jpg",
|
||||
"frame_width": 1080,
|
||||
"frame_height": 720
|
||||
},
|
||||
"devils_fingers_sprite":
|
||||
{"path": "assets/bossfights/devils_fingers_sprite.png",
|
||||
{"path": "assets/devils_fingers_sprite.png",
|
||||
"frame_width": 720,
|
||||
"frame_height": 720
|
||||
},
|
||||
"devils_fingers_stage":
|
||||
{"path": "assets/bossfights/devils_fingers_stage.png",
|
||||
{"path": "assets/devils_fingers_stage.png",
|
||||
"frame_width": 1080,
|
||||
"frame_height": 720
|
||||
},
|
||||
"tunnel_with_rocks":
|
||||
{"path": "assets/bossfights/tunnel_with_rocks.png",
|
||||
{"path": "assets/tunnel_with_rocks.png",
|
||||
"frame_width": 1080,
|
||||
"frame_height": 720
|
||||
},
|
||||
"tunnel_with_rocks_stage":
|
||||
{"path": "assets/bossfights/tunnel_with_rocks_stage.png",
|
||||
{"path": "assets/tunnel_with_rocks_stage.png",
|
||||
"frame_width": 1080,
|
||||
"frame_height": 720
|
||||
},
|
||||
"ritual_crafting_area":
|
||||
{"path": "assets/ui/ritual_crafting_area.png",
|
||||
{"path": "assets/ritual_crafting_area.png",
|
||||
"frame_width": 380,
|
||||
"frame_height": 720
|
||||
},
|
||||
"the_ritual_circle":
|
||||
{"path": "assets/the_ritual_circle.png",
|
||||
"frame_width": 380,
|
||||
"frame_height": 380
|
||||
},
|
||||
"paper_ui_background":
|
||||
{"path": "assets/paper_ui_background.png",
|
||||
"frame_width": 380,
|
||||
"frame_height": 720
|
||||
},
|
||||
"full_screen_paper":
|
||||
{"path": "assets/ui/full_screen_paper.png",
|
||||
{"path": "assets/full_screen_paper.png",
|
||||
"frame_width": 1280,
|
||||
"frame_height": 720
|
||||
},
|
||||
"broken_locket":
|
||||
{"path": "assets/items/broken_locket.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
"broken_locket-64":
|
||||
{"path": "assets/rituals/broken_locket-64.png",
|
||||
"frame_width": 64,
|
||||
"frame_height": 64
|
||||
},
|
||||
"broken_pen_knife":
|
||||
{"path": "assets/items/broken_pen_knife.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
"broken_locket-128":
|
||||
{"path": "assets/rituals/broken_locket-128.png",
|
||||
"frame_width": 128,
|
||||
"frame_height": 128
|
||||
},
|
||||
"broken_yoyo":
|
||||
{"path": "assets/items/broken_yoyo.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
"broken_pen_knife-64":
|
||||
{"path": "assets/rituals/broken_pen_knife-64.png",
|
||||
"frame_width": 64,
|
||||
"frame_height": 64
|
||||
},
|
||||
"chess_pawn":
|
||||
{"path": "assets/items/chess_pawn.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
"broken_pen_knife-128":
|
||||
{"path": "assets/rituals/broken_pen_knife-128.png",
|
||||
"frame_width": 128,
|
||||
"frame_height": 128
|
||||
},
|
||||
"dirty_kerchief":
|
||||
{"path": "assets/items/dirty_kerchief.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
"broken_yoyo-64":
|
||||
{"path": "assets/rituals/broken_yoyo-64.png",
|
||||
"frame_width": 64,
|
||||
"frame_height": 64
|
||||
},
|
||||
"leather_pouch":
|
||||
{"path": "assets/items/leather_pouch.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
"broken_yoyo-128":
|
||||
{"path": "assets/rituals/broken_yoyo-128.png",
|
||||
"frame_width": 128,
|
||||
"frame_height": 128
|
||||
},
|
||||
"mushroom":
|
||||
{"path": "assets/items/mushroom.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
"chess_pawn-64":
|
||||
{"path": "assets/rituals/chess_pawn-64.png",
|
||||
"frame_width": 64,
|
||||
"frame_height": 64
|
||||
},
|
||||
"pocket_watch":
|
||||
{"path": "assets/items/pocket_watch.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
"chess_pawn-128":
|
||||
{"path": "assets/rituals/chess_pawn-128.png",
|
||||
"frame_width": 128,
|
||||
"frame_height": 128
|
||||
},
|
||||
"rusty_nails":
|
||||
{"path": "assets/items/rusty_nails.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
"dirty_kerchief-64":
|
||||
{"path": "assets/rituals/dirty_kerchief-64.png",
|
||||
"frame_width": 64,
|
||||
"frame_height": 64
|
||||
},
|
||||
"severed_finger":
|
||||
{"path": "assets/items/severed_finger.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
"dirty_kerchief-128":
|
||||
{"path": "assets/rituals/dirty_kerchief-128.png",
|
||||
"frame_width": 128,
|
||||
"frame_height": 128
|
||||
},
|
||||
"stone_doll_cursed":
|
||||
{"path": "assets/items/stone_doll_cursed.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
"leather_pouch-64":
|
||||
{"path": "assets/rituals/leather_pouch-64.png",
|
||||
"frame_width": 64,
|
||||
"frame_height": 64
|
||||
},
|
||||
"dubious_combination":
|
||||
{"path": "assets/items/dubious_combination.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
"leather_pouch-128":
|
||||
{"path": "assets/rituals/leather_pouch-128.png",
|
||||
"frame_width": 128,
|
||||
"frame_height": 128
|
||||
},
|
||||
"dead_body":
|
||||
{"path": "assets/sprites/dead_body.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
"mushroom-64":
|
||||
{"path": "assets/rituals/mushroom-64.png",
|
||||
"frame_width": 64,
|
||||
"frame_height": 64
|
||||
},
|
||||
"dead_body_lootable":
|
||||
{"path": "assets/sprites/dead_body_lootable.png",
|
||||
"frame_width": 256,
|
||||
"frame_height": 256
|
||||
"mushroom-128":
|
||||
{"path": "assets/rituals/mushroom-128.png",
|
||||
"frame_width": 128,
|
||||
"frame_height": 128
|
||||
},
|
||||
"pocket_watch-64":
|
||||
{"path": "assets/rituals/pocket_watch-64.png",
|
||||
"frame_width": 64,
|
||||
"frame_height": 64
|
||||
},
|
||||
"pocket_watch-128":
|
||||
{"path": "assets/rituals/pocket_watch-128.png",
|
||||
"frame_width": 128,
|
||||
"frame_height": 128
|
||||
},
|
||||
"rusty_nails-64":
|
||||
{"path": "assets/rituals/rusty_nails-64.png",
|
||||
"frame_width": 64,
|
||||
"frame_height": 64
|
||||
},
|
||||
"rusty_nails-128":
|
||||
{"path": "assets/rituals/rusty_nails-128.png",
|
||||
"frame_width": 128,
|
||||
"frame_height": 128
|
||||
},
|
||||
"severed_finger-64":
|
||||
{"path": "assets/rituals/severed_finger-64.png",
|
||||
"frame_width": 64,
|
||||
"frame_height": 64
|
||||
},
|
||||
"severed_finger-128":
|
||||
{"path": "assets/rituals/severed_finger-128.png",
|
||||
"frame_width": 128,
|
||||
"frame_height": 128
|
||||
},
|
||||
"stone_doll_cursed-64":
|
||||
{"path": "assets/rituals/stone_doll_cursed-64.png",
|
||||
"frame_width": 64,
|
||||
"frame_height": 64
|
||||
},
|
||||
"stone_doll_cursed-128":
|
||||
{"path": "assets/rituals/stone_doll_cursed-128.png",
|
||||
"frame_width": 128,
|
||||
"frame_height": 128
|
||||
}
|
||||
},
|
||||
"worldgen": {
|
||||
"enemy_probability": 50,
|
||||
"empty_room_probability": 1,
|
||||
"device_probability": 10
|
||||
},
|
||||
"graphics": {
|
||||
|
@ -238,12 +324,9 @@
|
|||
"W": 8592,
|
||||
"NW": 8598
|
||||
},
|
||||
"theme": {
|
||||
"NOTE": "colors are in assets/palette.json",
|
||||
"padding": 3,
|
||||
"border_px": 1,
|
||||
"text_size": 20,
|
||||
"label_size": 20,
|
||||
"font_file_name": "assets/text.otf"
|
||||
}
|
||||
"test_rituals": [
|
||||
{ "has_spikes": true, "active": true },
|
||||
{ "has_magick": true, "active": true },
|
||||
{ "has_magick": true, "shiny_bauble": true, "active": true }
|
||||
]
|
||||
}
|
||||
|
|
|
@ -7,13 +7,13 @@
|
|||
"inventory_count": 0,
|
||||
"randomized": false,
|
||||
"components": [
|
||||
{"_type": "Tile", "display": 6105,
|
||||
"foreground": "devices/fg:stairs_down",
|
||||
"background": "devices/bg:stairs_down"
|
||||
{"_type": "Tile", "display": 10949,
|
||||
"foreground": [24, 205, 189],
|
||||
"background": [24, 205, 189]
|
||||
},
|
||||
{"_type": "Device",
|
||||
"config": {},
|
||||
"events": ["STAIRS_DOWN"]},
|
||||
"config": {"test": true},
|
||||
"events": ["Events::GUI::STAIRS_DOWN"]},
|
||||
{"_type": "Sprite", "name": "well_down", "width": 256, "height": 256, "scale": 1.0}
|
||||
]
|
||||
},
|
||||
|
@ -25,12 +25,12 @@
|
|||
"placement": "fixed",
|
||||
"components": [
|
||||
{"_type": "Tile", "display": 8793,
|
||||
"foreground": "devices/fg:stairs_up",
|
||||
"background": "devices/fg:stairs_up"
|
||||
"foreground": [24, 205, 189],
|
||||
"background": [24, 205, 189]
|
||||
},
|
||||
{"_type": "Device",
|
||||
"config": {},
|
||||
"events": ["STAIRS_UP"]},
|
||||
"config": {"test": true},
|
||||
"events": ["Events::GUI::STAIRS_UP"]},
|
||||
{"_type": "Sprite", "name": "rope_vines_up", "width": 256, "height": 256, "scale": 1.0}
|
||||
]
|
||||
},
|
||||
|
@ -40,66 +40,14 @@
|
|||
"description": "Watch where you're going.",
|
||||
"inventory_count": 0,
|
||||
"components": [
|
||||
{"_type": "Tile", "display": 95,
|
||||
"foreground": "devices/fg:tripwire",
|
||||
"background": "devices/bg:tripwire"
|
||||
{"_type": "Tile", "display": 6855,
|
||||
"foreground": [24, 205, 189],
|
||||
"background": [24, 205, 189]
|
||||
},
|
||||
{"_type": "Device", "config": {}, "events": ["TRAP"]},
|
||||
{"_type": "Device",
|
||||
"config": {"test": true},
|
||||
"events": ["Events::GUI::TRAP"]},
|
||||
{"_type": "Sprite", "name": "tripwire_trap", "width": 256, "height": 256, "scale": 1.0}
|
||||
]
|
||||
},
|
||||
"BARREL_SMALL": {
|
||||
"id": "BARREL_SMALL",
|
||||
"name": "Small Barrel",
|
||||
"description": "A small rotten barrel that may hold things.",
|
||||
"components": [
|
||||
{"_type": "Tile", "display": 85,
|
||||
"foreground": "devices/fg:barrel",
|
||||
"background": "devices/bg:barrel"
|
||||
},
|
||||
{"_type": "Device", "config": {}, "events": ["LOOT_CONTAINER"]},
|
||||
{"_type": "Sprite", "name": "barrel_small", "width": 256, "height": 256, "scale": 1.0},
|
||||
{"_type": "Sound", "attack": "pickup", "death": "blank"}
|
||||
]
|
||||
},
|
||||
"GRAVE_STONE": {
|
||||
"id": "GRAVE_STONE",
|
||||
"name": "Grave Stone",
|
||||
"description": "Something died here. Was this your doing?",
|
||||
"components": [
|
||||
{"_type": "Tile", "display": 8687,
|
||||
"foreground": "devices/fg:grave_stone",
|
||||
"background": "devices/bg:grave_stone"
|
||||
},
|
||||
{"_type": "Device", "config": {}, "events": ["LOOT_CONTAINER"]},
|
||||
{"_type": "Sprite", "name": "grave_stone", "width": 256, "height": 256, "scale": 1.0},
|
||||
{"_type": "Sound", "attack": "pickup", "death": "blank"}
|
||||
]
|
||||
},
|
||||
"DEAD_BODY_LOOTABLE": {
|
||||
"id": "DEAD_BODY_LOOTABLE",
|
||||
"name": "Grave Stone",
|
||||
"description": "Something died here. Was this your doing?",
|
||||
"components": [
|
||||
{"_type": "Tile", "display": 1890,
|
||||
"foreground": "devices/fg:dead_body_lootable",
|
||||
"background": "devices/bg:dead_body_lootable"
|
||||
},
|
||||
{"_type": "Device", "config": {}, "events": ["LOOT_CONTAINER"]},
|
||||
{"_type": "Sprite", "name": "dead_body_lootable", "width": 256, "height": 256, "scale": 1.0},
|
||||
{"_type": "Sound", "attack": "pickup", "death": "blank"}
|
||||
]
|
||||
},
|
||||
"DEAD_BODY": {
|
||||
"id": "DEAD_BODY",
|
||||
"name": "Something Dead",
|
||||
"description": "You can't loot this, weirdo.",
|
||||
"components": [
|
||||
{"_type": "Tile", "display": 1939,
|
||||
"foreground": "devices/fg:dead_body",
|
||||
"background": "devices/bg:dead_body"
|
||||
},
|
||||
{"_type": "Sprite", "name": "dead_body", "width": 256, "height": 256, "scale": 1.0}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Before Width: | Height: | Size: 120 KiB After Width: | Height: | Size: 120 KiB |
Before Width: | Height: | Size: 665 KiB After Width: | Height: | Size: 665 KiB |
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
Before Width: | Height: | Size: 113 KiB After Width: | Height: | Size: 113 KiB |
|
@ -2,40 +2,22 @@
|
|||
"PLAYER_TILE": {
|
||||
"placement": "fixed",
|
||||
"components": [
|
||||
{"_type": "Tile", "display": 10733,
|
||||
"foreground": "enemies/fg:player",
|
||||
"background": "color:transparent"
|
||||
{"_type": "Tile", "display": 42603,
|
||||
"foreground": [255, 200, 125],
|
||||
"background": [30, 20, 75]
|
||||
},
|
||||
{"_type": "Combat", "hp": 200, "max_hp": 200, "damage": 10, "dead": false},
|
||||
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
|
||||
{"_type": "Collision", "has": true},
|
||||
{"_type": "LightSource", "strength": 35, "radius": 2.0}
|
||||
]
|
||||
},
|
||||
"GOLD_SAVIOR": {
|
||||
"components": [
|
||||
{"_type": "Tile", "display": 42586,
|
||||
"foreground": "enemies/fg:gold_savior",
|
||||
"background": "color:transparent"
|
||||
},
|
||||
{"_type": "Combat", "hp": 20, "max_hp": 20, "damage": 1, "dead": false},
|
||||
{"_type": "Collision", "has": true},
|
||||
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
|
||||
{"_type": "EnemyConfig", "ai_script": "Enemy::actions", "ai_start_name": "Enemy::initial_state", "ai_goal_name": "Enemy::final_state"},
|
||||
{"_type": "Personality", "hearing_distance": 5, "tough": true},
|
||||
{"_type": "Animation", "easing": 1, "ease_rate": 0.2, "scale": 0.1, "simple": true, "frames": 10, "speed": 0.3, "stationary": false},
|
||||
{"_type": "Sprite", "name": "gold_savior", "width": 256, "height": 256, "width": 256, "height": 256, "scale": 1.0},
|
||||
{"_type": "Sound", "attack": "Sword_Hit_2", "death": "Humanoid_Death_1"}
|
||||
{"_type": "LightSource", "strength": 45, "radius": 2.0}
|
||||
]
|
||||
},
|
||||
"KNIGHT": {
|
||||
"components": [
|
||||
{"_type": "Tile", "display": 2216,
|
||||
"foreground": "enemies/fg:knight",
|
||||
"background": "color:transparent"
|
||||
{"_type": "Tile", "display": 2189,
|
||||
"foreground": [131, 213, 238],
|
||||
"background": [30, 20, 75]
|
||||
},
|
||||
{"_type": "Combat", "hp": 20, "max_hp": 20, "damage": 1, "dead": false},
|
||||
{"_type": "Collision", "has": true},
|
||||
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
|
||||
{"_type": "EnemyConfig", "ai_script": "Enemy::actions", "ai_start_name": "Enemy::initial_state", "ai_goal_name": "Enemy::final_state"},
|
||||
{"_type": "Personality", "hearing_distance": 5, "tough": true},
|
||||
|
@ -47,30 +29,28 @@
|
|||
"AXE_RANGER": {
|
||||
"components": [
|
||||
{"_type": "Tile", "display": 1898,
|
||||
"foreground": "enemies/fg:axe_ranger",
|
||||
"background": "color:transparent"
|
||||
"foreground": [156, 172, 197],
|
||||
"background": [30, 20, 75]
|
||||
},
|
||||
{"_type": "Combat", "hp": 40, "max_hp": 40, "damage": 10, "dead": false},
|
||||
{"_type": "Collision", "has": true},
|
||||
{"_type": "Motion", "dx": 0, "dy": 0, "random": true},
|
||||
{"_type": "EnemyConfig", "ai_script": "Enemy::actions", "ai_start_name": "Enemy::initial_state", "ai_goal_name": "Enemy::final_state"},
|
||||
{"_type": "Personality", "hearing_distance": 5, "tough": true},
|
||||
{"_type": "Sprite", "name": "axe_ranger", "width": 256, "height": 256, "scale": 1.0},
|
||||
{"_type": "Animation", "easing": 3, "ease_rate": 0.5, "scale": 0.1, "simple": true, "frames": 1, "speed": 0.6, "stationary": false},
|
||||
{"_type": "Animation", "easing": 3, "ease_rate": 0.5, "scale": 0.1, "simple": false, "frames": 2, "speed": 0.6, "stationary": false},
|
||||
{"_type": "Sound", "attack": "Sword_Hit_2", "death": "Ranger_1"}
|
||||
]
|
||||
},
|
||||
"RAT_GIANT": {
|
||||
"components": [
|
||||
{"_type": "Tile", "display": 2220,
|
||||
"foreground": "enemies/fg:rat_giant",
|
||||
"background": "color:transparent"
|
||||
"foreground": [205, 164, 246],
|
||||
"background": [30, 20, 75]
|
||||
},
|
||||
{"_type": "Combat", "hp": 50, "max_hp": 50, "damage": 2, "dead": false},
|
||||
{"_type": "Collision", "has": true},
|
||||
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
|
||||
{"_type": "EnemyConfig", "ai_script": "Enemy::actions", "ai_start_name": "Enemy::initial_state", "ai_goal_name": "Enemy::final_state"},
|
||||
{"_type": "Personality", "hearing_distance": 5, "tough": true},
|
||||
{"_type": "Personality", "hearing_distance": 5, "tough": false},
|
||||
{"_type": "Animation", "easing": 3, "ease_rate": 0.5, "scale": 0.1, "simple": true, "frames": 1, "speed": 1.0, "stationary": false},
|
||||
{"_type": "Sprite", "name": "rat_with_sword", "width": 256, "height": 256, "scale": 1.0},
|
||||
{"_type": "Sound", "attack": "Small_Rat", "death": "Creature_Death_1"}
|
||||
|
@ -79,11 +59,10 @@
|
|||
"SPIDER_GIANT_HAIRY": {
|
||||
"components": [
|
||||
{"_type": "Tile", "display": 1218,
|
||||
"foreground": "enemies/fg:spider_giant",
|
||||
"background": "color:transparent"
|
||||
"foreground": [205, 164, 246],
|
||||
"background": [30, 20, 75]
|
||||
},
|
||||
{"_type": "Combat", "hp": 20, "max_hp": 20, "damage": 20, "dead": false},
|
||||
{"_type": "Collision", "has": true},
|
||||
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
|
||||
{"_type": "EnemyConfig", "ai_script": "Enemy::actions", "ai_start_name": "Enemy::initial_state", "ai_goal_name": "Enemy::final_state"},
|
||||
{"_type": "Personality", "hearing_distance": 5, "tough": true},
|
||||
|
|
BIN
assets/evil_eye-sprites.png
Normal file
After Width: | Height: | Size: 80 KiB |
BIN
assets/evil_eye_test-256.png
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
assets/evil_eye_test-512.png
Normal file
After Width: | Height: | Size: 204 KiB |
BIN
assets/floor_tile_test-256.png
Normal file
After Width: | Height: | Size: 89 KiB |
BIN
assets/floor_tile_test-512.png
Normal file
After Width: | Height: | Size: 350 KiB |
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
BIN
assets/gold_savior-256.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
assets/grave_stone-256.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
assets/hairy_spider-256.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
assets/hanging_brazier-256.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
assets/healing_potion_small-256.png
Normal file
After Width: | Height: | Size: 11 KiB |
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
"healing_potion_small":
|
||||
{"path": "assets/icons/healing_potion_small.png",
|
||||
"frame_width": 96,
|
||||
"frame_height": 96
|
||||
},
|
||||
"torch_horizontal_floor":
|
||||
{"path": "assets/icons/torch_horizontal_floor.png",
|
||||
"frame_width": 96,
|
||||
"frame_height": 96
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 5.6 KiB |
|
@ -7,13 +7,58 @@
|
|||
"components": [
|
||||
{"_type": "LightSource", "strength": 50, "radius": 2.5},
|
||||
{"_type": "Tile", "display": 3848,
|
||||
"foreground": "items/fg:flame",
|
||||
"background": "color:transparent"
|
||||
"foreground": [24, 120, 189],
|
||||
"background": [230,120, 120]
|
||||
},
|
||||
{"_type": "Sprite", "name": "torch_horizontal_floor", "width": 256, "height": 256, "scale": 1.0},
|
||||
{"_type": "Sound", "attack": "pickup", "death": "blank"}
|
||||
]
|
||||
},
|
||||
"SWORD_RUSTY": {
|
||||
"id": "SWORD_RUSTY",
|
||||
"name": "Rusty Junk Sword",
|
||||
"description": "A sword left to rot in a deep hole where it acquired a patina of dirt and tetanus. You aren't sure if it's more deadly for you to hold it or for the people you stab with it.",
|
||||
"inventory_count": 1,
|
||||
"components": [
|
||||
{"_type": "Weapon", "damage": 15},
|
||||
{"_type": "Tile", "display": 7735,
|
||||
"foreground": [24, 120, 189],
|
||||
"background": [24, 120, 189]
|
||||
},
|
||||
{"_type": "Sprite", "name": "cinqueda", "width": 256, "height": 256, "scale": 1.0},
|
||||
{"_type": "Sound", "attack": "pickup", "death": "blank"}
|
||||
]
|
||||
},
|
||||
"BARREL_SMALL": {
|
||||
"id": "BARREL_SMALL",
|
||||
"name": "Small Barrel",
|
||||
"description": "A small rotten barrel that may hold things.",
|
||||
"components": [
|
||||
{"_type": "Tile", "display": 43754,
|
||||
"foreground": [150, 100, 189],
|
||||
"background": [150, 100, 189]
|
||||
},
|
||||
{"_type": "Loot", "amount": 10},
|
||||
{"_type": "Sprite", "name": "barrel_small", "width": 256, "height": 256, "scale": 1.0},
|
||||
{"_type": "Sound", "attack": "pickup", "death": "blank"}
|
||||
],
|
||||
"inventory_count": 1
|
||||
},
|
||||
"TORCH_PILLAR": {
|
||||
"id": "TORCH_PILLAR",
|
||||
"name": "Light Hanging from Ceiling",
|
||||
"description": "Light Hanging from Ceiling",
|
||||
"inventory_count": 0,
|
||||
"components": [
|
||||
{"_type": "Tile", "display": 1918,
|
||||
"foreground": [24, 205, 210],
|
||||
"background": [24, 205, 210]
|
||||
},
|
||||
{"_type": "LightSource", "strength": 50, "radius": 2.8},
|
||||
{"_type": "Sprite", "name": "torch_pillar", "width": 256, "height": 256, "scale": 1.0},
|
||||
{"_type": "Sound", "attack": "pickup", "death": "blank"}
|
||||
]
|
||||
},
|
||||
"POTION_HEALING_SMALL": {
|
||||
"id": "POTION_HEALING_SMALL",
|
||||
"name": "Small Healing Potion",
|
||||
|
@ -21,12 +66,27 @@
|
|||
"inventory_count": 1,
|
||||
"components": [
|
||||
{"_type": "Tile", "display": 1003,
|
||||
"foreground": "items/fg:potion",
|
||||
"background": "color:transparent"
|
||||
"foreground": [255, 205, 189],
|
||||
"background": [255, 205, 189]
|
||||
},
|
||||
{"_type": "Curative", "hp": 20},
|
||||
{"_type": "Sprite", "name": "healing_potion_small", "width": 256, "height": 256, "scale": 1.0},
|
||||
{"_type": "Sound", "attack": "pickup", "death": "blank"}
|
||||
]
|
||||
},
|
||||
"GRAVE_STONE": {
|
||||
"id": "GRAVE_STONE",
|
||||
"name": "Grave Stone",
|
||||
"description": "Something died here. Was this your doing?",
|
||||
"inventory_count": 1,
|
||||
"components": [
|
||||
{"_type": "Tile", "display": 8687,
|
||||
"foreground": [32, 123, 164],
|
||||
"background": [24, 205, 189]
|
||||
},
|
||||
{"_type": "Loot", "amount": 10},
|
||||
{"_type": "Sprite", "name": "grave_stone", "width": 256, "height": 256, "scale": 1.0},
|
||||
{"_type": "Sound", "attack": "pickup", "death": "blank"}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 7 KiB |
Before Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 7.8 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 4.1 KiB |
|
@ -1,140 +0,0 @@
|
|||
[
|
||||
{
|
||||
"centered": false,
|
||||
"display": 35,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"centered": false,
|
||||
"display": 8284,
|
||||
"x": 64,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"centered": false,
|
||||
"display": 11590,
|
||||
"x": 128,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"centered": false,
|
||||
"display": 10899,
|
||||
"x": 192,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"centered": false,
|
||||
"display": 9256,
|
||||
"x": 256,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"centered": false,
|
||||
"display": 9608,
|
||||
"x": 320,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"centered": false,
|
||||
"display": 10747,
|
||||
"x": 384,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"centered": false,
|
||||
"display": 8285,
|
||||
"x": 448,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"centered": true,
|
||||
"display": 1003,
|
||||
"x": 512,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"centered": true,
|
||||
"display": 3848,
|
||||
"x": 576,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"centered": true,
|
||||
"display": 85,
|
||||
"x": 0,
|
||||
"y": 64
|
||||
},
|
||||
{
|
||||
"centered": true,
|
||||
"display": 1939,
|
||||
"x": 64,
|
||||
"y": 64
|
||||
},
|
||||
{
|
||||
"centered": true,
|
||||
"display": 1890,
|
||||
"x": 128,
|
||||
"y": 64
|
||||
},
|
||||
{
|
||||
"centered": true,
|
||||
"display": 8687,
|
||||
"x": 192,
|
||||
"y": 64
|
||||
},
|
||||
{
|
||||
"centered": true,
|
||||
"display": 6105,
|
||||
"x": 256,
|
||||
"y": 64
|
||||
},
|
||||
{
|
||||
"centered": true,
|
||||
"display": 8793,
|
||||
"x": 320,
|
||||
"y": 64
|
||||
},
|
||||
{
|
||||
"centered": true,
|
||||
"display": 95,
|
||||
"x": 384,
|
||||
"y": 64
|
||||
},
|
||||
{
|
||||
"centered": true,
|
||||
"display": 1898,
|
||||
"x": 448,
|
||||
"y": 64
|
||||
},
|
||||
{
|
||||
"centered": true,
|
||||
"display": 42586,
|
||||
"x": 512,
|
||||
"y": 64
|
||||
},
|
||||
{
|
||||
"centered": true,
|
||||
"display": 2216,
|
||||
"x": 576,
|
||||
"y": 64
|
||||
},
|
||||
{
|
||||
"centered": true,
|
||||
"display": 10733,
|
||||
"x": 0,
|
||||
"y": 128
|
||||
},
|
||||
{
|
||||
"centered": true,
|
||||
"display": 2220,
|
||||
"x": 64,
|
||||
"y": 128
|
||||
},
|
||||
{
|
||||
"centered": true,
|
||||
"display": 1218,
|
||||
"x": 128,
|
||||
"y": 128
|
||||
}
|
||||
]
|
Before Width: | Height: | Size: 9.5 KiB |
|
@ -1,81 +0,0 @@
|
|||
{
|
||||
"color": {
|
||||
"transparent": [100, 100, 100, 100],
|
||||
"BAD": [255, 0, 0]
|
||||
},
|
||||
"gui/theme": {
|
||||
"black": [0, 0, 0, 255],
|
||||
"dark_dark": [10, 10, 10, 255],
|
||||
"dark_mid": [30, 30, 30, 255],
|
||||
"dark_light": [60, 60, 60, 255],
|
||||
"mid": [100, 100, 100, 255],
|
||||
"light_dark": [150, 150, 150, 255],
|
||||
"light_mid": [200, 200, 200, 255],
|
||||
"light_light": [230, 230, 230, 255],
|
||||
"white": [255, 255, 255, 255],
|
||||
"fill_color": "gui/theme:dark_mid",
|
||||
"text_color": "gui/theme:light_light",
|
||||
"bg_color": "gui/theme:mid",
|
||||
"border_color": "gui/theme:dark_dark",
|
||||
"bg_color_dark": "gui/theme:black"
|
||||
},
|
||||
"map/theme": {
|
||||
"black": [0, 0, 0, 255],
|
||||
"dark_dark": [10, 10, 10, 255],
|
||||
"dark_mid": [30, 30, 30, 255],
|
||||
"dark_light": [60, 60, 60, 255],
|
||||
"mid": [100, 100, 100, 255],
|
||||
"light_dark": [150, 150, 150, 255],
|
||||
"light_mid": [200, 200, 200, 255],
|
||||
"light_light": [230, 230, 230, 255],
|
||||
"white": [255, 255, 255, 255]
|
||||
},
|
||||
"items/fg": {
|
||||
"flame": "map/theme:white",
|
||||
"potion": "map/theme:white"
|
||||
},
|
||||
"enemies/fg": {
|
||||
"player": "map/theme:white",
|
||||
"gold_savior": "map/theme:white",
|
||||
"knight": "map/theme:white",
|
||||
"axe_ranger": "map/theme:white",
|
||||
"rat_giant": "map/theme:white",
|
||||
"spider_giant": "map/theme:white"
|
||||
},
|
||||
"tiles/fg": {
|
||||
"floor_tile": "map/theme:mid",
|
||||
"wall_plain": "map/theme:dark_mid",
|
||||
"wall_moss": "map/theme:dark_light",
|
||||
"ceiling_black": "color:transparent",
|
||||
"lava_floor": [200, 100, 100],
|
||||
"gray_stone_floor_light": [40, 60, 180],
|
||||
"wood_wall": "map/theme:dark_mid"
|
||||
},
|
||||
"tiles/bg": {
|
||||
"floor_tile": "map/theme:dark_dark",
|
||||
"wall_plain": "map/theme:dark_dark",
|
||||
"wall_moss": "map/theme:light_dark",
|
||||
"ceiling_black": "color:transparent",
|
||||
"lava_floor": "map/theme:dark_dark",
|
||||
"gray_stone_floor_light": "map/theme:dark_mid",
|
||||
"wood_wall": "map/theme:dark_dark"
|
||||
},
|
||||
"devices/fg": {
|
||||
"stairs_down": [24, 205, 189],
|
||||
"stairs_up": [24, 205, 189],
|
||||
"tripwire": [24, 205, 189],
|
||||
"barrel": [150, 100, 189],
|
||||
"grave_stone": [32, 123, 164],
|
||||
"dead_body": [32, 123, 164],
|
||||
"dead_body_lootable": [32, 123, 164]
|
||||
},
|
||||
"devices/bg": {
|
||||
"stairs_down": [24, 205, 189],
|
||||
"stairs_up": [24, 205, 189],
|
||||
"tripwire": [24, 205, 189],
|
||||
"barrel": [150, 100, 189],
|
||||
"grave_stone": [24, 205, 189],
|
||||
"dead_body": [24, 205, 189],
|
||||
"dead_body_lootable": [24, 205, 189]
|
||||
}
|
||||
}
|
BIN
assets/paper_ui_background.png
Normal file
After Width: | Height: | Size: 285 KiB |
BIN
assets/rat-king-boss-fight-test-small.jpg
Normal file
After Width: | Height: | Size: 211 KiB |
BIN
assets/rat_king-256.png
Normal file
After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 1,011 KiB After Width: | Height: | Size: 1,011 KiB |
Before Width: | Height: | Size: 152 KiB After Width: | Height: | Size: 152 KiB |
Before Width: | Height: | Size: 466 KiB After Width: | Height: | Size: 466 KiB |
BIN
assets/rat_with_sword-256.png
Normal file
After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 666 KiB After Width: | Height: | Size: 666 KiB |
|
@ -169,34 +169,5 @@
|
|||
"damage": 16,
|
||||
"probability": 1.0
|
||||
}
|
||||
},
|
||||
"junk": {
|
||||
"chess_pawn": {
|
||||
"name": "chess_pawn",
|
||||
"provides": ["cursed_item"]
|
||||
},
|
||||
"dirty_kerchief": {
|
||||
"name": "dirty_kerchief",
|
||||
"provides": ["has_magick"]
|
||||
},
|
||||
"mushroom": {
|
||||
"name": "mushroom",
|
||||
"provides": ["has_magick"]
|
||||
},
|
||||
"pocket_watch": {
|
||||
"name": "pocket_watch",
|
||||
"provides": ["shiny_bauble"]
|
||||
},
|
||||
"rusty_nails": {
|
||||
"name": "rusty_nails",
|
||||
"provides": ["has_spikes"]
|
||||
},
|
||||
"severed_finger": {
|
||||
"name": "severed_finger",
|
||||
"provides": ["cursed_item"]
|
||||
}
|
||||
},
|
||||
"starting_junk": [
|
||||
"pocket_watch", "mushroom", "rusty_nails"
|
||||
]
|
||||
}
|
||||
|
|
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 4.2 KiB |
BIN
assets/rope_vines_up-256.png
Normal file
After Width: | Height: | Size: 28 KiB |
|
@ -1,10 +1,8 @@
|
|||
#version 120
|
||||
uniform vec2 u_resolution;
|
||||
uniform float u_time;
|
||||
uniform sampler2D source;
|
||||
uniform float u_mouse;
|
||||
uniform float value = 0.2;
|
||||
uniform int octaves=8;
|
||||
|
||||
float random (in vec2 st) {
|
||||
return fract(sin(dot(st.xy,
|
||||
|
@ -28,7 +26,7 @@ float noise(in vec2 st) {
|
|||
(d - b) * u.x * u.y;
|
||||
}
|
||||
|
||||
float fbm(in vec2 st) {
|
||||
float fbm(in vec2 st, int octaves=8) {
|
||||
float v = 0.0;
|
||||
float a = 0.5;
|
||||
vec2 shift = vec2(100.0);
|
||||
|
@ -49,7 +47,7 @@ void main() {
|
|||
vec3 color = vec3(0.0);
|
||||
|
||||
float speed = u_time * 10.0;
|
||||
float value = 0.8; // cos(u_time) * cos(u_time);
|
||||
float value = cos(u_time) * cos(u_time);
|
||||
|
||||
vec2 q = vec2(0.0);
|
||||
q.x = fbm(st + 0.00 * speed);
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
#version 120
|
||||
uniform vec2 u_resolution;
|
||||
uniform float u_time;
|
||||
uniform sampler2D source;
|
||||
uniform float u_mouse;
|
||||
uniform float value = 0.2;
|
||||
uniform int octaves=8;
|
||||
|
||||
float random (in vec2 st) {
|
||||
return fract(sin(dot(st.xy,
|
||||
|
@ -28,7 +26,7 @@ float noise(in vec2 st) {
|
|||
(d - b) * u.x * u.y;
|
||||
}
|
||||
|
||||
float fbm(in vec2 st) {
|
||||
float fbm(in vec2 st, int octaves=8) {
|
||||
float v = 0.0;
|
||||
float a = 0.5;
|
||||
vec2 shift = vec2(100.0);
|
||||
|
|
Before Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 9.8 KiB |
Before Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 22 KiB |