Player script

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

I would love to make my character to have more skills or weapons and so attacks, but how can i achieve that without overloading the player’s script?

are you referring to game optimization or how messy the script is?

Millard | 2020-05-28 02:31

How messy it is, shouldn’t that cause lag too? (having too much script for the player)

MightyRat | 2020-05-28 23:32

Generally computers can handle a lot of code, and it should be able to deal with having multiple weapons and attacks. When dealing with messiness, I think people often use state machines to handle weapons with different attacks and animations.

Millard | 2020-05-29 01:21