Skip to content

Conversation

@JhonatanBarboza
Copy link

feat: implement realistic apple rendering with stem and leaf

  • Add draw_circle method to RenderEnqueue Protocol and PygameSurfaceRenderer
  • Modify EntityRenderSystem to respect shape field for proper circle rendering
  • Implement realistic apple drawing with elliptical body, brown stem, and green leaf
  • Apples now render as realistic fruit instead of simple rectangles
  • Maintains backward compatibility for other shapes (square, rectangle)

Closes #447
Gravação de tela de 2025-12-05 14-47-30

Viguini and others added 3 commits November 25, 2025 22:58
- Add draw_circle method to RenderEnqueue Protocol and PygameSurfaceRenderer
- Modify EntityRenderSystem to respect shape field for proper circle rendering
- Implement realistic apple drawing with elliptical body, brown stem, and green leaf
- Apples now render as realistic fruit instead of simple rectangles
- Maintains backward compatibility for other shapes (square, rectangle)

Closes #XXX
@DeguShi DeguShi added enhancement New feature or request maybe non-priority labels Dec 5, 2025
@DeguShi DeguShi changed the title Feature/apple visual redesign [FEAT] Apple Visual Redesign Dec 5, 2025
Copy link
Collaborator

@DeguShi DeguShi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great addition, good job!

Copy link
Collaborator

@LeonardoIshida LeonardoIshida left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The apple looks great!

Comment on lines 170 to 180
else:
try:
import pygame

if pygame.mixer.music.get_busy():
pygame.mixer.music.stop()
from game.services.assets import GameAssets

GameAssets._current_music_track = None
except Exception:
pass
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to be added to draw the new apple?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done — the commits related to the menu audio have already been removed.

Copy link
Collaborator

@phprestes phprestes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the commits about menu audio.

@JhonatanBarboza
Copy link
Author

Done — the commits related to the menu audio have already been removed.

@DeguShi
Copy link
Collaborator

DeguShi commented Dec 11, 2025

@JhonatanBarboza, thanks for keeping up with our requests and for your patience. Now, if you can just resolve the conflicts once more I will close the other two change requests and merge your contribution into the dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request maybe non-priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] Redesign the apple visual

4 participants