- add: shared animation

This commit is contained in:
2024-02-24 16:37:40 +03:00
parent 2ec981e9e6
commit e3f5ec25e3
11 changed files with 306 additions and 10 deletions

View File

@@ -267,7 +267,7 @@
- type: Arousal
- type: InteractionPanel
actionPrototypes:
- basic
- SlapButt
- type: entity
save: false

View File

@@ -0,0 +1,28 @@
- type: animation
id: meow
length: 1
animationTracks:
- componentType: Sprite
property: Scale
interpolationMode: Linear
keyFrames:
- keyTime: 0
value: 1,1
- keyTime: 0.2
value: 1.5,1.5
- keyTime: 0.3
value: 0.25,0.25
- keyTime: 0.3
value: 1,1
- componentType: Sprite
property: Rotation
interpolationMode: Linear
keyFrames:
- keyTime: 0
value: 15
- keyTime: 0.2
value: 45
- keyTime: 0.3
value: 90
- keyTime: 0.3
value: 0

View File

@@ -1,6 +1,6 @@
- type: interaction
id: basic
id: SlapButt
checks:
- !type:HasSmallDistance
beginningMessages:
- шлёпает по попе
- interaction-butt-slap