AfroditeOhki

Regular
Regular
Joined
Oct 3, 2019
Messages
106
Reaction score
109
First Language
Portuguese
Primarily Uses
RMMV
Whoa really? I didn't think something like that would be that heavy! My computer is a pretty beast, considering its age. Oy. I'd never have guessed something like this (but then again, I still can't believe I even evented that menu at all, I'm lousy at attempting any programming!)

Again, for the millionth time, thank you so much! I tested it here and it works well. (Now I'm wondering if this menu will work at all on slower computers...)
 

PresaDePrata

Regular
Regular
Joined
Dec 4, 2014
Messages
90
Reaction score
18
First Language
Portuguese
Primarily Uses
RMMV
Just tried it, this is really a great job and a big time-saver.

I got a little bug, however. After you a place a doodad if you press CTRL+Z, it gives this error:kaelanVisualDoodadError01.png

It doesn't happens to all doodads. Floor doodads worked fine with CTRL+Z.

This was done using your master demo.
 
Last edited:

Feraleth

Regular
Regular
Joined
Jun 19, 2019
Messages
56
Reaction score
11
First Language
German
Primarily Uses
RMMV
Just tried it, this is really a great job and a big time-saver.

I got a little bug, however. After you a place a doodad if you press CTRL+Z, it gives this error:View attachment 144205

It doesn't happens to all doodads. Floor doodads worked fine with CTRL+Z.

This was done using your master demo.

confirm
 

AfroditeOhki

Regular
Regular
Joined
Oct 3, 2019
Messages
106
Reaction score
109
First Language
Portuguese
Primarily Uses
RMMV
Same happens here.

I also get doodads disappearing a lot of the times that I try to move them with arrow keys.
 

Kaelan

Regular
Regular
Joined
May 14, 2012
Messages
811
Reaction score
570
First Language
Portuguese
Primarily Uses
RMMV
@PresaDePrata I fixed the issues with Undo, it should no longer give an error if you try to Undo while placing a doodad.

I also went ahead and changed a bit about how it works. It can now Undo an unlimited amount of changes rather than just one. The Undo queue will reset if you go to a different scene (open a menu, transfer to a different map, etc).

@AfroditeOhki I haven't been able to reproduce that bug using the demo project. When does it happen? Is it any time you use the arrow keys or only in some specific situation?
 

AfroditeOhki

Regular
Regular
Joined
Oct 3, 2019
Messages
106
Reaction score
109
First Language
Portuguese
Primarily Uses
RMMV
@AfroditeOhki I haven't been able to reproduce that bug using the demo project. When does it happen? Is it any time you use the arrow keys or only in some specific situation?

I'll try with the new version first and see if it's still happening! Might be some incompatibility with another plugin though, I'm using a huge lot of them. I'll check tomorrow and let you know :)
 

AfroditeOhki

Regular
Regular
Joined
Oct 3, 2019
Messages
106
Reaction score
109
First Language
Portuguese
Primarily Uses
RMMV
Ok tested - I don't know if it's incompatibility with another plugin, but in my game with all the plugins:
-Arrow key placement works correctly when it's a doodad immediately from the doodad list, not placed yet.
-With a doodad that's already placed (clicked on screen), either in this session of the editor or previously saved on the map, when I press an arrow key the doodad disappears. Not sure if it's deleting the doodad (I don't think so, as it remains selected in the Visual Doodads menu), but it's not visible at all anymore.
 

Kaelan

Regular
Regular
Joined
May 14, 2012
Messages
811
Reaction score
570
First Language
Portuguese
Primarily Uses
RMMV
There isn't anything left add really, the plugin does all it needs to do. Aside from the issue Afrodite mentioned - which I suspect is a plugin compatibility issue as I haven't been able to reproduce it - I don't know of any other problems with it, so I consider it done now.

If any major issues pop up, I'll revisit this to fix them. Other than that, the plugin is complete now.
 

DarkSearinox92

Regular
Regular
Joined
Jan 8, 2013
Messages
594
Reaction score
124
First Language
Italian
Primarily Uses
There isn't anything left add really, the plugin does all it needs to do. Aside from the issue Afrodite mentioned - which I suspect is a plugin compatibility issue as I haven't been able to reproduce it - I don't know of any other problems with it, so I consider it done now.

If any major issues pop up, I'll revisit this to fix them. Other than that, the plugin is complete now.


I just wanted to know if you were available for any improvements. I noticed that a really inconvenient thing, is to enable doodads through a switch, if this switch turns out to be of a very high number. It's the same problem with the vanilla menu as well. If I have to activate a doodads via switch and I have to select it, I do not have the possibility to "write" the number in the box, so that a search is carried out and you will immediately find the switch number you need.

In the vanilla menu you have to scroll like crazy with the arrow or the mouse wheel, until you reach the desired number. The same thing happens in your script too, only you have to use the mouse wheel.

Do you think it is possible to add a search function to the box, so that if you type, for example, 1501, switch 1501 comes out immediately and you don't have to search for it by hand?

In the long run, continuing to insert doodads with high-numbered switches wastes a lot, a lot of time
 

Kaelan

Regular
Regular
Joined
May 14, 2012
Messages
811
Reaction score
570
First Language
Portuguese
Primarily Uses
RMMV
Oh, hmm you're right. I don't use a lot of switches, so I never noticed that. That's a good suggestion. I'll see what I can do to make that a bit easier to deal with.
 

AfroditeOhki

Regular
Regular
Joined
Oct 3, 2019
Messages
106
Reaction score
109
First Language
Portuguese
Primarily Uses
RMMV
Aside from the issue Afrodite mentioned - which I suspect is a plugin compatibility issue as I haven't been able to reproduce it -
MOG's Chrono Engine, btw. I ended up testing - and ended up switching the entire thing off cause I don't really need it for my game right now. But I suspect it might be something to do with the way it changes the game controls.
 

41728280

Regular
Regular
Joined
May 31, 2020
Messages
240
Reaction score
74
First Language
Chinese
Primarily Uses
RMMV
Hi Kaelan! This plugin is really awesome.
I am using Ultra Mode 7. Doodads may be an indispensable plug-in for Ultra Mode 7. Can you add compatibility to Ultra Mode 7?
This is an error screenshot, because I used DragonBones at the same time. I originally thought that DragonBones conflicted with your plug-in, but when I closed DragonBones, the Editor still has no display and placement of Doodads.
If you close the Editor, Ultra Mode 7 and DragonBones work normally.
Turn off Ultra Mode 7, Editor and DragonBones also work normally.
I think maybe it is because the Editor conflicts with Ultra Mode 7?
QQ截图20200905032230.png
 

Kaelan

Regular
Regular
Joined
May 14, 2012
Messages
811
Reaction score
570
First Language
Portuguese
Primarily Uses
RMMV
Updated the plugin to v1.20. Download is in the same place as always. Changes:
  • Fixed the bug @AfroditeOhki found
    • It was actually not a compatibility issue, it just doesn't show up on smaller maps, so it couldn't happen on the Demo project. I ended up finding it when testing the editor on my main game project.
    • Arrow Keys should work correctly now. Let me know if this solves the issues with Mog's plugin.
  • Fixed a crash when using Undo causes the currently selected Doodad to be deleted.
  • Added compatibility for Ultra Mode 7 and DragonBones as requested by @41728280
    • The crash above was actually not a bug in my code, it was two bugs: one in UltraMode7 and another in the DragonBones code. I fixed both of them via a patch, but since I'm altering their code, you have to load my plugin after both of them for it to work.
    • Even though I fixed this on my end, it might be worth mentioning to the UltraMode7 author, as he'd probably want to make the fix on his end as well: using DragonBones with UltraMode7 breaks the color blending on sprites (i.e.: when you scroll the screen, sprites no longer turn white). This is because DragonBones overwrites Sprite_Base.prototype.setBlendColor. That's the function you see crashing in the screenshot above.
Still working on the suggestion from @DarkSearinox92 . It should be in on the next version.
 
Last edited:

AfroditeOhki

Regular
Regular
Joined
Oct 3, 2019
Messages
106
Reaction score
109
First Language
Portuguese
Primarily Uses
RMMV
  • Fixed the bug @AfroditeOhki found
    • It was actually not a compatibility issue, it just doesn't show up on smaller maps, so it couldn't happen on the Demo project. I ended up finding it when testing the editor on my main game project.
    • Arrow Keys should work correctly now. Let me know if this solves the issues with Mog's plugin.

You awesome person you. I hadn't noticed this was happening only in my full city map - I probably tested it inside one of the houses when I thought it was a compatibility issue. Yeah, it's now working with and without Mog's Chrono Engine.

Thank you so much for fixing the thing! :ptea:
 
Last edited:

41728280

Regular
Regular
Joined
May 31, 2020
Messages
240
Reaction score
74
First Language
Chinese
Primarily Uses
RMMV
  • The crash above was actually not a bug in my code, it was two bugs: one in UltraMode7 and another in the DragonBones code. I fixed both of them via a patch, but since I'm altering their code, you have to load my plugin after both of them for it to work.
  • Even though I fixed this on my end, it might be worth mentioning to the UltraMode7 author, as he'd probably want to make the fix on his end as well: using DragonBones with UltraMode7 breaks the color blending on sprites (i.e.: when you scroll the screen, sprites no longer turn white). This is because DragonBones overwrites Sprite_Base.prototype.setBlendColor. That's the function you see crashing in the screenshot above.
Hi! Kaelan!
Thank you very much for adding compatibility. Being able to use KE is really great!:LZSblush:
I don't know what is the bug between UM7 and DB, I just use them together, and there is no error, maybe I didn't find it! Maybe not many people use DB, so this fix may not be important, but @bblizzard informed him, it is always a good idea!
In addition, I have a question. Does KE have any functions that affect the UI of the battle?? I use the Side_Battle_Status_UI. After enabling KE, the battle status UI no longer displays....

1.png2.png
 

Kaelan

Regular
Regular
Joined
May 14, 2012
Messages
811
Reaction score
570
First Language
Portuguese
Primarily Uses
RMMV
I don't know what is the bug between UM7 and DB, I just use them together, and there is no error, maybe I didn't find it! Maybe not many people use DB, so this fix may not be important, but @bblizzard informed him, it is always a good idea!

Oh, sorry, I guess I should clarify. It only crashed when you use all three plugins together. I fixed both the crash and the visual issue with the patch above, so you'll no longer see any problems when my plugin is loaded along the other two.

However, if you only have DB + UM7 loaded with mine turned off, you won't see any error, but you'll still get the visual bug cause by the issue between them. You get something like this:

DBBug1.jpg

DBBug2.jpg

Not sure what's causing your battle UI to disappear, my plugin doesn't change almost anything in the default UI - all of the windows in the editor are my own window classes, to avoid conflicts with anything RM does normally. There's only one small change in the base Window, but that shouldn't cause any issues normally.

Have you tried changing whether you load the editor before or after that battle plugin?

If that doesn't work, can you send me a demo of it, so I can see what's happening?
 
Last edited:

41728280

Regular
Regular
Joined
May 31, 2020
Messages
240
Reaction score
74
First Language
Chinese
Primarily Uses
RMMV
Wow, you are so careful, I never even noticed the change in the horizon!:LZSbleh:
I have sent the DEMO to you via PM.
In addition, is it possible to optimize performance. If there are many characters on the map, FPS will drop a lot after KE is turned on. You can check it in DEMO.
 

Kaelan

Regular
Regular
Joined
May 14, 2012
Messages
811
Reaction score
570
First Language
Portuguese
Primarily Uses
RMMV
Updated the plugin, the UI issue should be fixed. There was a small conflict in how that battle status plugin was handling UI logic, it makes some different assumptions about default values than the normal RM UI. I just moved all my window initialization code to a different place, so it can't be called by the default windows anymore.

For the performance thing, that's not directly my plugin, that happens when the sprite color blending function I mentioned above gets called for a lot of sprites every frame. It's just inherently a slow thing to do.

The reason you don't see the performance issue with my plugin turned off is because of what I mentioned above. Without the patch I wrote above, DragonBones breaks the default sprite blending, so it never happens, which has the side-effect of making things run faster. Code that does stuff is slower than code that doesn't do anything :p

To fix the problem, you can either use fewer sprites, or (if you need a lot of sprites) disable the sprite blending entirely by commenting out or removing line 5652 at the very bottom of the plugin:
Code:
Sprite.prototype.setBlendColor.call(this, color);

If you decide to do the latter, it's probably a good idea to suggest toggling that as a feature in the Ultra Mode 7 plugin. From what I can tell, he's only setting Sprite blend color in a few places, so it shouldn't be too much work to add in a plugin parameter that decides whether it should happen or not.
 

41728280

Regular
Regular
Joined
May 31, 2020
Messages
240
Reaction score
74
First Language
Chinese
Primarily Uses
RMMV
Thank you very much for your detailed answer, the problem is solved!:LZSproud:
I use a lot of event sprites because the placement of Doodads in the past was very cumbersome, and it was also difficult to align the grid in UM7.
And I use OrangeMapshot to make real-life minimaps. But the screenshot will not show Doodads.
Or I can try to use a small map automatically generated based on collisions.
And now with KE, placing Doodads is very easy. Great progress
Thanks again for your excellent plugin! :kaojoy:
 

Latest Threads

Latest Posts

Latest Profile Posts

AAAGH... I hate navigating the new RPG Maker website!
Forgive my rudimentary video editing skills, thought I'd start sharing progress on my status posts as well. Here's the second character of my roster, Mǽlhafoc, the Ælven ranger.

And if you missed the first one many moons ago, here's Vilhelm, the tarnished knight.
Knocked through three more rough draft sprites. (A frog beast thing, a skeleton, and vampire bat) down to seven sprites and a thing more appropriately done as tiles.
Cutscenes remaining are officially in the single digits! Woohoo!

Forum statistics

Threads
135,012
Messages
1,252,898
Members
177,926
Latest member
HotEarlGrey
Top