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

Update absolute position blocks #22144

Merged
merged 2 commits into from
May 2, 2018
Merged

Conversation

joshlory
Copy link
Contributor

@joshlory joshlory commented May 2, 2018

Make position blocks consistent between Artist and Play Lab, and don't confuse kids with x/y (our positive y axis is flipped the opposite direction from what they're learning in math class at this age).

Absolute position block in Artist: (unchanged)

image

In Play Lab: (before)

image

In Play Lab: (after)

image

@joshlory joshlory requested a review from Hamms May 2, 2018 00:01
@joshlory
Copy link
Contributor Author

joshlory commented May 2, 2018

@kiki-lee Should the Play Lab block read "move actor [1] to absolute [100] over [300] down"?

@kiki-lee
Copy link

kiki-lee commented May 2, 2018

I'd say no. I don't think it means much to them at this point and makes the block longer...but I like how you think.

@@ -919,11 +919,11 @@ exports.install = function (blockly, blockInstallOptions) {
this.appendDummyInput()
.appendTitle(new blockly.FieldTextInput('0',
blockly.FieldTextInput.numberValidator), 'XPOS')
.appendTitle("over");
.appendTitle(commonMsg.positionAbsoluteOver());
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@joshlory joshlory merged commit 7833df3 into staging May 2, 2018
@joshlory joshlory deleted the update-absolute-position-blocks branch May 2, 2018 22:49
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.

None yet

4 participants