Two issues caused objects to float relative to dungeon map: 1. rotAngle used (heading + PI) but canvas uses (PI - heading) - these differ: sin(x+PI) = -sin(x) vs sin(PI-x) = sin(x) 2. Object dy was negated, but 180° heading offset already handles N/S - double N/S flip caused objects to drift with heading changes Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| icons | ||
| acmap.png | ||
| debug.html | ||
| dereth.png | ||
| dereth_highres.png | ||
| dungeon_tiles.json | ||
| favicon.ico | ||
| index.html | ||
| inventory.html | ||
| inventory.js | ||
| prismatic-taper-icon.png | ||
| script.js | ||
| style-ac.css | ||
| style.css | ||
| suitbuilder.css | ||
| suitbuilder.html | ||
| suitbuilder.js | ||