Implement a rocket launcher #76
Labels
No Label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
upstream
wontfix
No Milestone
No project
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: unfa/liblast#76
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
We need an explosive weapon and that'd be both very fun and helpful to develop the weapon system.
The explosion effect is already done -
Assets/Effects/ImpactExplosion.tscn
.What's left is:
explode()
function should be added inWeapon.gd
- explosion should have a spherical area around it to detect collision with objects. For every object in range a raycast shou;ld be done to determine of any solid obstacles are blocking the damage. For the ones not protected by walls - damage should be applied with damage and force scaled with distance from the explosion origin. Also - an object that was hit directly should probably recieve additional damage. Push force should be implemented in thedeal_damage()
function.** All available weapon scenes should be preloaded into an array. Then player can swithc them using the number keys or mouse wheel. When swithcing. The current weapon scene is replaced with a different one. As node paths/tree structure should stay the same, things should still operate. Later switching animations, delay etc. can be implemented.
I've created a branch for this called
feature-rocketlauncher
.Done!