feat(effects): extinguish fire with water/rain and ambient SFX volume
Water and rain erase fire under a tight brush hit radius; add looping fire/rain ambients and an Effects sound slider that also scales one-shot effect SFX. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -102,7 +102,14 @@ function applyEvent(
|
||||
case 'field.erase':
|
||||
return bump({
|
||||
...state,
|
||||
instances: applyFieldEffectEraserStroke(state.instances, event.points, event.radiusN, makeId),
|
||||
instances: applyFieldEffectEraserStroke(
|
||||
state.instances,
|
||||
event.points,
|
||||
event.radiusN,
|
||||
makeId,
|
||||
event.types,
|
||||
event.hitMode ?? 'inclusive',
|
||||
),
|
||||
});
|
||||
default: {
|
||||
// Exhaustiveness
|
||||
|
||||
Reference in New Issue
Block a user