MV An idea for a lockpicking minigame

Hi! I'm working on a game and I thought it'd be fun to give players the ability to lockpick doors if tehy don't want to look for a key for something, as long as they have a lockpick.
The general idea is that the minigame would show up 3 times and if they get everything right all three times, the door will be open, quite simple! If they don't, the lockpick might bend and eventually break.
here's a very simple idea of what I want it to look like
Circle.png

So, let me explain.
The idea is that the player needs to click on the black cicles, but all of them are spinning, so it's more of an 'click the thing at the right time' situation. For harder locks, the circles will spin faster and there will be fewer black circles, so the plugin will need to be somewhat customizeable like that.
If there's any questions, let me know. I know this might be a bit complicated to do 😅
you can event it out as well, as for clicking the black dot would be
a bit trickier, a plugin can be easier as there was one nice looking.

a lockpick system can take a while as there is a lockpick system
with levels to pry open.

it doesn't have the same looks as yours, but mouse related
could be hard, specially if it's 1 image that rotate on a certain speed.

if you event it out, than you need a mouse coordinate + the rotation
angle when to click on it.

if you need to click on the bottom part, from the red arrow, it might
be doable on that check if the X,Y coord of the mouse is correct and
the angle correct, otherwise failed, which can do trick easier if you
want to event it out (depending how many times it is used.
It's a cute idea! I do a lot of lockpicking IRL though so I can confirm that it bears no actual likeness to realistic lockpicking, but as a facsimile for skill? Absolutely lovely idea!
What engine are you using?

I can make plugins myself, but... If you work with MV and if you have the yanfly's YEP_EventClickTrigger, I could try to event this out for you. I can't make any promises but I would love to find out if I can do it*. 🙂 I already have quite an idea on how to do it, and it would look exactly like this too! 🙂

If you do not have the plugin, I might still be able to do it, but then not with move input, but the "wheel" will then be stopped simply by pressing the action button.

(*That is basically how everything I ever made was born: I just want to see if I can do it. Hahaha.)
Hi! I'm working on a game and I thought it'd be fun to give players the ability to lockpick doors if tehy don't want to look for a key for something, as long as they have a lockpick.
The general idea is that the minigame would show up 3 times and if they get everything right all three times, the door will be open, quite simple! If they don't, the lockpick might bend and eventually break.
here's a very simple idea of what I want it to look like
View attachment 214953
So, let me explain.
The idea is that the player needs to click on the black cicles, but all of them are spinning, so it's more of an 'click the thing at the right time' situation. For harder locks, the circles will spin faster and there will be fewer black circles, so the plugin will need to be somewhat customizeable like that.
If there's any questions, let me know. I know this might be a bit complicated to do 😅
This would be fairly easy to event, youd need a timer (variable that counts) and few ifs, then the picture of the ball wich is easily doable or find any black dot with transparency on google.
I got something similar made but for fishing, it would need a bit of tweaking more ifs but its def doable, i can help you out if needed.

Edit: @JohnDoeNews " you were a min faster. 😀 "
Edit: @JohnDoeNews " you were a min faster. 😀 "
Haha. Then I was just in time. I started writing this hours ago, then got distracted by youtube and social media. 😛

I would do it differently than you describe, though. 😛 Maybe we can do a race, see who can make the better system, based on this idea. And then have OP rate our systems on different area's. Like: Looks, usefulness, etc. 😛 Haha. And the winner gets an all inclusive trip to Jamaica. 😛 Haha.

(Oh man, I would try so hard if that was real!) 😛
Haha. Then I was just in time. I started writing this hours ago, then got distracted by youtube and social media. 😛

I would do it differently than you describe, though. 😛 Maybe we can do a race, see who can make the better system, based on this idea. And then have OP rate our systems on different area's. Like: Looks, usefulness, etc. 😛 Haha. And the winner gets an all inclusive trip to Jamaica. 😛 Haha.

(Oh man, I would try so hard if that was real!) 😛
Challenge accepted. 😀
Actually, it's something that can be made with events. You need variables and pictures for this.

You can check the values of variables and pictures to "match" if the player had pressed a button on the right time.
So, done...
Held it pretty simple and did it like explained, i put the orbs in a line but they can be like however you want, in a circle ect... its possible to put as many orbs as you want...
Here a vid:

Sadly, the last one is buggy, i know why (because it adds one or few more frames after the "shift" input and therefore changes the orb, so it happens some times that it lands on green but is too soon, or it lands on red but is ok) so other then visually it works fine tho and im sure i could find a way to fix it but its 3am and im too tired... ^^

Here the downloadlink:
Oh snap! Haha. I have not even started yet. 😛 I wanted to know if the OP uses MV first 😛
You work fast though! Haha.

The challenge was more a joke than real challenge, but I'll see if I can beat you. I won't be able to do it in 2 hours, I'm affraid, though. 😛
Oh my... Okay first of all thanks to everyone for the super fast responses. I wanna clear some stuff since it was asked 😂

- Yes, I use MV~, which is why I cant try @Spaske 's plugin (sorry;;; Thought I had specified that in the og post but;;; 'pparently not)

- English isn't my first language so maybe 'click' wasnt the right word. The idea was that the player would hit space/Z at the right time

- The only reason I didn't wanna use events was becasue it seems like it'd get too messy? I... don't know how to explain it other than it creates too many variables in my brain and also I'm not super good with them yet haha

- And, yea, I'm aware this is nothing like irl lockpicking, I just didn't want to do anything with too many sound cues, but it was an idea for a time. This is just a small minigame and all the more 'realistic' options I thought of weren't fun for me, so going with something simpler
I was asleep as everything was getting discussed, so sorry I couldn't log in earlier!
<<EDIT: So... I notice in the video it sometimes skips a few frames. This is only in the video, not in the actual system.>>

Hey! I made the system as well. I made 8 difficulties, of which the easiest one is shown in this video:


I made a sprite sheet with 8 different wheels, each wheel is more difficult than the last. (Upper left is easiest, lower right is hardest)
No plugins required! All works in a single event.

!Wheel.png
Omg this is amazing!! It's everything I wanted, damn.....
Is there any way I could look into the event/you could guide me though how you bult it? It's okay if not, I can try to figure it out~
Thanks once again!!
Sure! I made 1 event with 10 pages:
Page 1 ~ 8 are for each stage of the wheel.
Page 9 is for when you hit 3 green dots
Page 10 is for when you hit 3 red dots

Here are screenshots of each page:
Spoiler: Screenshots
1643900687911.png
1643900709479.png
1643900726182.png
1643900739926.png
1643900748291.png
1643900757928.png
1643900771770.png
1643900779954.png
1643900798240.png
1643900811498.png

The sprite is set up to go clockwise:
1643901067193.png

But if you want it to go counter clockwise, then you just select the images 8 to 1, instead of 1 to 8.
I changed the color here so you can see clearly which frames belong to which wheel.

The screenshots of the event should explain a lot. Please see if you can what I did. If you still have questions after, then I am happy to answer them. (I think that is easier than explaining everything, since you will probably understand 90% or more just by looking at the events)
Oh my... Okay first of all thanks to everyone for the super fast responses. I wanna clear some stuff since it was asked 😂

- Yes, I use MV~, which is why I cant try @Spaske 's plugin (sorry;;; Thought I had specified that in the og post but;;; 'pparently not)

- English isn't my first language so maybe 'click' wasnt the right word. The idea was that the player would hit space/Z at the right time

- The only reason I didn't wanna use events was becasue it seems like it'd get too messy? I... don't know how to explain it other than it creates too many variables in my brain and also I'm not super good with them yet haha
Actually its fully evented, no scripts used, so its absolutely compatible with MV. 🙂

<<EDIT: So... I notice in the video it sometimes skips a few frames. This is only in the video, not in the actual system.>>

Hey! I made the system as well. I made 8 difficulties, of which the easiest one is shown in this video:


I made a sprite sheet with 8 different wheels, each wheel is more difficult than the last. (Upper left is easiest, lower right is hardest)
No plugins required! All works in a single event.

View attachment 215033

Amazing, love it. 😀
Compact and everything in one event, no common events ect... and the difficulty is changeble just by increasing / decreasing the wait frames, no further variable needed.
I admit defeat, and as such im gonna present you with a foot trip to jamaica and back. 😀


Oh snap! Haha. I have not even started yet. 😛 I wanted to know if the OP uses MV first 😛
You work fast though! Haha.

The challenge was more a joke than real challenge, but I'll see if I can beat you. I won't be able to do it in 2 hours, I'm affraid, though. 😛
Dont worry about it, i never saw this as anything else as a friendly challenge, tbh i was playing with the idea of eventing a lockpicking mehanic so this was a good oportunity but im gonna rework it and steal some ideas from yours to put in my "demo village" 😛 or actually i will put both in, also maybe il try something totally different but it will take a few days, time is a luxury item with 1 kid and 1 baby... >< Anyway, il let you know when its finished so you can try it out.

Thx for this, it was fun... we can do this challenge thing more often. 😀
Amazing, love it. 😀
Compact and everything in one event, no common events ect... and the difficulty is changeble just by increasing / decreasing the wait frames, no further variable needed.
I admit defeat, and as such im gonna present you with a foot trip to jamaica and back. 😀
Oh, I like yours as well! Thanks though.
Changing the wait speed would indeed change the difficulty, besides changing the wheel.

Changing the wait speed can even be linked to a lockpicking skill or even luck.
Lets say we use LUK as our lockpicking skill, then an event might look like this:
1643904643096.png


The higher the luck, the slower the wheel turns. 🙂



Dont worry about it, i never saw this as anything else as a friendly challenge, tbh i was playing with the idea of eventing a lockpicking mehanic so this was a good oportunity but im gonna rework it and steal some ideas from yours to put in my "demo village" 😛 or actually i will put both in, also maybe il try something totally different but it will take a few days, time is a luxury item with 1 kid and 1 baby... >< Anyway, il let you know when its finished so you can try it out.

Thx for this, it was fun... we can do this challenge thing more often. 😀
Haha, me neither. And I was actually often thinking of lock picking ways myself. The idea is 100% by @ScaredPumpkinAri though. I just tried to do exactly what they thought of. My idea's never even made it into a test event, since... Well... In my head I couldn't get passed the lock picking mechanism in skyrim and fallout. (I should really play more different games!)

But thanks for a foot trip to an island. 😛 If that isn't revenge, then nothing is! Hahaha.

Edit: And yes! I'd love to do this kind of challenges more often. Maybe we can do it on a bigger scale, with more devs who enter. This is great practice for everyone, and since we can only win or lose by showing what we did, it is also a good way to teach each other.
I wonder why you dont use 1 image and rotation speed instead which makes
things far easier for a 1-2 pages only 😛 but it looks fun to watch though.
I wonder why you dont use 1 image and rotation speed instead which makes
things far easier for a 1-2 pages only 😛 but it looks fun to watch though.
I can answer that easily: I have no idea how to rotate a sprite. 😛

If you do know how to do that, please teach me. 😉

Edit: Oh you mean, with "show picture" and "Rotate picture"? Way to complicated for my taste. 😛 I like simple and dumb. 😛 Hahaha.
Oh, I like yours as well! Thanks though.
Changing the wait speed would indeed change the difficulty, besides changing the wheel.

Changing the wait speed can even be linked to a lockpicking skill or even luck.
Lets say we use LUK as our lockpicking skill, then an event might look like this:
View attachment 215063

The higher the luck, the slower the wheel turns. 🙂




Haha, me neither. And I was actually often thinking of lock picking ways myself. The idea is 100% by @ScaredPumpkinAri though. I just tried to do exactly what they thought of. My idea's never even made it into a test event, since... Well... In my head I couldn't get passed the lock picking mechanism in skyrim and fallout. (I should really play more different games!)

But thanks for a foot trip to an island. 😛 If that isn't revenge, then nothing is! Hahaha.

Edit: And yes! I'd love to do this kind of challenges more often. Maybe we can do it on a bigger scale, with more devs who enter. This is great practice for everyone, and since we can only win or lose by showing what we did, it is also a good way to teach each other.
Sure, why not, if something comes to mind, let me know. 😀
- The only reason I didn't wanna use events was becasue it seems like it'd get too messy? I... don't know how to explain it other than it creates too many variables in my brain and also I'm not super good with them yet haha

I have a fresh lesson about variables on my project (from signature). I believe it can help you out.

The logic behind a lockping system like you mentioned is not so hard to do with a conditional branch. Let's say that you have 6 spheres rotating and the sphere 0 is the right one to hit.

You can add variables by +1 until it reaches 6, then go back to 0 and start again.

If lockpick < 6 {
lockpick +1
}

And if you hit the button in the right time...

If lockpic == 0 {
open the chest.
}

Original thread: https://forums.rpgmakerweb.com/threads/an-idea-for-a-lockpicking-minigame.144564/