Conversation
- Started implementing a score counter for pong. - Scores 0, 1 figured out. - Still needs digits 2 -> 9, and then multiple digits.
- Added paddles for knocking the ball back and forth. - Added score digits.
Need Draw Test Points method for dev testing.
Needed HitBox test not points test
- Fixed the alignment issues present with the paddle HitBox and rendered result.
- Now collidable objects must return a name. This may be refactored in the future.
- The ball has been added to the game. Still needs collision physics.
DrawHitBox changes
- Can now partially move the paddle. This needs a velocity cap, boundary checking, and inertia.
- Missing Audio, needs some game engine stuff for that. - AI difficulty levels. - Pause Menu. - Score > 10 - Main Menu.
- TODO: Fix BigPixel alignment issues.
- Now draws big pixels seperated by 10 not 1. - No longer offset by 0.
- Changes done to paddle to fix a weird clipping bug. - DividingLine now has the same dark gray color on pause. - Pause menu now has a couple of rectangles. - Swapped order of draw listeners. - Fixed the infrequent concurrent modification error given by paintImmediately().
- Removed temporary fix for concurrent modification error. - Added hardcoded letters o, n, and c.
Image drawing.
- Added continue text to the pause menu.
- Changed Continue.png to improve readability. - Added Restart.png and added it to the pause screen.
- Added icons to Pause Menu buttons.
- Isolated the main game into a scene for preperation of creating a main menu.
getMouseListener()
Fully implemented the pause menu for pong. Still need to add in settings and the Main Menu.
- Fixed a bug where main wasn't specified in the jar manifest.
- Fixed a bug which prevent scores with multiple digits lining up properly.
Testing if more merge conflicts will arise.
- I've begun implementing the Main Menu for the game Pong. - Changed default loaded scene from 'Main Game' to 'Main Menu'.
- Created a few assets to be used in the Main Menu. - Started figuring out Main Menu design.
Scenes take input
Scenes have game reference
- Pressing the esc key will load the game.
- Most things are reimplemented and functional.
- Now the PauseScreen drawer only appears in the MainGame scene where it belongs. - Changed scenes to accept enum key values instead of int key values for input. - Added a few keys to KeyValues, and the toEnum() method.
- Made the processInput() implementation by PongGame the default for Game.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fully added and implemented the game of Pong using the Suga Engine.