Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hi RickyDiculous, I love what you did with the game compared to the tutorial. I am new to using generic functions and was wondering if you could assist me on making the player attack the enemies as well? Thank you

Congrats, herculesking! You gave me my first comment! Thanks! Anyways, I have posted the Unity Project file (called "2D Roguelike.zip") on the game page. Take a look at the Player (Player.cs) script in the file. That is where you will find the code (with comments) for the player attacking enemies. If you have any other questions, feel free to shoot me an email at diculousricky@gmail.com (just make sure to say that you're from itch.io, or else I may mistake it for spam!).