public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

MV How to keep image from script call fixed, and how to find part of the event?

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: MV How to keep image from script call fixed, and how to find part of the event?
  • Original author: ElvenNeko
  • Original date: March 22, 2025
  • Source thread: https://forums.rpgmakerweb.com/threads/how-to-keep-image-from-script-call-fixed-and-how-to-find-part-of-the-event.176471/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Javascript/Plugin Support

Summary

Figured that i should rather start a new post with a new problem. First problem: I am using bullet plugin (https://qiujiu.itch.io/qj-bullet-plugin), and during certain event it calls the HP bar that is stored as a picture in img\bullets folder. The code that summons picture in event looks like this:

Archived First Post

Figured that i should rather start a new post with a new problem.

First problem:

I am using bullet plugin (https://qiujiu.itch.io/qj-bullet-plugin), and during certain event it calls the HP bar that is stored as a picture in img\bullets folder.
The code that summons picture in event looks like this:
1742653635158.png
The problem is that there is also a code that updates the picture, lowering hp bar when event takes damage. And if the player character moves, the hp bar moves to a new location when updating. And i don't want that, it looks bad and covers enemies.
This is the code for picture update.
1742653673648.png
I tried to solve that with another plugin - TTK fix picture (https://forums.rpgmakerweb.com/index.php?threads/fix-picture.50594/)

It should fix all pictures that have FIX as prefix in their name. But it does not work. I assume there might be 2 possible reasons:

1) it only fixes pictures from the pictures folder, and unable to work with bullets folder.

However, in the original post where i tried to solve different issue first (https://forums.rpgmakerweb.com/inde...to-the-conflict-of-using.176437/#post-1505791) and the ShadowDragon suggested a code that would replace folder images are taken from. It did not work - so either this is not the source of the problem, or maybe it's one of two sources.

2) Perhaps, it only fixes pictures after event gives them coordinates to be fixed to, and it does not work when coordinates given via script call? I don't know how to test that.

There is also a second problem - the event also creates text "Wave" with changing number of waves. I HAVE NO IDEA HOW ITS BEING DONE! This is the code for it -
1742656369968.png

It seems like it calls the image called Wave but THERE ARE NO SUCH IMAGE in any folder of the game!

But that image is also shifting along with the camera, appearing in new places when updated just like the hp bar.
I tried to change both parameters called "wave". Chanding top one makes it so previous instances of the image is not deleted when new ones appear, so you soon will have waves all over the screen. Changing bottom ones does nothing at all.


I also have another theoretical solution but don't know how to implement it.
Because you know what does not shift? The hp outline.
It's code looks like this -
1742655625877.png

And it's always stays in place. It does not even require plugin to stay fixed! Why? I have no idea. The code for appearance is exactly identical to the appearance code of the hp bar. Maybe it has some secret way to be fixed? Or it is not moving because unlike hp bar and wave message the outline is not updated? That is most likely the case, and in that case it is not a solution.

I have no idea why simply keeping two images in place are so damn complicated, and this is why i hate dealing with tech stuff. In writing i can solve any problem, but here i just don't know what to do, every path seems to be a dead end. Maybe someone else has any idea?

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#rpg-maker-archive#js-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar