Button mashing event help

Kurtkakes

Veteran
Veteran
Joined
Nov 25, 2020
Messages
46
Reaction score
8
First Language
Arabic
Primarily Uses
RMMV
hello! I would like some help with this, this is what i need to do but i cant figure out how to do it
this is my second time asking, sorry

a player walks to a tile and triggers a event, a image is shown on the screen (for an example a close up of the player getting attacked by someone, that is what the image is showing) and the player has to mash a button (space) in a certain amount of time to struggle free, and a indicator in the upper corner of the screen shows if the button is being pressed or not (lets say for example a red circle for not pressed and a green circle if it is pressed), can anyone help me with this?

I am a beginner so I would like simple explanation, thank you
 

Pelek

Veteran
Veteran
Joined
Dec 10, 2018
Messages
35
Reaction score
3
First Language
english
Primarily Uses
RMVXA
So I can't do much about having the character be attacked but I assume you could make an event trigger by Player touch and then create a sprite for the attacker to move toward the player or something but I CAN help with the button mashing part. SO, here is a very rudimentary way of doing this... I'm sure there is a better way to do this but this should do the trick! I'll also upload a demo for you to download so you can take a look at the events :) one event is to trigger the button mashing and another to actually do the button mashing, If you need anymore help just ask!! :D
 

Attachments

  • Screenshot (59).png
    Screenshot (59).png
    423.9 KB · Views: 13
  • Screenshot (58).png
    Screenshot (58).png
    446.6 KB · Views: 13

Pelek

Veteran
Veteran
Joined
Dec 10, 2018
Messages
35
Reaction score
3
First Language
english
Primarily Uses
RMVXA
So I can't do much about having the character be attacked but I assume you could make an event trigger by Player touch and then create a sprite for the attacker to move toward the player or something but I CAN help with the button mashing part. SO, here is a very rudimentary way of doing this... I'm sure there is a better way to do this but this should do the trick! I'll also upload a demo for you to download so you can take a look at the events :) one event is to trigger the button mashing and another to actually do the button mashing, If you need anymore help just ask!! :D

Uploading demo now
 
Last edited:

Kurtkakes

Veteran
Veteran
Joined
Nov 25, 2020
Messages
46
Reaction score
8
First Language
Arabic
Primarily Uses
RMMV
thank you so so much for at least helping me for one part, ill defenetly look into the project and figure out how it will work, thank you!
 

Pelek

Veteran
Veteran
Joined
Dec 10, 2018
Messages
35
Reaction score
3
First Language
english
Primarily Uses
RMVXA
thank you so so much for at least helping me for one part, ill defenetly look into the project and figure out how it will work, thank you!
Here is the demo good luck!! :D

 

Kurtkakes

Veteran
Veteran
Joined
Nov 25, 2020
Messages
46
Reaction score
8
First Language
Arabic
Primarily Uses
RMMV
ive tested it, it works, yes but the problem is that theres no time limit, thank you though, i hope others also try to help me :cutesmile:
 

Pelek

Veteran
Veteran
Joined
Dec 10, 2018
Messages
35
Reaction score
3
First Language
english
Primarily Uses
RMVXA
ive tested it, it works, yes but the problem is that theres no time limit, thank you though, i hope others also try to help me :cutesmile:
This might be what you're looking for then
 

Kurtkakes

Veteran
Veteran
Joined
Nov 25, 2020
Messages
46
Reaction score
8
First Language
Arabic
Primarily Uses
RMMV
Ive been to that thread before, its not what im looking for, but thank you anyways
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,837
Reaction score
7,897
First Language
German
Primarily Uses
RMMV
If you rely on someone else solution, then there will always be differences - simply because different developers have different ideas.

If you want something exactly to specifications (especially if you didn't give full specifications in your original description), then you either have to build something on your own or pay someone to build it for you.

Building or modifying something on your own will require you to know the basics of programming and logic sequences - something that can't be taught by an easy example.

If you want someone else to do this for you, you need to give the full specifications out - your description in the first post is not enough for that, which is why you got suggestions that are not exactly what you want.

So I suggest you tell us which way you want to handle this - we can help in both cases, but it will need more than just pointing you to a topic, and it will take more time from you (especially learning how to build something like this on your own will take weeks, but will enable you to make other things as well).
 

Pelek

Veteran
Veteran
Joined
Dec 10, 2018
Messages
35
Reaction score
3
First Language
english
Primarily Uses
RMVXA
Ive been to that thread before, its not what im looking for, but thank you anyways
Well sorry I couldn't help you but good luck with your project!! :)
Keep messing around with it and I'm sure you'll figure it out!
Like Andar said sometimes it's hard to fully understand exactly what someone has in mind with such a brief description.
 

Kurtkakes

Veteran
Veteran
Joined
Nov 25, 2020
Messages
46
Reaction score
8
First Language
Arabic
Primarily Uses
RMMV
If you rely on someone else solution, then there will always be differences - simply because different developers have different ideas.

If you want something exactly to specifications (especially if you didn't give full specifications in your original description), then you either have to build something on your own or pay someone to build it for you.

Building or modifying something on your own will require you to know the basics of programming and logic sequences - something that can't be taught by an easy example.

If you want someone else to do this for you, you need to give the full specifications out - your description in the first post is not enough for that, which is why you got suggestions that are not exactly what you want.

So I suggest you tell us which way you want to handle this - we can help in both cases, but it will need more than just pointing you to a topic, and it will take more time from you (especially learning how to build something like this on your own will take weeks, but will enable you to make other things as well).
Well sorry I couldn't help you but good luck with your project!! :)
Keep messing around with it and I'm sure you'll figure it out!
Like Andar said sometimes it's hard to fully understand exactly what someone has in mind with such a brief description.
thank you both so much, i understand !
 

Latest Threads

Latest Posts

Latest Profile Posts

Chilling out while toodling around someone's painstaking Minecraft recreation of Disneyland. It is mind-boggling and probably as close as I'll ever be to going.
>Testing with fonts change.
>Tries installing a plugin. Doesn't work.
>Tries changing the plugin commands. Doesn't work.
>Tries installing another plugin. Doesn't work.
>Changes a few more plugin commands. Doesn't work.
>Goes directly to the gamefont file and changes the src. Works.

YYEEEAAAAHHHAAAA

Perseverance is key, bois and girls.
What Reviews say on RPG Maker MZ?
Looking back at some sketches, and game design documents on my PC dated summer of 2015. I started development with the release of MZ, but in 2015, I felt a strong desire to make a game out of the blue. I remember feeling sad for no apparent reason, and all these ideas rushed into my head. Now that I think about it, since that day, everything has become easier to do on my PC . . . it’s very creepy.
Everything's going to be alright! We're all in this together. <3

Forum statistics

Threads
107,807
Messages
1,032,351
Members
139,952
Latest member
4kWave
Top