1 year ago

How the weapons swap system works

(or at least how it should granted I did everything right)


-Bullet is created and assigned a damage value from a "player damage" table

-Bullet stores the damage value in itself ("my damage")

-Bullet sets the ("my damage") value to a "damage inflicted" variable when hitting enemy.

-Enemy reads "damage inflicted" variable and hurts itself by that value.



0 comments

Loading...

Next up

Was going to use this as a background detail, but it'd be too small to see

Check in

Comically Oversized Hat

Math with Jumpy

Me too, Ms.N

Staff meeting

small scale

Happy Birthday @en-en

Hope you have a spiffy and cozy day!

Rare meat