I am looking for a plugin where you can drag pictures in the screen, and a conditional branch can be used to check position and collision. This will be for a puzzle mini game. Thank you.
MV Picture Drag + Collision Check
JS Plugin RequestsActually was just starting something for my own use for something like this.
...No collision added yet..
Thoughts so far?
As of right now must keep the origin at "upper-left" though & scale at 100%..
Script Calls:
EnableDragPicture(id)
DisableDragPicture(id)
wow its so nice! yes it works. waiting for the collision check. to make it clear, something with jigsaw puzzles or the security check where you drag the picture into position. or when a broken heart pieces are put together, like that of collision.
oh,i just noticed, the character movement should me disabled when dragging the picture around.
and there's no way to recover the picture when they're dragged out of the screen.
and the clicking drag becomes different when the image is resized, like the coordinates are off
oh,i just noticed, the character movement should me disabled when dragging the picture around.
and there's no way to recover the picture when they're dragged out of the screen.
and the clicking drag becomes different when the image is resized, like the coordinates are off
Thanks for testing 🙂
Still not working with image resizing and collision with other pictures still quite stumped myself honestly on how to do that... could use some help on that part myself.
But well here's another small update of what is done so far...
Dragged picture can no longer go off screen & added a way to disable/enable player movement.
DisablePlayerMovement()
EnablePlayerMovement()
CTB_MouseEx: Click Here to Download
Still lots of work to go and really if anyone can help or even make a totally different plugin I would also love to check it out.
Sadly the part about collision of the pictures really does have me stumped how to do it.
maybe you could check the thread here it has two scripts for picture collision something?
i also found another plugin by biud436 RS Picture Tool
JavaScript:
=============================================================================
* Script Calls
* =============================================================================
*
* This command will run some event when it collides with certain picture:
*
* RS.PictureTool.runEventCollideWithPicture(picId, eventId);
*
* This command will run the common event when it collides with a picId picture:
*
* RS.PictureTool.runCommonEventCollideWithPicture(picId, eventId, commonEventId);
*
* This command will run a certain event when the picture collides with a game player:
*
* RS.PictureTool.runEventCollideWithPlayer(picId, eventId);
*
* This command will run a certain common event when the picture collides with a game player:
*
* RS.PictureTool.runCommonEventCollideWithPlayer(picId, eventId, commonEventId);
okay i found another plugin here it uses i think area pixel coords?
Original thread: https://forums.rpgmakerweb.com/threads/picture-drag-collision-check.141811/