ScratchData LogoScratchData
Back to pineappleman2's profile

Create Your Own Sprite Movable, Re-sizable, and Rotational

PIpineappleman2•Created October 23, 2019
Create Your Own Sprite Movable, Re-sizable, and Rotational
0
0
7 views
View on Scratch

Instructions

Draw a sprite and press space. Enter advanced for advanced options. The screen is a 1x1 and arrow keys to move. X and Z to rotate.

Description

Feel free to use this code in projects, just give me credit. -Collision, just make the sprite that draws, basically the outside of the sprite. If it were a car driving game and the car you drew hit a wall, that collision would be detected by the sprite that draws the car, as it is drawing the car. This can cause edges and other "small" details to not be registered though. -Rotation, the sprite that draws your creation goes to the x and y it is specified in the xs and ys list, points towards the center of the creation (as in the scratch costume editor, as the 0, 0, of that is different than the 0, 0, of the stage) turns 90 (scratch doesn't like 90 degrees so i went with 87.13 degrees, 90 degrees increases the size of the creation and 87.13 is about the amount that keeps the creation from decreasing or increasing) degrees and moves however many steps you want the creation to turn and then replace the x and the y in the xs and ys lists (that it was at) with it's current x and y.

Project Details

Project ID338680519
CreatedOctober 23, 2019
Last ModifiedOctober 29, 2019
SharedOctober 27, 2019
Visibilityvisible
CommentsAllowed