Play an animation on the map with mouse click?

NinjaKittyProductions

Professional Murder Hobos
Veteran
Joined
Jul 9, 2013
Messages
484
Reaction score
467
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,895
Reaction score
1,029
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
484
Reaction score
467
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,895
Reaction score
1,029
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

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,864
Messages
1,017,056
Members
137,573
Latest member
nikisknight
Top