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

On Gameplay Window and Gameplay what happened was the Snake character is moving over the whole components #11

Open
Ciezo opened this issue Oct 26, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Ciezo
Copy link
Owner

Ciezo commented Oct 26, 2021

Problems
While playing the game and as I embedded the Snake character from SnakeProto to the SnakeGame's game_frame, it was moving over bounds, and the whole components inside the panel.

Enumeration:

  1. Snake is moving over the gameplay panel on game_frame
    
  2. Snake character is not able to move well when setBounds on Y coordinate is set to more thant 100 
    
  3. Snake movement is not processing at all when we try to modify the setBounds
    

Detailed Descriptions
After many tries, solutions, and implementations we have finally embedded a Snake character instance with complete game mechanics onto the game_frame, however, we still continue to experience problems with the positioning of the overall layout because the whole Snake instance from SnakeProto class is OVER THE COMPONENTS of the gameplay panel and game_frame


Screenshots
Put all your screenshots here! This will be helpful for debugging, fixes, and improvements!!
image

The snake character from SnakeProto instance is over the top of the UI components!
Turned on gridlines for better X and Y grids

@Ciezo Ciezo added the bug Something isn't working label Oct 26, 2021
@Ciezo Ciezo self-assigned this Oct 26, 2021
@Ciezo
Copy link
Owner Author

Ciezo commented Oct 26, 2021

Possible fix is we rewrite a whole snake character with all the required game mechanics. And this is on the different or separate class!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant