Steves Yaroze Page. |
|
Roll Your Own To make these kind of classes is incredibly easy. Just take a pile of undecipherable C code (the more structures the better), stick some of those curly brace things around them, and call it something else. Then, this is tricky bit, take those extremely long 'function names', like... LoadSpriteIntoMemoryAndInitialiseItAndThenStickItInTheMiddleOfTheScreenSomewhereButOnlyForThisIndividualSpriteAsIFullUnderstandThatIfIAddAnotherSimilarSpriteIllHaveToCompletelyRewriteTheWholeEntireFunction... as I was saying, take this and break it down to something like... mySprite.load( BIG_BOSS_ADDRESS ) ; Then... mySprite.move(screenX/2,screenY/2 ); There, that's better. |
Sign My Guestbook
View My
Guestbook |