- Joined
- Nov 23, 2020
- Posts
- 88
With "syncToRefreshrate": false in mkxp.json everything seems normal, but performance is much lower...wdym?
How do you get the animation to be at the right frame rate with
"syncToRefreshrate": true?
With "syncToRefreshrate": false in mkxp.json everything seems normal, but performance is much lower...wdym?
Honestly, I never messed up with that part of Essentials, and I don't think I know enough about how the framerate works in v21.1, so I can't really help you, man.With "syncToRefreshrate": false in mkxp.json everything seems normal, but performance is much lower...
How do you get the animation to be at the right frame rate with
"syncToRefreshrate": true?
Wait
values in the Script though. Since you want it to be slower, just decrease them all proportionally until you feel like it's good.All good! But to help with future projects, I noticed that the new interfaces use this method:Honestly, I never messed up with that part of Essentials, and I don't think I know enough about how the framerate works in v21.1, so I can't really help you, man.
You could change theWait
values in the Script though. Since you want it to be slower, just decrease them all proportionally until you feel like it's good.
#===============================================================================
# Linear interpolation between two values, given the duration of the change and
# either:
# - the time passed since the start of the change (delta), or
# - the start time of the change (delta) and the current time (now)
#===============================================================================
def lerp(start_val, end_val, duration, delta, now = nil)
return end_val if duration <= 0
delta = now - delta if now
return start_val if delta <= 0
return end_val if delta >= duration
return start_val + ((end_val - start_val) * delta / duration.to_f)
end
Oh okay thank you!I think that it means that you are using the v21 version of the plugin on v20.1 of Essentials, which will come with problems like the one you are having.
You should look at the updates when the plugin was updated to v21 and try downloading in history the version before that, that should be for v20.1.
With "disappear" you mean to have their opacities decreased? Because that was how I did the animation for the older versions.Hey whenever I choose the 3rd starter it makes all the other pokeballs disappear too any idea how I fix it?
I meant like the pokeballs on the table in the overworld I fixed it thank anyways!With "disappear" you mean to have their opacities decreased? Because that was how I did the animation for the older versions.
Otherwise you may not have installed my plugin properly.
Old animation below:
View attachment 25823
I mean, the error is telling you what to do.***Line '(:BULBASAUR,:CHARMANDER,:SQUIRTLE)' shouldn't begin with '('. Try putting the '('
at the end of the previous line instead, or using 'extendtext.exe'.
***Full script:
DiegoWTsStarterSelection.new
(:BULBASAUR,:CHARMANDER,:SQUIRTLE)
Did I copy something wrong?
Yeah, you're right, sorry! I just saw it was because I hadn't use extendtext. Anyways, thanks!I mean, the error is telling you what to do.
Follow the instructions mentioned in the error message.For some reason the game crashes with an error message when it gets to the part with the script
View attachment 26919
Am i doing something wrong?
So, instead of***Line '(:BULBASAUR,:CHARMANDER,:SQUIRTLE)' shouldn't begin with '('. Try putting the '('
at the end of the previous line instead, or using 'extendtext.exe'.
***Full script:
DiegoWTsStarterSelection.new
(:BULBASAUR,:CHARMANDER,:SQUIRTLE)
DiegoWTsStarterSelection.new
(:BULBASAUR,:CHARMANDER,:SQUIRTLE)
DiegoWTsStarterSelection.new(
:BULBASAUR,:CHARMANDER,:SQUIRTLE)
extendtext.exe
that is in the root folder (where are the Audio, Data, Graphics, etc. folders) to have the script window bigger and fit the above code in a single line.Thank YouThe error message is telling you what is wrong and how to fix it:
So, instead of
You should writeRuby:DiegoWTsStarterSelection.new (:BULBASAUR,:CHARMANDER,:SQUIRTLE)
You could also use theRuby:DiegoWTsStarterSelection.new( :BULBASAUR,:CHARMANDER,:SQUIRTLE)
extendtext.exe
that is in the root folder (where are the Audio, Data, Graphics, etc. folders) to have the script window bigger and fit the above code in a single line.
The only way to do that for now is through the Settings. Give it a check it.Is there a way for the starter selection to have the alternate form pokemon show up? I'm trying to test the hisuian forms, voltorb or zorua, but it only shows the normal form.
: Votorb_1 gives back a Kantonian Voltorb.