[Vx Ace] Calling a battle animation at screen_x, screen_y

Hello everyone

So I'm making my own battle system and am at that point where most of it is pretty functional but I want to make it look prettier by adding battle animations to my fights.

I want to show a battle animation at a picture location or somewhere on the screen using x and y. I know battle animations can be showed on events but I am afraid it will be a bit clunky and I'd prefer a script command if that's at all feasible. Another reason why I don't want to use events is because I'm making a First Person Dungeon Crawler and having events on standby on each map is a bit of a pain.

I can access the animation attached to a skill but I really don't know how to play it at a pixel location.

Thank you for reading
:rheh:
The fundamental part would be the same. Using an event is the easiest way because the character sprite could handle the animation. If you do not wish to use the character sprite to contain animation, then you would start to need a separate sprite to handle the animation.

It can be easy or hard depending on how much do you know about RGSS3.
For starters, you can try to add a sprite using Sprite_Base.new in Spriteset_Map.
This sprite will handle the animation for you. Don't forget to update the sprite as well as disposes of the sprite on scene change.

Then look for a way to pass the animation request to the sprite (animation id, screen x, screen y). The easiest way would be using Game_Temp to store the request then fetch it by the sprite. Then move the sprite according to the screen x and y, then call start_animation.
The thing is I'm not using any sprites (unless a picture counts as a sprite) and I am not using the base RPG Maker view nor map.
For reference this is what it looks like for now:
screenshot.png


I'll have a look at what you suggested and come back to you if I have more questions.
The thing is I'm not using any sprites (unless a picture counts as a sprite)
The picture counts as a sprite. It is a sprite object, I'm not referencing a style of the resource.
This means, making an empty event generate an empty sprite in the program. This could handle the animation.

And such, I can conclude that you don't have much knowledge of RGSS. So tell me since you're putting this thread in learning RGSSx, do you wish to create your own script or are you actually requesting a script to do this?
I don't know much about RGSS but I have used other object oriented languages so I plan on making it by myself. I'm not sure I would call it a script though, I made everything so far using common events (especially the script function) and some fiddling.
I already made a decent chunk of the battle system by myself so I'm sure I can handle this too. I think I found a way to handle it through your hints. Thanks.
I managed to make it work! Thanks for your help TheoAllen

Original thread: https://forums.rpgmakerweb.com/threads/vx-ace-calling-a-battle-animation-at-screen_x-screen_y.133657/