Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
kasper201 committed Apr 15, 2024
2 parents 164622a + 1888a14 commit e04b04b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 13 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ To install the game on the FPGA first open the project in Vivado.
3. Now you will either receive an error message or a popup that the bitstream has been generated. If the latter was the case continue to 4. Otherwise, check the error and continue to the topic: errors FPGA
4. In the hardware manager press on 'Open target' if no hardware target is open and press Auto Connect.
![Open Target](image.png)

5. After connecting to the FPGA press 'Program device' and then 'OK'. Now the device should get programmed.
![Program device](image-1.png)

Expand Down Expand Up @@ -157,6 +158,7 @@ Changing the sound of the game or the music is done using the files `Sound.vhd`
To save space only a few frequencies have been placed in the SoundController. There are also no notes. So there is no C#, Eb or anything like that. If you want to utilise those you have to add them yourself. The notes **F4 to F5** do exist.There also is one specific ID for a wrong note. This gets played when a player gets damaged.

![formula frequency](image-2.png)

The number `101255` in the image above is gathered from the formula: ```((({clock Frequency})/2/[{frequency}) % 2```.

### Change music
Expand Down
35 changes: 22 additions & 13 deletions Release.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,42 @@
# What's changed

## Sprites
- Nothing has changed
- Updated sprites
- Added (now redundant) credits

## Game logic

### location handling
- Added the ability to move the player
- Added a cursor 'demo'
- Added the bullet logic
- Added the ability to communicate the location of the bullet to the GPU
- Added death logic
- Added pineapple logic
- Balanced difficulty
- Improved location check

### STM32
- Added the ability to
- Communication via UART has been increased to a baudrate of 460800
- Updated communication order
- Updated button handling to decrease bounce

## GPU
- Nothing has changed

## Other
- Nothing has changed
- Updated bullets handling
- Updated displaying robots
- Added a home screen
- Added credits
- Added top bar
- Added sprites in top bar
- Added text on screen

# Known bugs

## General
- Sprites flicker the more sprites there are on the screen

## Sprites
- Borders have green artifacts
- Borders have slight green artifacts

## Game logic
- There are currently no known bugs
- When a plant has been placed on the right most side of the screen robots will replace eachother after some time

## GPU
- Line on the left of the sprite
- improper border handling
- Sprites dissapear if a bullet is within 16 X locations of another sprite.

0 comments on commit e04b04b

Please sign in to comment.