Skip to content

Add if on edge, bounce #59

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

Closed
wants to merge 3 commits into from
Closed

Conversation

apple502j
Copy link
Contributor

This adds if on edge, bounce (and of course touching edge), available as this.ifOnEdgeBounce() and this.touchingEdge().

Copy link
Collaborator

@PullJosh PullJosh left a comment

Choose a reason for hiding this comment

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

I just tried this out and am getting some weird behavior. :P

if-on-edge-bounce

Also, something that isn't very well documented (my fault!) is that code should be formatted using Prettier. If you install the Prettier extension for your code editor of choice, things will be auto-formatted for you perfectly every time you save a file.

Copy link
Collaborator

@PullJosh PullJosh left a comment

Choose a reason for hiding this comment

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

I meant to click "request changes" last time. Oops!

@towerofnix
Copy link
Member

I'm going to close this as it's been superseded by active development in #114 and supporting rendering changes in #119 for a more complete and Scratch-precise implementation. Thanks for your work here—the new implementation wouldn't exist without it!

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.

4 participants