Closed WilliamAkins closed 7 years ago
ok working on it now.
Will could you show me where the weapon code is as i need to make it so you can switch weapons. to then allow me to make melee weapons.
Ok, I did it for the pistol weapon. I can show you myself if you cannot find it. It is located in the event sheet for the pistol actor.
i,ve gotten weapon switching working correctly. i shall now need to work on swinging the mop/melee weapon.
i have finished making the weapon swing correctly. it currently does it instantly and a bug with the weapon switching is that it takes 2 attempts to equip the melee weapon. no damage is being done as the damage code isn't in this current version of the code.
i have uploaded it on my branch named as AG_weapon_switch
mop now works correct and enemys drop scrap on death that the player can collect by standing near it
fixed bug where mop hit multiple times in a second leading to one hit kills of enemys.
Sorry for the late issue submit, forgot to write this one.
Can you make it so the player can use a melee weapon by clicking their mouse anywhere on screen. It will then detect whether the weapon was near enough to an enemy to deal damage and if it was will indeed deal some form of damage. The weapon should also have an attack speed which can be modified based of which weapon is currently equipped.
Due: Monday 31st October