0% found this document useful (0 votes)
40 views

Wear

The document defines a Character Sprite Class for the game Super Mario World. The class contains properties common to character sprites like name, color, height, width, lives, and whether they are collidable. It also contains common methods like walk(), run(), jump(), evolve(), and death(). The document then provides Mario as an example object of this class, specifying his name, color, size, lives and that he is collidable, along with the methods he can perform.

Uploaded by

api-296001388
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views

Wear

The document defines a Character Sprite Class for the game Super Mario World. The class contains properties common to character sprites like name, color, height, width, lives, and whether they are collidable. It also contains common methods like walk(), run(), jump(), evolve(), and death(). The document then provides Mario as an example object of this class, specifying his name, color, size, lives and that he is collidable, along with the methods he can perform.

Uploaded by

api-296001388
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 2

A Character Sprite Class: Super Mario World

Sprite
name
colour
height
width
lives
collidable

name
colour
height
width
lives
collidable
walk()
run()
jump()
evolve()
death()

Class

Mario
Red
32
32
6
true
walk()
run()
jump()
evolve()
death()

Object

Characters
Name

Scott
Shelby

Name

Madison
Page

Name

Norman
Jayden

Name

Ethan
Mars

Height

65

Height

56

Height

510

Height

511

Width

1m

Width

89cm

Width

98cm

Width

98cm

Weight

250lbs

Weight

103lbs

Weight

157lbs

Weight

162lbs

Gender

Male

Gender

Female

Gender

Male

Gender

Male

XYZ
Position

0/0/50

XYZ
Position

0/56/50

XYZ Position

78/36/50

Items
Idle
Walk
Conscious
ness
Fail state
Talk

Interactions
Animation

Listening to
thoughts
Permadeath
Interactions

Items
Idle
Walk
Conscious
ness
Fail state
Talk

Interactions
Animation

Listening to
thoughts
Permadeath
Interactions

Items
Idle
Walk
Consciousne
ss
Fail state
Talk

Interactions
Animation

Listening to
thoughts
Permadeath
Interactions

XYZ
0/24/50
Position
Items
Idle
Walk
Conscio
usness
Fail
state
Talk

Interactio
ns
Animatio
n

Listening
to
thoughts
Permade
ath
Interactio
ns

You might also like