Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Maintenance & Feedback » JJ2+ Issue Tracker

Bug Report player.morphTo(CHAR::FROG, false); still plays morph animation

Love & Thunder

JCF Member

Joined: Sep 2011

Posts: 1,101

Love & Thunder has disabled reputation

Aug 24, 2020, 04:22 PM
Love & Thunder is offline
player.morphTo(CHAR::FROG, false); still plays morph animation

If you, for instance, create the following script for a level:
Code:
void onPlayer(jjPLAYER@ player) {
	if (player.charCurr != CHAR::FROG) {
		player.morphTo(CHAR::FROG, false);
	}
}
Then, while the player does correctly morph into a frog, the morphing animation still plays, despite the boolean flag at the end, for morph effect, being false. The same is true when the flag is set to true.
__________________
Violet CLM

JCF Éminence Grise

Joined: Mar 2001

Posts: 11,047

Violet CLM has disabled reputation

Aug 31, 2020, 03:15 PM
Violet CLM is offline
The current behavior is not technically incorrect, in that the flag only disables the effect that makes a bunch of glowing explosions appear around you when you morph, and that effect never happens when you morph into a frog anyway. But since there's no way to disable the extended frog morphing animation, I agree with you that the otherwise-unused flag should extend to that too.
__________________
Violet CLM

JCF Éminence Grise

Joined: Mar 2001

Posts: 11,047

Violet CLM has disabled reputation

Mar 22, 2021, 01:41 PM
Violet CLM is offline
Fix will be available in 5.8.
__________________
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 05:02 PM.