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

Builder#648 Convert the "GetWidget" function to a generic function #311

Merged
merged 7 commits into from
Aug 15, 2024

Conversation

JiepengTan
Copy link
Collaborator

@JiepengTan JiepengTan commented Aug 15, 2024

  1. convert the "GetWidget" function to a generic function Builder#648 support Widget Monitor #306 (comment)
monitor := getWidget(Monitor,"life")
  1. add default values for the 'size' and 'color' attributes of the Monitor Builder#648 support Widget Monitor #306 (comment)
  2. make the coordinate concept of Widget consistent with sprite, where 0,0 represents the center of the screen, and the y-axis points upwards Builder#648 support Widget Monitor #306 (comment) Builder#648 support Widget Monitor #306 (comment)

Project : 648_generic.zip

@JiepengTan JiepengTan requested a review from nighca August 15, 2024 07:28
game.go Outdated Show resolved Hide resolved
@JiepengTan JiepengTan requested a review from nighca August 15, 2024 08:29
game.go Outdated Show resolved Hide resolved
@JiepengTan JiepengTan requested a review from nighca August 15, 2024 08:39
@nighca nighca merged commit 3df776b into goplus:main Aug 15, 2024
3 checks passed
@JiepengTan JiepengTan deleted the Builder#648_widget_api branch September 23, 2024 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants