Can someone show me how can make this in code because i also want to upgrade the swing speed, maybe how the architecture of the Nodes too, I’ve been trying to do this for days but it keeps spinning in circle, not swinging up and down like this
In a 2D game, there are only the X and Y axes, with no Z axis. Perhaps using more sprite images would be a better choice.
1 Like
Could you post the code you have?
1 Like
You can change the playback speed to 0.5x and look closely that the red sword is rotating in circle(?), the “swing” is a separate node with sprite and collision, probably spawns when sword animation starts
1 Like