- Joined
- Sep 15, 2012
- Messages
- 102
- Reaction score
- 60
- First Language
- Portuguese
I realised now that RPG Maker MV doesn't have dispose methods. What's the cleanest way to dispose a sprite in RPG Maker MV, for good practice plugin creation?
)
does:
this._mysprite.bitmap = null;this._mysprite = null;do the trick? do I need both or only the second one?
Thank you for your time.
EDIT: I found a post on this!! So... I think I got my answer.. thought if I can I would like to ask something else, how do I know if the contents of a given window is bigger than the window size?! On older RPG Makers the contents.bitmap ... would be the size of all the contents and would use a viewport and offset to show only part of it... right now... I've been looking at the code and I think MV handles it differently. that being how can I know if it contents height are bigger that the window?
does:
this._mysprite.bitmap = null;this._mysprite = null;do the trick? do I need both or only the second one?
Thank you for your time.
EDIT: I found a post on this!! So... I think I got my answer.. thought if I can I would like to ask something else, how do I know if the contents of a given window is bigger than the window size?! On older RPG Makers the contents.bitmap ... would be the size of all the contents and would use a viewport and offset to show only part of it... right now... I've been looking at the code and I think MV handles it differently. that being how can I know if it contents height are bigger that the window?
Last edited by a moderator:
