70 likes | 231 Views
Characters With Two (Or More) Sprites. APSR3S September 2012. Basic Concept. Often, a game character will have a starting position when nothing is happening to them: For example, a stick figure could just be standing around:
E N D
Characters With Two (Or More) Sprites APSR3S September 2012
Basic Concept Often, a game character will have a starting position when nothing is happening to them: • For example, a stick figure could just be standing around: • When things start to happen, EACH action can start from this picture and then develop into its own sprite…
One Possible Action: Shuffle Right Mr. B used the basic stick figure from the previous slide to produce a “shuffle” action… • As in the tank/spaceship assignment, the first picture is copied, pasted, and modified to produce a strip of images: • When imported into Stencyl, these look like a “shuffle to the right” (dance move).
Another Possible Action: Jumping Again, with the same starting image from slide #2, a jumping action can be produced… • Start with the “resting” picture, and then copy, paste, and modify to produce another strip of images to make a sprite: • If you notice, jumps have directions (left and right) in most games. The above was a right jump…
Importing into Stencyl At the end of the tank/spaceship assignment, you imported your sprite into Stencyl. It is assumed that everyone knows how to do this from last week. Talk to Mr. B if you need help doing this… • For this current assignment, you will need to create a NEW Stencyl game and use what you have learned from the tutorial and last week’s assignments…
Your Task • Create a “resting” picture for a character. This character can be anything appropriate for a game, and we will be using it in future assignments. This picture is what the player will see when nothing is happening to the character… • Create a first sprite for one action which the character will be doing. For example, a jumping action. Use the “resting” picture from #1 as your first picture! Import this sprite into Stencyl as one animation for this character.
Your Task… 3) Create a second sprite for another action which the character will be doing. For example, a running action. Again, use the “resting” picture from #1 as your first picture! Import this sprite into Stencyl so that your character will now have two animations… 4) Create a simple scene for your character to operate in. Think of this as a “testing” scene. 5) Work on how to control these actions. You will have to know a bit about scenes, controls, and behaviours in Stencyl in order to do this effectively. Mr. B will likely give pointers for this step, if needed, for the whole class…