Play an animation on the map with mouse click?

NinjaKittyProductions

Professional Murder Hobos
Veteran
Joined
Jul 9, 2013
Messages
446
Reaction score
418
First Language
English
Primarily Uses
RMMV
Hello gamers and developers!

I have run into a little snag with a mini-game that I am currently concocting. More details on that later.

I was wondering if I would need a plugin or if it is possible to be able to play an animation... let's say Fire One 2... when I click with the left mouse button. It doesn't have to interact with anything. I just need it to play an animation where I left click on the map. I was able to find the x and y coords for where the mouse is but the "Show Animation" option only lets you pick from "Player" or "Event".
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,167
Reaction score
711
First Language
Dutch
Primarily Uses
RMMV
when variable mouse Y and X, than make sure the animation is also between the screen or area to get the animation done.
eventing it would be possible, but make sure its on a parallel process.

I cant tell what exacly the order should be to get it done though at this point. but there is a little scriptcall that also get the coordinates
of the mouse (which I need to grab), but Im not sure if that would help on playing the animation.
 

NinjaKittyProductions

Professional Murder Hobos
Veteran
Joined
Jul 9, 2013
Messages
446
Reaction score
418
First Language
English
Primarily Uses
RMMV
TouchInput._x and TouchInput._y allow events and common events find my mouse. I just cannot get an animation to play on the map where I click with the mouse. i know it should be something easy but for some reason I think I'm just overlooking it.
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,167
Reaction score
711
First Language
Dutch
Primarily Uses
RMMV
I mean more around this:

variable #0001 = TouchInput._x
variable #0002 = TouchInput._y
If TouchInput.isPressed() = 2
show animation (any)
END

or use an ELSE handler, but I dont know what exacly you want to do with the game event though.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

When you discover great tileset resources that you completely forgot that you had. :kaomad3::kaopride:
Just got a better look at the MZ RTP. I'm very happy with it, especially the sci-fi tiles and sprites. Glad I pre-ordered.
I've just checked the VisuStella Plugins for MZ and there are already 11 plugins. The Yanfly team(perhaps a big one?) really works so effectively and efficiently that some MZ users can likely use tons of Yanfly plugins right after MZ's released (still 13 days from now). I wonder if any other plugin developer(or team) will try to compete with Yanfly this time, no matter how slim the chance to win is :)
Hello! :kaopride:I am new to RPG Maker, though I have been lurking the forums for a while. :kaoswt: Hope to make some friends and learn some stuff here! :kaothx:
And now since I've got the whole game parts working, the *contents* await.

Forum statistics

Threads
100,595
Messages
977,586
Members
132,194
Latest member
linkvaovn88com
Top