Objects vs sprites
In this world there are many objects, like cars, trains and kebabs.
All of these object look a certain way (a property) and do certain things (have attributes)
A car is an object
All of these object look a certain way (a property) and do certain things (have attributes)
A car is an object
Object vs Sprites
An object can exist as pure code (like the ghost above with no sheet). You couldn't see ghost until he put a sheet on. In this case, the sheet is the object's sprite. The sprite is white, but a programmer might change it to blue or red.
Objects have code, sprites do not.
Objects are coded to do things, a sprite is just a picture (or a series of pictures like the car above).
A programmer code objects, a graphic artist draws sprites. The programmer then assigns the sprite to the object.
Objects have code, sprites do not.
Objects are coded to do things, a sprite is just a picture (or a series of pictures like the car above).
A programmer code objects, a graphic artist draws sprites. The programmer then assigns the sprite to the object.