The shader effects now work correctly on the scene actors, but the application of shaders should be on the animation class.

This commit is contained in:
Zed A. Shaw 2026-01-02 23:23:05 -05:00
parent 22db12f5e4
commit 05fc9062a7
11 changed files with 33 additions and 16 deletions

View file

@ -6,7 +6,7 @@
"foreground": "enemies/fg:player",
"background": "color:transparent"
},
{"_type": "Combat", "hp": 200, "max_hp": 200, "ap": 0, "max_ap": 12, "ap_delta": 6, "damage": 1000, "dead": false},
{"_type": "Combat", "hp": 200, "max_hp": 200, "ap": 0, "max_ap": 12, "ap_delta": 6, "damage": 10, "dead": false},
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
{"_type": "Collision", "has": true},
{"_type": "EnemyConfig", "ai_script": "Host::actions", "ai_start_name": "Host::initial_state", "ai_goal_name": "Host::final_state"},

View file

@ -18,5 +18,9 @@
"lightning": {
"file_name": "assets/shaders/lightning_attack.frag",
"type": "fragment"
},
"boss_hit": {
"file_name": "assets/shaders/flame_trash.frag",
"type": "fragment"
}
}