Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Question 2D animation for a turn based battle prototype

Discussion in 'Animation' started by Aomiichii, May 11, 2022.

  1. Aomiichii

    Aomiichii

    Joined:
    Nov 29, 2021
    Posts:
    1
    Hi everyone! I'm trying to make a turned based battle prototype and i don't know the "good practice" for make skills animations.

    For example if the player choose "punch" , i want the sprite player move to enemy , make animation for punch,ennemy sprite make defense animation and take damage, sprite player return to idle position.
    I'm didn't know if the "punch" button need to execute a script and the script activate/deactivate animation or if it's better to execute animation and activate some script during animation?

    I would like to be able to gradually make an interaction between the player sprite and the enemy (like sending him into the air for example)

    I'm sorry for my english , i do my best, i hope it's readable tysm!