Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buffs & Debuffs #38

Closed
44 of 45 tasks
default-jamc opened this issue Sep 1, 2021 · 7 comments
Closed
44 of 45 tasks

Buffs & Debuffs #38

default-jamc opened this issue Sep 1, 2021 · 7 comments

Comments

@default-jamc
Copy link
Contributor

default-jamc commented Sep 1, 2021

Description

The game requires some mechanism for the player's game-state to change throughout gameplay so that (1) the player is able to handle the obstacles and enemies they are trying to avoid and (2) the game remains interesting and unpredictable for the player. Buffs & Debuffs will be added to the game to allow the player to experience gameplay enhancements and ailments. The implementation will involve designing artefacts which alter the players' state in an interesting but non-gamebreaking way. Buffs/debuffs will spawn as items on the map for the player to collide with to attain. Buffs/debuffs will be removed from the player when they lose a level, or progress to the next. An example of some buffs / debuffs are below.

buff debuff
the player's health is increased by 20 the players health is decreased by 20
the player does not lose sprint capacity while sprinting for a period of time the player cannot jump for a period of time
the player is invincible for a period of time all enemies do 200% damage to the player for a period of time

For the initial implementation of the buffs / debuffs system, the following will be produced:

  • Buff: the player is invincible for a period of time
  • Buff: the players' health is increased by a set amount
  • Buff: the player is able to sprint without losing stamina for a set period
  • Debuff: the player's health is decreased by a set amount
  • Debuff: the player is unable to jump for a period of time
  • Debuff: the player takes double damage for a period of time.

Sub-feature / Components

  • Designing of the sprites for the buffs / debuffs
  • Implementation of the buffs / debuffs

Examples

  • Buff When the player collides with a 'buff' item on the map, the bonus pertaining to it will be attributed to them.
  • Debuff When the player collides with a 'debuff' item on the map, the ailment pertaining to it will be attributed to them.

Dependencies

  • (Extra) Implementation of the Items requires a functioning Inventory Component.

Milestones

Completion Deadline: Sept. 14

Extras

  • Extend the buff system to include items; buffs which are maintained across level changes.

Documentation

Members

@sh4453
Copy link

sh4453 commented Sep 3, 2021

Hey, was wondering if the buff design included modifications to the character? If not, would you guys like me to modify the player asset according to the different buffs you have in mind?

@default-jamc
Copy link
Contributor Author

Hey! The current implementation does support the player being visually modified by the buffs. We are planning on expanding upon this after the functionality is established further. For now, I think we have this aspect organised. However, I noticed that you have been very closely involved with the overall visual design of the game, including the proposed player character design. So we would be happy to discuss design changes and improvements as prototypes are developed for the buffs. :)

@Su-LAN Su-LAN mentioned this issue Sep 3, 2021
4 tasks
@WendyW16 WendyW16 mentioned this issue Sep 4, 2021
4 tasks
@sh4453
Copy link

sh4453 commented Sep 4, 2021

Yeah no worries, just let me know on discord what you guys need and I'll be happy to help

@default-jamc
Copy link
Contributor Author

Awesome, will do!

@n1ko4fun n1ko4fun mentioned this issue Sep 5, 2021
5 tasks
@jackemerson jackemerson added this to the Sprint 2 milestone Sep 6, 2021
@BasJW
Copy link
Contributor

BasJW commented Sep 10, 2021

Hey guys, i've recently just made changes to KeyboardPlayerInputComponent by adding a Sprint Modifier variable and a general refactor (#61), so in the future if you ever plan on adding a sprint buff that alters sprint speed it will be alot easier now since that variable is used for controlling sprint. If you're interested, let me know and i can push the changes to main.
*The current changes are in the PlayerStateAnimation branch

@Su-LAN
Copy link
Contributor

Su-LAN commented Sep 12, 2021

241755063_714442816178448_9016055948548772494_n

@Su-LAN
Copy link
Contributor

Su-LAN commented Sep 14, 2021

Buff UML

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

No branches or pull requests

8 participants