Completely lost in setting up melee combat

owl

New member
I have looked through every tutorial video and forum post I can find. Unfortunately, I cannot seem to locate a resource that shows how to set up melee combat in the Adventure Base in any capacity. The tutorials make a sword appear in the HUD out of seemingly thin air, and the combat is already set up perfectly by default in these videos.
In my project, I have the attack script used in the tutorials assigned to the appropriate key. However, when your weapon is granted from the NPC (based off one of the tutorials I watched), no icon appears near the HUD, and no sprite is being used despite my efforts to set up a texture for the weapon. When the attack button is pressed, it creates the top-leftmost sprite in my Game Objects tileset. No matter how many times you use the attack button, it just continues to create these sprites (they are permanently kept in-place on screen). After using the attack button a few times to perform this action, the player movement is cut in half.
I'm completely lost.
 

ronin1011

Member
Thanks, I'll take a look :)
Yeah I am doing the adventure game tuts as well and when I get the sword it doesn't show in the hud.
For me, the attack animation shows the sword but stayed on screen for a very long time. I went into the object details for the sword and player objects and adjusted the action timer to 1 for both the sword LR and UD actions steps. I did the same thing for the player character attack action step. It works better for me now. Still cant see the sword in the hud though.
 
Top Bottom