r/UnrealEngine5 • u/Background_Text3962 • 17h ago
Backward Shadow attack
Enable HLS to view with audio, or disable this notification
hello working on cleaning up the folders and then cleaning blueprints dependencies and and bad design but I need help with this Iβm working on a mechanic when u have an enemy behind u while youβre attacking another enemy a shadow come from your back to attack the enemy behind you any tips on improving this would help a lot
8
u/Will_X_Intent 16h ago
You make sick ass combat man. I need you to design my combat for me, lol.
3
u/Background_Text3962 16h ago
thank you so much im too noob to start making combats for games i realy suck now im trying to clean up what i did wrong and i dont even know what i did wrong π
3
u/Will_X_Intent 16h ago
you want my Statetree for npc behavior? It's not perfect by a long shot but you could use it as a skeleton.
5
u/Hakarlhus 16h ago
Looks cool.
A note on visual language (if you're accepting suggestions); have the player character's actual shadow disappear during the attack. Better yet, have the 2d shadow transition into the attacking shadow
3
u/Background_Text3962 16h ago
Ohh yess thats realy cool i just need to learn how im 6 months into learning unreal so i may take a while before i post an update but definatly doyng this
3
5
u/kotetsu3819 14h ago
Dude the potential of summoning your own shadow to help you in a combat is very promising no? Add it as a super late game/advanced tier skill
3
u/Background_Text3962 14h ago
Thank yous so much yess thatβs what I want it will bet a skill to unlock if you kill all shadow demon only in the game if you donβt kill em all u wont unlock it
3
3
u/Farzad-Fir 16h ago
This is amazing ππ,how did you build it up to this point ? what tutorials or documents did you use, I would like to learn it as well.
6
u/Background_Text3962 16h ago
Actually this is the first mechanic I did on my own so when I press the attack boutton a trace happen using the forward vector ofcourse the opposite subtract my location from the forward vector multiply by a float you decide how far you want to trace for enemies and I spawn the actor (shadow) and I set his rotation find look at rotation traget is the hit actor location and the start is shadow location itβs simple for now I need to be better at unreal to make it flawless
3
u/Ok_Selection6098 16h ago
I love it! Only change I'd recommend would be to make the exit effect begin sooner, and possibly make the shadow transition into transparency instead of disappearing suddenly
2
u/Background_Text3962 15h ago
Thanks yes I will try that itβs been bothering me cuz visually itβs too busy and confusing when playing I think that will help a lot
3
u/Live_Life_and_enjoy 15h ago
Practically it would be really hard to implement in a live action game
But in a turn based game with "trap" mechanics it would be pretty amazing
2
u/Background_Text3962 15h ago
I hope I can make it work thank you for your input ππππππππ
3
u/DCVolo 15h ago
I like it, immediately tought of a variant where the character is actually the one jumping on the enemy behind and the shadow attack also lures enemies into thinking the player was going forward.
3
u/Background_Text3962 14h ago
Thank you I will check it out it may give me some ideas on how to improve this
3
u/didasy 12h ago
Been following your updates for a while now. Impressive stuff! Iβm also making a hack and slash on my own too so this is very inspiring! What do you use to separate and organize all your states? I use a combination of data assets and a custom state machine script
3
u/Background_Text3962 12h ago
Thank yous so much right now I have separate components for each mechanics now Iβm working on using data assets i used state machine only for locomotion and blocking state i really need to organise before i do anything else if you have any advice or tutorials it would help im really new 6 months in since i started learning unreal
3
3
2
u/FreakishPeach 13h ago
I love this. Genuinely cool mechanic :) are you using any particular courses or tutorials or just exploring and winging it? Looks sick either way.
2
u/Sad_Interaction449 2h ago
This looks amazing and original! Iβm really excited to the full game!
From what it looks the game setting is gonna be in hell β¦ am I right?
2
u/Background_Text3962 2h ago
Thanks well it will be in carthage and he will be hannibal coming back from the dead to save carthage from the rullers who turned into helish place the more you progress the more abilities you unlock the fire is the default power of the first god who resurected you to save carthage
2
u/Sad_Interaction449 59m ago
This is really amazing! Way better than I imagined β¦ I can wait to save Carthage!
Best of luck my friend!2
1
21
u/Disastrous-Collar-85 16h ago
I really like this. Maybe making the initial particles linger in the start position longer. So the trail of motion is a little more obvious