Animation Lesson Part 3 - Importing
In this activity, import an existing Piskel, edit it, and export it into Snap!
Importing an Existing Piskel
- Right-click this WalkBase.piskel link and click "Save link as..." save it to the Desktop
- NOTE: This activity is accessible via bit.ly/coding-activities
- Navigate to Piskel
- In Piskel, click the button in the upper right to create a new sprite
- On the right side of the page, click the "Import" folder icon
- Click the "Browse .piskel files" button
- Select the WalkBase.piskel file to import form the Desktop
- After the file uploads, select "Replace"
- Once the Piskel is in the editor, update it by making the character green.
Exporting the New Piskel
- After editing the Piskel, click the "Export" image icon on the right side of the page
- Select the "Zip" tab
- Click the "Download ZIP" button
- Save the .zip file somewhere
- When it downloads, show the .zip file in the containing folder
- Right click on the .zip file and select "Extract All..."
- Click the "Extract" button
- Keep the folder open!
Importing the Sprite into Snap!
- Go back to the Snap! project tab in the browser
- Click on the Costumes tab for the walking sprite
- Right-click and select "delete" to delete each of the existing costumes
- Find the folder containing the different sprites from Piskel
- Click and drag each sprite image into the Costumes section to import them
- Make sure they stay in the proper order!
Test out the app by moving the sprite around the screen. It should have the same animation as the Piskel!
Next Steps - Options
- Update the code in Snap to make a game!
- Update the sprite costume in Piskel, and import it back into Snap!
- Create a totally new Piskel!