Updated README

This commit is contained in:
naomi 2025-03-23 23:04:46 +00:00
parent 19963dcf9c
commit 9a8d501753

View file

@ -1,5 +1,5 @@
# Vector Breakout # Vector Breakout
##### A clone of Breakout built using swing/awt in Java A clone of Breakout built using swing/awt in Java
Very early proof of concept for a "vector graphics engine" for arcade style games. Eventual plans to create a real vector graphics game engine, potentially using LWJGL, once I have enough knowledge and experience. Very early proof of concept for a "vector graphics engine" for arcade style games. Eventual plans to create a real vector graphics game engine, potentially using LWJGL, once I have enough knowledge and experience.
@ -8,8 +8,8 @@ Very early proof of concept for a "vector graphics engine" for arcade style game
The repository as is is built with JDK 21, but I am testing the code as far back as JDK 1.5. The repository as is is built with JDK 21, but I am testing the code as far back as JDK 1.5.
___ ___
## CONTROLS
## CONTROLS
- Arrow keys (left and right): Move the paddle - Arrow keys (left and right): Move the paddle
- Space: Spawn a ball - Space: Spawn a ball
- Enter: Pause - Enter: Pause
@ -21,13 +21,16 @@ ___
## TODO ## TODO
- Improve ball collision - Improve ball collision
-- "Path-casting" (for lack of a better term) for ball collision - "Path-casting" (for lack of a better term) for ball collision
--- The idea is to change ball collision to instead check if a brick/paddle/etc will be in its path in the next frame, and if so, execute the collision instructions - The idea is to change ball collision to instead check if a brick/paddle/etc will be in its path in the next frame, and if so, execute the collision instructions
-- Bouncing horizontally off the sides of bricks - Bouncing horizontally off the sides of bricks
- Implement levels as their own class
- Each level will have unique properties, like varying playfield width, brick count/layouts, etc
- Will be much better than just the single hardcoded level and each individual brick being put into an array
## ISSUES ## ISSUES
- Ball sometimes passes through paddle, or gets stuck in right wall - Ball sometimes passes through paddle, or gets stuck in right wall
-- This should be fixed with the aforementioned collision changes once I get to that - This should be fixed with the aforementioned collision changes once I get to that
## I AM AWARE THAT: ## I AM AWARE THAT:
- I could use a switch statement for the score/lives/level display. However, I want backwards compatability because I'm a silly nerd :3, and JDK 1.5 doesn't support passing a split string through a switch statement. If there is a better way to get the individual digits, please let me know. - I could use a switch statement for the score/lives/level display. However, I want backwards compatability because I'm a silly nerd :3, and JDK 1.5 doesn't support passing a split string through a switch statement. If there is a better way to get the individual digits, please let me know.