Hello fellow Unreal developers! I have been working on a game for the past week that is under the working title of Project: SWORD. It’s a top down dungeon crawler for mobile using a one touch interface inspired by the DS Zelda games. Your goal is to explore dungeons and collect loot and raise your adventurer level to unlock new maps (which you navigate with the touch screen), and in turn find new dungeons!
The gameplay uses a simple touch screen controls: tap to interact, swipe to attack, and hold down to move. You can see an example of these in the latest WIP video:
That is all for now! I would appreciate critique or other comments
On top of swiping for sword swings, you can also simply tap enemies to attack as well. If you are a distance away, the main character will perform a jump attack to close the distance.
Drawing and putting away the sword is now automatic, as we need the ‘tap player’ function for the inventory system.
I also did a bunch of tweaks and debugs to smooth out the gameplay, as well as animating the pickup rock events, as shown below!
That’s it for now! I think next I will work on switches and trigger-able events like doors and drawbridges (and getting the darn navmesh to update properly when this all happens, too -,-)
Over the past few days I got a bundle of systems up and running. The first one is a switch blueprint. You tap the switch, and the character will run to the proper position and play one of two animations. You can then cast the switch bool onto the level blueprint and do whatever you want!
The second feature is hit reactions. The blueprints can tell which direction you are facing in relation to the attacker who hit you, and play the proper animation accordingly.
The last thing is a proper health system for the main character. The idea is that you get 3 chunks, and only auto heal to the nearest chunk. To heal past those chunks, you must use a potion. The healing part isn’t in yet, I will get to that ASAP.
Check everything out in the latest video!
On top of all that, there are a few tweaks I put in here and there to polish it all up a bit, some more audio work, and an update to the main character’s texture.
Bow and arrows! This new item swaps out the sword and changes the mechanics a bit. Instead of press and hold to move, you press and drag to apply tension to the bow. The more you drag, the more tension you add. Release to fire the arrow! You can also quick press to have the character move around, so don’t worry if enemies get too close! Check it out in action below!
Right now, you just tap and hold on the character to toggle sword and bow, but later I will have a proper inventory system.
That’s all for now! See ya later!
P.S. sorry for the lack of textures, the starter content pack was accounting for over half of the space of the entire project!
I have a question regarding that switch though in your latest video.
What do you use to make your character move to that position? I am using Simple Move to Location and turn my character around when he wants to do something specially in one spot and turn him around accordingly. Though I would like to know whats the best idea, and it seems yours work.
Reason I ask is, Move to Location stops the movement if the character capsule touches the spot its aiming to g, instead of stopping right on top of it. I was wondering about your solution.
As you can see, there are two move to locations in the player controller, which is hooked up to a branch that checks if an enemy (or important object) is clicked or not. If false, just move to where the mouse clicked, but if TRUE, then grab a vector (clickedenemyloccast) that is casted and set in the enemy/object blueprint.
For the switch, to make everything line up, the location cast vector is over a small volume. When the character enters the volume, I simply teleport the character and set the rotation to the exact spot so the animation lines up, which is where those two vector lines going off screen (on the second pic with the red arrows) are plugged into.
I hope that all helps!
p.s. Love your fighting game template, been following it for awhile now!~
Thats nice! I think you got it close to what I am working too! What I did to get the character to exact position was, setting the movement component’s capsule’s radius to 1, so it would always land at the location exactly, not needing to teleport him and such. Though it was a bit hacky. Yours looked good enough so yeah, setting controller location should be good enough aswell!
And thanks for your kind works! So many table flipping moments with me and anim montages happening. It’s like I got a very hard to please girlfriend. <.< But when I finally get things working, it’s priceless.