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
v23 #10
v23 #10
Conversation
|
I'm guessing the activity was moved from it's gitorious instance but I can't find the activity repo and it's also not on sunjammer. |
|
The author was Peter Hewitt, and he made bundles and did not use git. There was no requirement to use git. This repository does not follow our conventions on tags or commit history. Look at the commit history and you'll see Tony Anderson built this repository by unpacking the zip file bundles of older versions of the activity. |
So does this mean we don't release this activity like other activities? I haven't released activities before so might have few questions initially. For releasing the activity,
Is this all/ I have skipped something I should know? |
|
Won't really know if you've skipped something until we get to review a pull request. Sugar Labs hasn't released this activity despite the great work by @pipix51 (2017), @yashagrawal3 (2018), and @pro-panda (2018). And now you've worked on it. Thanks! Missing a complete commit history (because there wasn't one), or version tags (because nobody made any), doesn't preclude the remainder of the maintainer checklist. You have attempted to correlate the tags (none) with the Likewise you can't "apply any translate.sugarlabs.org changes" because there aren't any, in turn because the activity has not been set up for translation. I've looked briefly at the source code, and can't see anything that needs to be translated. I suggest creating a NEWS file with a summary of the changes made since v22. You can also add tags for the previous versions; see |
|
Thanks. But I don't think you understood what host_version was for. It was for declaring the compatible version of OLPC OS, so that bundles won't be installed where they cannot run. The idea was to increment this number in Sugar when a breaking change to the API happened, and then change it in activities that complied with that breaking change.
Hope that helps! |
|
Thanks! @quozl |
Yes you should remove it. |
|
Reviewed, thanks. Waiting for @quozl to confirm merge. |
| @@ -1,7 +1,6 @@ | |||
| [Activity] | |||
| name = Jumble | |||
| activity_version = 22 | |||
| host_version = 1 | |||
| activity_version = 23 | |||
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.
Is it possible to add a one-liner summary before the next release?
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.
Of course. Do you have one? Push to this branch.
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.
Oops, missed this message. and I don't have a summary :/
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.
http://activities.sugarlabs.org/en-US/sugar/addon/4413 has some text that could be used.
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.
In a jumble of 83 objects, the player has to locate 20. Each deal is different.
I have never played the activity / maybe I don't remember. I will check its appropriateness and create a PR.
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.
I've tested on 1024x768 resolution. I did get situation where object requested was not visible. I don't seem to get any response from right-click, O, or N keys.
Original was for 1200x900 resolution. So the space has changed. Perhaps the number of objects should scale according to the reduced space. Does it? I've not checked.
Perhaps the objects should never be drawn on the edge of the display.
Perhaps the objects should be drawn in the reverse stack order as the challenge? That way the object will always be visible. Seems a bit easy though.
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.
Yes I agree. That would do good.
Perhaps the objects should never be drawn on the edge of the display.
We could provide a safe display area, subtracting / adding some pixels from Screen.height() and Screen.width()
Perhaps the objects should be drawn in the reverse stack order as the challenge? That way the object will always be visible. Seems a bit easy though.
Agreed. I am not sure if this is what you have suggested, but this is what came to my mind: Sort images on the basis of size of the pixmap in descending order, and then add it. Or did you have any other idea?
Yes, that would solve the issue!!
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.
I think the game was initailly designed for 1024x768 resolution. Guessing from this line.
Perhaps the number of objects should scale according to the reduced space.
The object images are loaded from utils method. They are scaled according to their size. You can see in this line. So this can't be a possible solution.
Another thing I noticed while testing now was: two cursors are seen. Way to reproduce- move the mouse to the toolbar. The mouse cursor on the toolbar is different and larger from the one that is left behind on the game canvas.
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.
Perhaps the number of objects should scale according to the reduced space.
The object images are loaded from utils method. They are scaled according to their size. You can see in this line. So this can't be a possible solution.
You've misunderstood. I don't mean scale the object images, I mean scale the number of objects.
Another thing I noticed while testing now was: two cursors are seen. Way to reproduce- move the mouse to the toolbar. The mouse cursor on the toolbar is different and larger from the one that is left behind on the game canvas.
That's normal for pygame activities. It's another reason not to use pygame.
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.
That's normal for pygame activities. It's another reason not to use pygame.
Ohhh, thanks! I treated this as an issue in CowBulls #17 and didn't find a fix, seems like I don't have to treat it as an issue.
Help needed @quozl @chimosky :
I'm confused, activity/activity.info mentions activity_version = 22 but there are no git tags or a NEWS file.
Also I don't see po folder with translation files and the activity is not a project under https://translate.sugarlabs.org/
I was referring to the maintainer's list