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
update sugargame to v1.3 #15
Conversation
|
Tested. |
|
Thanks, but given your other pull requests involving the Sugargame API, I'd prefer to see you fix them before I review any further changes. |
|
I reviewed and fixed them as you suggested, you can review these changes now |
remove stop accelerator add exit test detect gtk stop button
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ayushnawal Great. Tested works perfectly on Sugar Fedora SOAS 31 other than occassional black screen which I recreated on master too. Thanks. addressed in #16
|
@srevinsaju, how do you recreate black screen? I think the Activity class should not call |
There is a small wait (black screen) when the play button is pressed on the toolbar. Fixes #16 now, @srevinsaju, please review |
|
@ayushnawal tested. Fundamentally the code is the same. Now, the black screen is no longer seen. The black screen was added to force redraw the screen contents. On play button press, now, the same content remains on the screen, (but actually it should redraw the entire screen). I have provided a clue in my review. Hope you will get a click and find the solution, alternatively, I shall tell what is to be done. Because, you might learn something more of sugargame if you fix this issue, which will help to solve 10+ open PRs which aims at almost the same issue. Thanks |
@quozl The black screen can be recreated on 8a8a6ac by pressing the play button and keeping the mouse on the toolbar and not moving it over the sugargame widget. This will make the black screen persistent. Once the cursor is moved over the sugargame widget, the black screen disappears, because the whole area is force - redrawn because of the mouse cursor |
|
@srevinsaju please review I have fixed the error that the same content remains on screen even after pressing the play button to restart, I have also fixed the same issue for the next round button. Thanks |
|
@ayushnawal Perfect. Tested dd3b834 . Works nice, no errors or warnings. Hope you are getting into groove with pygame and sugargame |
|
Thanks |
|
Thanks. Tested and reviewed as at dd3b834.
|
|
Thanks @quozl, reviewed back. Work in Progress
elements such as buttons have mouseover tooltips, displaying on hovering the mouse as expected.
Done as suggested, added
I found it perfect james, as it is not centered with respect to screen but at mid-point(centered) with respect to the output results and input field. Looking nice as it is now. |
improve README.md
Set fps to 20 as suggested.
Done as suggested, called child widgets explicitly using
Done, I guess this was only causing number entry not to fit in the hard level. looking nice on my system now.
Improved gameplay instructions. Also improved readme.md in general |
removed show_all to avoid any race condition
|
Thanks. Tested as at 666fb3a. Good progress. Updated previous comment. |
I am assuming that you want me to add a help button which on clicking displays you some basic rules/instructions, it is taking some time
This is fixed here at
I reviewed and commented about these issues here
after all these fixes reviewed and approved, I can port the activity quickly. |
|
Yes, a help button is one way. An introduction screen is another way. I don't remember any mouseover tooltips for the buttons on the canvas. |
|
@quozl in this comment, I think
should be ticked, as @ayushnawal mentioned before, it is not centered with respect to screen but at mid-point(centered) with respect to the output results and input field. Also cherry-picked the commits in #17 also ported to python3 Edited - Correction, it does not center the smile for medium and hard levels. Shouldn't be ticked |
|
Thanks for noticing. |


No description provided.