Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Fix some animation issues #2563

Merged
merged 3 commits into from
Oct 24, 2021
Merged

Fix some animation issues #2563

merged 3 commits into from
Oct 24, 2021

Conversation

ActualMandM
Copy link

@ActualMandM ActualMandM commented Oct 24, 2021

  • Add GF's hair loop from Week 7
  • Fix parents eye loop
Lots of video previews Dad:
2021-10-23_21-22-43.mp4

Mom:

2021-10-23_21-22-58.mp4

Parents:

2021-10-23_21-23-11.mp4

Girlfriend (Car):

2021-10-23_21-35-20.mp4

- Add GF's hair loop
- Fix parents eye loop
- Play regular singing animation if the alt version doesn't exist
@ActualMandM ActualMandM marked this pull request as draft October 24, 2021 04:26
@ActualMandM
Copy link
Author

Unsure why bf-car idle loop isn't working as it should, currently looking into it

@ActualMandM ActualMandM marked this pull request as ready for review October 24, 2021 04:33
@@ -2976,7 +2976,10 @@ class PlayState extends MusicBeatState
if (daNote.spotInLine != daNote.parent.children.length - 1)
{
var singData:Int = Std.int(Math.abs(daNote.noteData));
dad.playAnim('sing' + dataSuffix[singData] + altAnim, true);
if (dad.animation.getByName('sing' + dataSuffix[singData] + altAnim) != null)
Copy link

@Spel0 Spel0 Oct 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is exactly what this line does?

image

I see no reason to add this since it does the same thing with the difference of the one in character.hx being that prints into debug console that such animation doesn't exist.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I didn't notice that...

Copy link
Author

@ActualMandM ActualMandM Oct 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Though I can see why I didn't notice it, I'm currently working on a mod that's based off an older KE version: 1.4.2 infact.

@@ -3010,7 +3013,10 @@ class PlayState extends MusicBeatState
else
{
var singData:Int = Std.int(Math.abs(daNote.noteData));
dad.playAnim('sing' + dataSuffix[singData] + altAnim, true);
if (dad.animation.getByName('sing' + dataSuffix[singData] + altAnim) != null)
Copy link

@Spel0 Spel0 Oct 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same thing here

@@ -4357,7 +4363,10 @@ class PlayState extends MusicBeatState
trace("Alt note on BF");
}

boyfriend.playAnim('sing' + dataSuffix[note.noteData] + altAnim, true);
if (boyfriend.animation.getByName('sing' + dataSuffix[note.noteData] + altAnim) != null)
Copy link

@Spel0 Spel0 Oct 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same thing here

Copy link

@Spel0 Spel0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove duplicate code

@Kade-github Kade-github merged commit 4d53d7a into KadeArchive:master Oct 24, 2021
@ActualMandM ActualMandM deleted the animStuff branch October 25, 2021 02:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants