TGC Codebase Backup



Off Set Sprite on the middle by Nokiaqd

8th Nov 2009 5:41
Summary

Simple function which establishes Off Set Sprite on the middle.



Description



Code
                                    ` This code was downloaded from The Game Creators
                                    ` It is reproduced here with full permission
                                    ` http://www.thegamecreators.com
                                    
                                    Function OffSetSprite_to_M(spriteOffSet)
Offset Sprite spriteOffSet,sprite width(spriteOffSet)/2,sprite height(spriteOffSet)/2
EndFunction