So what if i have like a thousand weapons...

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By MCjelly

I know I know someone has already answered this question

https://forum.godotengine.org/17269/how-to-switch-weapons

but like what if I want to create a Deadcell-like game that has over a hundred weapons & spells that each of them has individual sprites and animations (I’m going to use animation player for each one of these)?

is it really ok to have a hundred weapons all under the player node?

if not, how can I fix this?

Do all the weapons and spells have to be unique? Maybe they can be stitched together from a variety of sprites when the game is run? It cuts down on the number of nodes needed.

Ertain | 2020-07-30 05:03

I have like 5 sprite sheets that contain these attack movements (all have normal maps, so I can’t use animation sprite…) it would be great if I can use node to contain each weapon style (most weapons have combo system).

I would use the method that is best for me…

MCjelly | 2020-07-30 05:32

:bust_in_silhouette: Reply From: jgodfrey

Generally, I’d probably create each weapon as an independent scene and then instance them into the player scene (and attach them to the player) as necessary. Assuming the weapons have some commonality, I’d probably make some base “weapon” scene containing all of the common stuff, and then extend that for each unique weapon as necessary.

Does it affect performance? like if i have too many of them?

MCjelly | 2020-07-30 23:54