mirror of
https://github.com/ad044/lainTSX.git
synced 2024-10-22 23:19:06 +00:00
minor changes with camera tilt
This commit is contained in:
parent
f3a4324ca5
commit
1ae8082076
1 changed files with 15 additions and 3 deletions
|
@ -94,10 +94,15 @@ export const changeNode = (calculatedState: { activeNode: NodeData }) => ({
|
|||
|
||||
export const throwNode = (calculatedState: { currentScene: GameScene }) => ({
|
||||
state: [
|
||||
{ mutation: { lainMoveState: "throw_node", inputCooldown: -1 } },
|
||||
{
|
||||
mutation: {
|
||||
lainMoveState: "throw_node",
|
||||
inputCooldown: -1,
|
||||
cameraTiltValue: 0,
|
||||
},
|
||||
},
|
||||
{
|
||||
mutation: {
|
||||
currentScene: calculatedState.currentScene,
|
||||
intro: false,
|
||||
lainMoveState: "standing",
|
||||
|
@ -115,11 +120,16 @@ export const throwNode = (calculatedState: { currentScene: GameScene }) => ({
|
|||
|
||||
export const ripNode = (calculatedState: { currentScene: GameScene }) => ({
|
||||
state: [
|
||||
{ mutation: { lainMoveState: "rip_node", inputCooldown: -1 } },
|
||||
{
|
||||
mutation: {
|
||||
lainMoveState: "rip_node",
|
||||
inputCooldown: -1,
|
||||
cameraTiltValue: 0,
|
||||
},
|
||||
},
|
||||
{
|
||||
mutation: {
|
||||
currentScene: calculatedState.currentScene,
|
||||
cameraTiltValue: 0,
|
||||
intro: false,
|
||||
lainMoveState: "standing",
|
||||
},
|
||||
|
@ -755,6 +765,7 @@ export const playIdleVideo = (calculatedState: { idleMedia: string }) => ({
|
|||
state: [
|
||||
{
|
||||
mutation: {
|
||||
cameraTiltValue: 0,
|
||||
idleStarting: true,
|
||||
idleMedia: calculatedState.idleMedia,
|
||||
idleImages: undefined,
|
||||
|
@ -774,6 +785,7 @@ export const playIdleAudio = (calculatedState: {
|
|||
state: [
|
||||
{
|
||||
mutation: {
|
||||
cameraTiltValue: 0,
|
||||
idleStarting: true,
|
||||
inputCooldown: -1,
|
||||
idleMedia: calculatedState.idleMedia,
|
||||
|
|
Loading…
Reference in a new issue