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

Feedback #1

Open
wants to merge 11 commits into
base: feedback
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"python.REPL.enableREPLSmartSend": false
}
89 changes: 72 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
[![Open in Visual Studio Code](https://classroom.github.com/assets/open-in-vscode-718a45dd9cf7e7f842a935f5ebbe5719a5e09af4491e668f4dbf3b35d5cca122.svg)](https://classroom.github.com/online_ide?assignment_repo_id=14588448&assignment_repo_type=AssignmentRepo)

:warning: Everything between << >> needs to be replaced (remove << >> after replacing)

# << Project Title >>
## CS110 Final Project << Semester, Year >>
# Enter Valorant
## CS110 Final Project Spring, 2024

## Team Members

<< List team member names >>
none

***

## Project Description

<< Give an overview of your project >>
I want to make a Enter the Gungeon style game where the character you pick are from Valorant. You will play as Jett and be able to use her basic abilities as well has have the art style of Enter the Gungeon.

***

Expand All @@ -30,20 +29,76 @@

### Features

1. << Feature 1 >>
2. << Feature 2 >>
3. << Feature 3 >>
4. << Feature 4 >>
5. << Feature 5 >>
1. Agent Selection - where you pick the agent (Jett)
2. Moveable Character - The agent(Jett) can be controlled to move left right and at an angle
3. Shoot - You would be able to shoot a gun at the direction you click
4. Changing Backgrounds - you are able to move between screens
5. Game Completed Screen - when you complete the level, the game ends with a screen

### Classes

- << You should have a list of each of your classes with a description >>
- Class Controller: controls what game state the game is in from Menu, Agent Selection, Game, and Gameover mode. In each of the game states you can do certain things and can go between the states.
- Class Jett: initializes Jett's attributes like her speed, animation, gun, size and abilities. Additionally, it is also where her movement controls, shooting mechanics, abilities and animations are.
- Class Classic: initializes the gun Classic's attributes like its shooting speed and sprites.
- Class Bullet: initializes the bullet's attributes of the Classic gun like the speed and size. It also controlls the direction that the bulllets shoots and where it comes out of from the gun sprite.
- Class Room: initializes the background, boundaries, obstacles and componenets of the rooms.
- Class gameController: initializes the room backrounds themselves as well as control room changes. Also create the components of the rooms like the signs, dummies and how Jett interact with the rooms.

## ATP

| Step |Procedure |Expected Results |
|----------------------|:--------------------:|----------------------------------:|
| 1 | Run Counter Program |GUI window appears with count = 0 |
| 2 | click count button | display changes to count = 1 |
etc...
Test Case 1: Player Movement
-----------------------------
- Test Description: Verify that the player can move in all directions including diagonals
- Test Steps:
1. Start game by pressing SPACE
2. Move left and right with A and D respectively
3. Move up and down with W and S respectively
4. Move diagonals with A+W, D+W, A+S, and D+S
- Expected Outcome: The players moves in the appropriate direction and changes sprite thats corresponds with the directions

Test Case 2: Dash Ability
---------------------------
- Test Description: Verify that the player can use her dash ability
- Test Steps:
1. Start game by pressing SPACE
2. To use her dash ability press E
3. The direction of the dash corresponds with the WASD keys
4. Verify that the player moves in a specific direction quickly
5. Verify that the sprite changes with dash
6. Ensure that there is a slight cooldown between dashes
7. Verify that the player can go in all 8 directions
- Expected Outcome: When utilizing her ability, the player should move very quickly towards the direction they are moving towards

Test Case 3: Updraft Ability
-----------------------------
- Test Description: Verify that the player can use her updraft ability
- Test Steps:
1. Start game by pressing SPACE
2. To use her updraft ability press Q
3. Verify that she moves up and comes back down
4. Verify that she becomes slightly transparent
5. Verify the updraft sprite plays
6. Ensure that there is a slight cooldown between updrafts
- Expected Outcome: When utilizing her updraft ability, she moves up and then down while being transparent and changes sprite.

Test Case 4: Smoke Ball Ability
--------------------------------
- Test Description: Verify that the player can throw smoke ball towards a certain direction
- Test Steps:
1. Start game by pressing SPACE
2. To use her smoke ball ability press C
3. Verify that the player throws smoke balls towards the direction of the mouse
4. Verify that smoke travels a fixed distance before stopping
5. The smoke ball expands after stopping
- Expected Outcome: When utilizing the smoke ball ability, she throws a smoke ball towards the direction of the mouse before stopping and expanding before disappearing after 3-4 seconds

Test Case 5: Gun Play
---------------------
- Test Description: Verify that the player can switch between gun and hand and shoot with the gun
- Test Steps:
1. Start the game by pressing SPACE
2. To switch to gun press 2 and switch to hand press 3
3. Aim with your mouse and click to shoot
4. Verify that the bullet travels to the mouse and keeps going until hitting an obstacle
- Expected Outcome: The player switches to their gun and shoot a bullet at the direction the mouse is. The bullet will travel until either it exits the screen or hit an obstacle

Binary file added __pycache__/main.cpython-310.pyc
Binary file not shown.
Binary file added assets/agentSelection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/dummy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/finalgui.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/gui.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/gun/classic/classicLeft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/gun/classic/classicRight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/jettDashing/JettDashBack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/jettDashing/JettDashBackLeft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/jettDashing/JettDashBackRight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/jettDashing/JettDashFront.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/jettDashing/JettDashLeft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/jettDashing/JettDashRight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/jettSmoke/JettSmokeBack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/jettSmoke/JettSmokeBackLeft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/jettSmoke/JettSmokeBackRight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/jettSmoke/JettSmokeFront.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/jettSmoke/JettSmokeLeft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/jettSmoke/JettSmokeRight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/jettSmoke/SmokeBall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/jettStanding/JettBack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/jettStanding/JettBackLeft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/jettStanding/JettBackRight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/jettStanding/JettFront.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/jettStanding/JettLeft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/jettStanding/JettRight.png
Binary file added assets/jettStandingGun/JettBackGun.png
Binary file added assets/jettStandingGun/JettBackLeftGun.png
Binary file added assets/jettStandingGun/JettBackRightGun.png
Binary file added assets/jettStandingGun/JettFrontGun.png
Binary file added assets/jettStandingGun/JettLeftGun.png
Binary file added assets/jettStandingGun/JettRightGun.png
Binary file added assets/jettUpdraft/JettUpdraftLeft.png
Binary file added assets/jettUpdraft/JettUpdraftRight.png
Binary file added assets/jettWalking/back/JettBackWalking1.png
Binary file added assets/jettWalking/back/JettBackWalking2.png
Binary file added assets/jettWalking/back/JettBackWalking3.png
Binary file added assets/jettWalking/front/JettFrontWalking1.png
Binary file added assets/jettWalking/front/JettFrontWalking2.png
Binary file added assets/jettWalking/front/JettFrontWalking3.png
Binary file added assets/jettWalking/left/JettLeftWalking1.png
Binary file added assets/jettWalking/left/JettLeftWalking2.png
Binary file added assets/jettWalking/left/JettLeftWalking3.png
Binary file added assets/jettWalking/right/JettRightWalking1.png
Binary file added assets/jettWalking/right/JettRightWalking2.png
Binary file added assets/jettWalking/right/JettRightWalking3.png
Binary file added assets/jettWalkingGun/back/JettBackWalkingGun1.png
Binary file added assets/jettWalkingGun/back/JettBackWalkingGun2.png
Binary file added assets/jettWalkingGun/back/JettBackWalkingGun3.png
Binary file added assets/jettWalkingGun/front/JettFrontWalkingGun1.png
Binary file added assets/jettWalkingGun/front/JettFrontWalkingGun2.png
Binary file added assets/jettWalkingGun/front/JettFrontWalkingGun3.png
Binary file added assets/jettWalkingGun/left/JettLeftWalkingGun1.png
Binary file added assets/jettWalkingGun/left/JettLeftWalkingGun2.png
Binary file added assets/jettWalkingGun/left/JettLeftWalkingGun3.png
Binary file added assets/jettWalkingGun/right/JettRightWalkingGun1.png
Binary file added assets/jettWalkingGun/right/JettRightWalkingGun2.png
Binary file added assets/jettWalkingGun/right/JettRightWalkingGun3.png
Binary file added assets/room/backgroundRoom1.png
Binary file added assets/room/backgroundRoom2.png
Binary file added assets/room/backgroundRoom3.png
Binary file added assets/room/backgroundRoom4.png
Binary file added assets/room/backgroundRoom5.png
Binary file added assets/room/sign.png
Binary file added assets/text/agentSelectionJett.png
Binary file added assets/text/agentSelectionText.png
Binary file added assets/text/room1Text.png
Binary file added assets/text/room2Text.png
Binary file added assets/text/room3Text.png
Binary file added assets/text/room4Text.png
Binary file added assets/text/room5Text.png
11 changes: 4 additions & 7 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import pygame
#import your controller
from src.controller import Controller

def main():
pygame.init()
#Create an instance on your controller object
#Call your mainloop

###### NOTHING ELSE SHOULD GO IN main(), JUST THE ABOVE 3 LINES OF CODE ######

# https://codefather.tech/blog/if-name-main-python/
game_controller = Controller()
game_controller.mainloop()
if __name__ == '__main__':
main()
main()
Binary file added src/.DS_Store
Binary file not shown.
Binary file added src/__pycache__/controller.cpython-310.pyc
Binary file not shown.
Binary file added src/__pycache__/gun.cpython-310.pyc
Binary file not shown.
Binary file added src/__pycache__/jett.cpython-310.pyc
Binary file not shown.
Binary file added src/__pycache__/room.cpython-310.pyc
Binary file not shown.
Loading