comparison game/data/config.js @ 8:2c4fed8baed9

art update, persistent sound setting, tower selling as double action
author ark
date 2026-10-19 13:37 +0200
parents 910b26feca76
children 53f015966118
comparison
equal deleted inserted replaced
7:4fd2da999ba4 8:2c4fed8baed9
62 "hop_time": 0.35, 62 "hop_time": 0.35,
63 "hop_height": 5, 63 "hop_height": 5,
64 "squash": 0.06, 64 "squash": 0.06,
65 "stretch": 0.04, 65 "stretch": 0.04,
66 "idle_bob": 0.02, 66 "idle_bob": 0.02,
67 "hit_radius": 0.4 67 "hit_radius": 0.4,
68 "death_puff": 0.4
68 }, 69 },
69 "route_preference": { 70 "route_preference": {
70 "reference_speed": 40, 71 "reference_speed": 40,
71 "bias": 3, 72 "bias": 3,
72 "min_weight": 0.1 73 "min_weight": 0.1
191 "max_sprites": 8 192 "max_sprites": 8
192 }, 193 },
193 "controls": { 194 "controls": {
194 "speeds": [ 195 "speeds": [
195 1, 196 1,
196 2 197 2,
198 4
197 ] 199 ]
198 }, 200 },
199 "sound": { 201 "sound": {
200 "enabled": true, 202 "enabled": true,
201 "volume": 0.8, 203 "volume": 0.8,
397 ], 399 ],
398 "t1_5": [ 400 "t1_5": [
399 0.27, 401 0.27,
400 0.5 402 0.5
401 ] 403 ]
404 },
405 "screen": {
406 "splash": [
407 479,
408 463
409 ],
410 "map_won": [
411 210,
412 225
413 ],
414 "game_lost": [
415 172,
416 230
417 ],
418 "game_won": [
419 373,
420 383
421 ]
402 } 422 }
403 }, 423 },
404 "debug": { 424 "debug": {
405 "start_coins": -1, 425 "start_coins": -1,
406 "unlimited_coins": false, 426 "unlimited_coins": false,
1532 ], 1552 ],
1533 "b3": [ 1553 "b3": [
1534 135, 1554 135,
1535 175 1555 175
1536 ], 1556 ],
1557 "boss_death": [
1558 242,
1559 196
1560 ],
1537 "c0": [ 1561 "c0": [
1538 41, 1562 41,
1539 40 1563 40
1540 ], 1564 ],
1541 "c1": [ 1565 "c1": [
1548 ], 1572 ],
1549 "c3": [ 1573 "c3": [
1550 42, 1574 42,
1551 53 1575 53
1552 ], 1576 ],
1577 "coin_icon": [
1578 81,
1579 86
1580 ],
1581 "digit_0_1": [
1582 69,
1583 72
1584 ],
1585 "digit_0_2": [
1586 58,
1587 71
1588 ],
1589 "digit_0_3": [
1590 66,
1591 73
1592 ],
1593 "digit_1_1": [
1594 55,
1595 73
1596 ],
1597 "digit_1_2": [
1598 50,
1599 73
1600 ],
1601 "digit_1_3": [
1602 27,
1603 71
1604 ],
1605 "digit_1_4": [
1606 54,
1607 72
1608 ],
1609 "digit_1_5": [
1610 59,
1611 73
1612 ],
1613 "digit_1_6": [
1614 72,
1615 75
1616 ],
1617 "digit_1_7": [
1618 62,
1619 75
1620 ],
1621 "digit_1_8": [
1622 59,
1623 74
1624 ],
1625 "digit_2_1": [
1626 69,
1627 74
1628 ],
1629 "digit_2_2": [
1630 77,
1631 73
1632 ],
1633 "digit_2_3": [
1634 89,
1635 72
1636 ],
1637 "digit_2_4": [
1638 94,
1639 72
1640 ],
1641 "digit_3_1": [
1642 41,
1643 68
1644 ],
1645 "digit_3_2": [
1646 61,
1647 71
1648 ],
1649 "digit_3_3": [
1650 60,
1651 73
1652 ],
1653 "digit_4_1": [
1654 77,
1655 74
1656 ],
1657 "digit_4_2": [
1658 78,
1659 72
1660 ],
1661 "digit_4_3": [
1662 81,
1663 73
1664 ],
1665 "digit_5_1": [
1666 50,
1667 72
1668 ],
1669 "digit_5_2": [
1670 52,
1671 72
1672 ],
1673 "digit_5_3": [
1674 53,
1675 72
1676 ],
1677 "digit_6_1": [
1678 42,
1679 72
1680 ],
1681 "digit_6_2": [
1682 49,
1683 73
1684 ],
1685 "digit_6_3": [
1686 39,
1687 72
1688 ],
1689 "digit_6_4": [
1690 39,
1691 72
1692 ],
1693 "digit_7_1": [
1694 52,
1695 72
1696 ],
1697 "digit_7_2": [
1698 63,
1699 72
1700 ],
1701 "digit_7_3": [
1702 57,
1703 71
1704 ],
1705 "digit_8_1": [
1706 37,
1707 72
1708 ],
1709 "digit_8_2": [
1710 45,
1711 72
1712 ],
1713 "digit_8_3": [
1714 44,
1715 72
1716 ],
1717 "digit_9_1": [
1718 47,
1719 72
1720 ],
1721 "digit_9_2": [
1722 47,
1723 68
1724 ],
1725 "digit_9_3": [
1726 53,
1727 69
1728 ],
1729 "digit_slash_1": [
1730 39,
1731 71
1732 ],
1733 "game_lost": [
1734 510,
1735 403
1736 ],
1737 "game_lost_button": [
1738 161,
1739 129
1740 ],
1741 "game_won": [
1742 973,
1743 762
1744 ],
1745 "game_won_button": [
1746 369,
1747 348
1748 ],
1749 "heart": [
1750 77,
1751 100
1752 ],
1553 "hpb": [ 1753 "hpb": [
1554 252, 1754 252,
1555 41 1755 41
1556 ], 1756 ],
1557 "hpb_empty": [ 1757 "hpb_empty": [
1600 ], 1800 ],
1601 "m4": [ 1801 "m4": [
1602 108, 1802 108,
1603 109 1803 109
1604 ], 1804 ],
1805 "map_won": [
1806 611,
1807 444
1808 ],
1809 "map_won_button": [
1810 242,
1811 166
1812 ],
1813 "monster_death": [
1814 194,
1815 157
1816 ],
1817 "monster_icon": [
1818 80,
1819 95
1820 ],
1821 "next_wave": [
1822 440,
1823 200
1824 ],
1605 "p0": [ 1825 "p0": [
1606 35, 1826 35,
1607 90 1827 90
1608 ], 1828 ],
1609 "p1": [ 1829 "p1": [
1616 ], 1836 ],
1617 "p3": [ 1837 "p3": [
1618 62, 1838 62,
1619 62 1839 62
1620 ], 1840 ],
1841 "pause_button": [
1842 118,
1843 133
1844 ],
1845 "play_button": [
1846 124,
1847 140
1848 ],
1849 "sell_button": [
1850 73,
1851 61
1852 ],
1853 "shop_bubble": [
1854 276,
1855 226
1856 ],
1857 "shop_bubble_dark": [
1858 269,
1859 206
1860 ],
1861 "shop_bubble_dark2": [
1862 257,
1863 226
1864 ],
1865 "sound_off": [
1866 172,
1867 158
1868 ],
1869 "sound_on": [
1870 172,
1871 168
1872 ],
1873 "speed_x1": [
1874 117,
1875 148
1876 ],
1877 "speed_x2": [
1878 118,
1879 135
1880 ],
1881 "speed_x4": [
1882 119,
1883 129
1884 ],
1885 "splash": [
1886 1175,
1887 650
1888 ],
1889 "splash_play": [
1890 184,
1891 164
1892 ],
1621 "t0": [ 1893 "t0": [
1622 143, 1894 143,
1623 140 1895 140
1624 ], 1896 ],
1625 "t0_2": [ 1897 "t0_2": [
1695 163 1967 163
1696 ], 1968 ],
1697 "t3_5": [ 1969 "t3_5": [
1698 206, 1970 206,
1699 222 1971 222
1972 ],
1973 "tower_popup": [
1974 339,
1975 288
1976 ],
1977 "upgrade_button": [
1978 94,
1979 85
1700 ] 1980 ]
1701 } 1981 }
1702 }; 1982 };