Hey guys,
Is there any drawback to pasting the same sprite over and over in different coordinates on the screen, or should I use a separate sprite object for every location?
In my game I want the same wall sprite several times over on the screen and I'm thinking of doing something like this:
pseudo-code
{
paste sprite sprWall01, 0, 0
paste sprite sprWall01, 100, 0
paste sprite sprWall01, 0, 100
paste sprite sprWall01, 100, 100
etc.
}
I'm afraid that maybe it may limit me in the future. Do you think it will be faster on older computers or slower if I use a separate sprite object for each wall tile location? For ex:
pseudo-code
{
paste sprite sprWall01, 0, 0
paste sprite sprWall02, 100, 0
paste sprite sprWall03, 0, 100
paste sprite sprWall04, 100, 100
etc.
}
Ancient Chinese proverb: Man who runs behind car gets exhausted.
http://www.automatongames.com/