Draw the touch ring in engine instead of a particle

This commit is contained in:
shweet committed 2026-11-13 01:02:25 -05:00
1 parent dcd3006f24
commit 4e3abaa381
11 files changed
+33 -78

No files matched your search

+2 -4
View File
@@ -174,7 +174,6 @@ The first expand area is treated as the belly: it breathes, jiggles when smacked
| `scaleCycles` | float | How many oscillations the scale effect performs. Defaults to 1. |
| `scaleTime` | float, seconds | How long the scale effect lasts. Defaults to a third of a second. |
| `sounds` | paths | Sounds played when interacting. |
| `particles` | strings | Particles (see `particles`) spawned when interacting. |
### sounds
| Key | Meaning |
@@ -186,12 +185,11 @@ The first expand area is treated as the belly: it breathes, jiggles when smacked
How items move in the background (`gfx/area.anm2`): `gravity` (applied to items' velocities per tick), `friction` (applied when items are grounded or hit walls) and `airResistance`.
### cursor
The cursor's sounds and particles. Its look is `gfx/cursor.anm2` (see "Fixed files and names").
The cursor's sounds. Its look is `gfx/cursor.anm2` (see "Fixed files and names").
| Key | Meaning |
|---|---|
| `sounds` | `grab` (grabbing an item), `release` (letting go) and `throw` (letting go while dragging quickly). |
| `particles` | `grab`: particles spawned when grabbing an item. |
### menu
The UI's sounds.
@@ -201,7 +199,7 @@ The UI's sounds.
| `sounds` | `open` and `close` (the taskbar or one of its windows), `hover` and `select` (a widget), and `cheats` (after entering a special code to activate cheats). |
### particles
An object of particles by name, each with the `anm2` and `animation` it plays once where spawned. The `Circle` particle is also spawned where an item lands hard.
An object of particles by name, each with the `anm2` and `animation` it plays once where spawned. (The ring where something is touched, grabbed or lands hard is drawn by the game, not a particle.)
# items.json