Make animation start at player and end at opponent (Throwing a rock)

Status
Not open for further replies.

BurningOrca

Veteran
Veteran
Joined
Apr 14, 2019
Messages
214
Reaction score
187
First Language
German
Primarily Uses
RMMV
I want to create a skill where the user just throws a rock on to the opponent.

For this I have set the Bare Hans animation to "Missile"
1584261187681.png

I've also created an animation, that currently has the following json format:
{"id":121,"animation1Hue":0,"animation1Name":"Earth1","animation2Hue":345,"animation2Name":"","frames":[[[7,408,-23.5,100,0,0,255,0]],[[7,362.5,-43,100,0,0,255,0]],[[7,310,-62.5,100,0,0,255,0]],[[7,259.5,-72,100,0,0,255,0]],[[7,207,-76.5,100,0,0,255,0]],[[7,157,-78.5,100,0,0,255,0]],[[7,102,-68,100,0,0,255,0]],[[7,57.5,-53.5,100,0,0,255,0]],[[7,27,-23,100,0,0,255,0]],[[19,2,5,150,0,0,255,0]],[[19,2,5,150,0,0,255,0]],[[20,0,14,135,0,0,255,1]],[[20,0,14,135,0,0,255,1]]],"name":"Throw stone","position":1,"timings":[{"flashColor":[255,255,255,255],"flashDuration":5,"flashScope":0,"frame":9,"se":{"name":"Blow5","pan":0,"pitch":70,"volume":65}}]}

So far it looks really good. My only concern is that, as it is throwing a rock I want it to start at the user and end at opponent, but instead it starts at the center of the battle screen. This might come, because I chose a resolution of 1280 x 720.
At the default of 816 x 624 it starts nearer to user, but still at the place where I have set it up to start in the database.
Unbenannt.PNG

Is it possible to make a throwing a rock animation that starts at the user and ends at the enemy?
If not I have to live with it.
If this requires a plugin then please move it to the Plugin Request forum, except if it can be done using Yanfly Action Sequence Packs, then please move it to the plugin support forum or wherever it belongs to.
 

CoryH

Veteran
Veteran
Joined
Aug 25, 2018
Messages
122
Reaction score
98
First Language
English
Primarily Uses
RMMV
There is a plug in called battleobjects for YEP that adds some functions like what you want through action sequences. Here's the Github I found when I googled it. https://github.com/kenzakis2/RMP_kenzaki
 

BurningOrca

Veteran
Veteran
Joined
Apr 14, 2019
Messages
214
Reaction score
187
First Language
German
Primarily Uses
RMMV
Thank you. This would actually work, but I would have to do some math to calculate a proper trajectory for the rock.
I guess in this case I rather stick to the animation. In doesn't look so bad, just not natural. But for the future this might still come in handy.
If google translator translates the japanese correctly into english it states that this plugin can be used without any restriction. Is this correct?
 

CoryH

Veteran
Veteran
Joined
Aug 25, 2018
Messages
122
Reaction score
98
First Language
English
Primarily Uses
RMMV
As far as I can tell, I'm translating through google as well.
 

BurningOrca

Veteran
Veteran
Joined
Apr 14, 2019
Messages
214
Reaction score
187
First Language
German
Primarily Uses
RMMV
Thanks I will use the plugin from Kenzaki.
 

LVGames

Welcome to Sword Swinging Super Slashers®
Veteran
Joined
Feb 26, 2020
Messages
105
Reaction score
239
First Language
English
Primarily Uses
RMMV
You can do it the way I do it. I have a animation start at the player and end at the target enemy. If you want to see my rock throw let me know I have a gif of it.
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,354
Reaction score
8,533
First Language
English
Primarily Uses
RMMV

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
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.

Forum statistics

Threads
105,868
Messages
1,017,085
Members
137,584
Latest member
Faustus2501
Top