ScratchData LogoScratchData
Back to deck26's profile

Variable range costume changing

DEdeck26•Created September 7, 2017
Variable range costume changing
9
8
531 views
View on Scratch

Instructions

Starts off in 'still' mode. Press S for still, R for running, J for jump and C for crouch. Obviously in a real project the costumes would show the appropriate actions rather than it being in words. Version 1 - press and release key Version 2 - press and hold key or it will go back to still

Description

The idea of this demo is to show that you can handle different ranges of costumes with a single script rather than having different scripts for eg running, walking, jumping etc. In the demo there are 2 costumes for still, 5 for running, 3 for jumping and 6 for crouching but the same script handles the animation for each.

Project Details

Project ID173573727
CreatedSeptember 7, 2017
Last ModifiedApril 2, 2024
SharedSeptember 7, 2017
Visibilityvisible
CommentsAllowed