EDIT. Image was corrupted.
I got an error in which it said the following:
TYPEERROR: Cannot assign to read only property 'parent' of 1
Don't know why this came up.
Silver's Dash Stamina
● ARCHIVED · READ-ONLY
-
-
"cannot assign to read only property 'parent' of 1"
This text shows when i'm trying to play game
Edit: ok i found solution, but i don't know how to delete coment -
"can not create property 'parent' on number '1'
Always happens when I add the plugin to my game and start a New File or Continue.... -
This plugin is not update anymore?
-
This plugin is not update anymore?
Probably not. The last update was a long time ago. On the bright side, stamina bars aren't all that hard to event once you have a plugin that can disable dashing. -
Probably not. The last update was a long time ago. On the bright side, stamina bars aren't all that hard to event once you have a plugin that can disable dashing.
I tried to use this plugin but not working and not show stamina bar,How can I setting or fix it? -
@keizz
You would need a HUD plugin like SumRndmDde's or maybe MOGs and a plugin for disabling Auto-dash, either Yanfly or Galv has one of these). After that, you can write a parallel process to make this work. I released the source for my game Eremiel in the forums that has a dashing mechanic set up this way. You could use it as a reference for your own setup if you'd like. -
I'm having this error
-
"cannot assign to read only property 'parent' of 1"
This text shows when i'm trying to play game
Edit: ok i found solution, but i don't know how to delete coment
how did you fix the error? -
It looks perfect, but i have this issue, is there a way to get this working?
-
It looks perfect, but i have this issue, is there a way to get this working?
View attachment 111167
View attachment 111166
I had to change line 1034 to look like this:
Code:this.addChild(Silv.DashStamina.Window); //, Silv.DashStamina.Window_Z) -
Hey thanks for the solution! Now it works really fine. But is there a way to make it vertical? I don't really a big fan of horizontal bars so, i need help to make it vertical. But anyway, thank you so much for the solution.I had to change line 1034 to look like this:
Code:this.addChild(Silv.DashStamina.Window); //, Silv.DashStamina.Window_Z) -
Hey thanks for the solution! Now it works really fine. But is there a way to make it vertical? I don't really a big fan of horizontal bars so, i need help to make it vertical. But anyway, thank you so much for the solution.
I don't know about the bars as ive not been using them, but glad I could help a little -
Updated for the latest version of RMMV.
Sorry all I was inactive for almost 4 years so I didn't read all posts and didn't update it for the latest RMMV version until now. I only updated it so if there are any bugs, they could still be there in the new version. If the new version has problems please let me know here. -
Hey Silver! Good to see you back :)
I just wanted to mention a minor issue in a previous version where I have set the plugin command to hide the stamina bar during interactions/cutscenes, but if the stamina is regenerating it will override the hide command meaning that it display the stamina bar again regardless if the command was executed. -
Thanks :).
I just noticed that there is no plugin command. I updated the wrong version... Looks like I will be uploading a new version today and I'll look into that bug for you at the same time then. -
I have set the plugin command to hide the stamina bar during interactions/cutscenes, but if the stamina is regenerating it will override the hide command meaning that it display the stamina bar again regardless if the command was executed.
From my plugin help-text:
You did use the plugin command Stamina ForceHide true right? Not Stamina HideWindow? Because that is an intended feature of HideWindow.* Stamina HideWindow
* Hides the stamina window. Does not work if you disabled the stamina window.
* Also does not work if the stamina is currently regenerating.
*
* Stamina ForceHide <true/false>
* Example:
* Stamina ForceHide true
I tested it in the new version 1.21 (I just uploaded it a minute ago) and the bug you describe is not present. I also updated the Master Demo. -
Ah... I'm sorry I may have wasted your time, I did not see those in the help. I'll double check the commands I used, but it seems like it is working as intended then. Anyway.... thanks for the quick response -- I got overly excited to see you active again... but thank you for your work :)From my plugin help-text:
You did use the plugin command Stamina ForceHide true right? Not Stamina HideWindow? Because that is an intended feature of HideWindow.
I tested it in the new version 1.21 (I just uploaded it a minute ago) and the bug you describe is not present. I also updated the Master Demo. -
Hey Silver long time no see!
I just downloaded your plugin and everything works fine :)
However, I do have 1 question: Would you be able to add an option in the plugin manager to automatically hide the stamina bar when speaking to someone?
I can use the Stamina ForceHide true everytime I speak to an NPC, but it's not very efficient and it's tedious.
Cheers man,
Yeye on est la -
@HintonR
No problem mate.
@yeye on est la
Mmm as far as I know there is no way to distinguish an NPC from any other event. If there is a way to recognize those events automatically then yes that would be awesome but afaik that's not possible w/o a plugin command or tag.
I could in theory scan the graphic that is being used for the event and have the user add a list of all NPC-graphics in some parameter but mmm... I don't know how to improve on this.