Skip to content

Upgrades: Hardware Accel, Boot Up, Fortified#30

Open
SofiaAugusta wants to merge 6 commits into
mainfrom
Upgrades
Open

Upgrades: Hardware Accel, Boot Up, Fortified#30
SofiaAugusta wants to merge 6 commits into
mainfrom
Upgrades

Conversation

@SofiaAugusta

Copy link
Copy Markdown
Collaborator

unsure on the implementation of bootup and fortified due to the current code structure.

@Rockyd3 Rockyd3 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A lot of what you've done so far looks good, but I think there are a few big issues that need to be fixed. I left comments on a couple lines Player_Controller and Deal_Damage.

Comment thread Assets/Scripts/Player_Controller.cs Outdated
public float normalSpeed = 5f; // Default movement speed
public float boostedSpeed = 7.5f; // 1.5x speed boost
public float boostDuration = 30f; // 30 seconds duration
public float boostDuration = 30f * Level_manager.instance.hardwareAccelUpgradeModifier; // base 30 seconds duration

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this is the duration of the speed boost (which the player gets for making a pattern and not the duration/length of the dash.

Comment thread Assets/Scripts/Deal_damage.cs Outdated
// Decrease enemy damage based on fortified upgrade
if (gameObject.tag == "Enemy")
{
damage = baseDamage * Level_manager.instance.fortifiedUpgradeModifier;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think your changes to the 'damage' variable are getting overwritten later in this same script. Also, please tag the enemy bullets as enemy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants