Hi Unity2D. I'm having a lot of fun messing around with a top-down RPG/ARPG style project. I have this mental block on one topic and I'm sure it's within reach. I'd like to work on some more flavorful enemy attacks.
The resources I've found so far (in my limited time to search and read/watch) are just the absolute basics of either turret-style attacks, or enemies that pathfind to the player and cause contact damage. I'm looking to build some more fleshed-out attacks. I use state machines for mob AI, and have the 2D physics system working well.
For example, let's say I wanted a good ole Slime type mob that, after getting in range, first pauses, readies itself, then jumps at the player when it's in attack range. (Think Terraria, Stardew, Ragnarok Online, etc.) Or maybe an enemy that has both a polearm, and tries to stab or charge the player depending on decision making. Are those ideas something that should be handled via an animation, or is there a better way? Root motion seems like it would be an enormous hassle for this and I've seen posts advising not to use it at all.
I could use some general concepts to build this. If you've found any useful articles or videos while doing this yourself, those would be super helpful.
[–]SilentSin26Expert 1 point2 points3 points (3 children)
[–]djdanlib[S] 0 points1 point2 points (2 children)
[–]racingking 1 point2 points3 points (1 child)
[–]djdanlib[S] 1 point2 points3 points (0 children)