This version fixes most of the problems that v5.1 came with, including all the mess up with viewports and so on.
Some function names were also modified, (such as initBlackScreens, which now is simply called "initScreens", for example).
Yes! Exactly! It's happening! Now coming with a "multi screen" system, the ultimate utilities script! You just need to go here and follow the instructions.
The new version includes the following features and changes:
NEW FEATURES:
U.A.R.M. functions for sprites! You can now handle simple physics with sprites by usingeither of thefollowing functions, for respectively calculate just the next position (in case you wanted your scripts to do more things in parallel), or the next n positions:
SCREEN MODULES! From now on you will be able to control "top screen" and "bottom screen" positions so that with just changing the corresponding constants (described below) you change the position of all my script sprites that are respectively in the first one or in the second one (note: there will be an update for each of them soon, so this feature may not be working for a short while).
SM_SCREEN_SYSTEM_WIDTH
SM_SCREEN_SYSTEM_HEIGHT
TOP_SCREEN_X
TOP_SCREEN_Y
BTM_SCREEN_X
BTM_SCREEN_Y
CHANGES:
Added SMObject, SMSprite and SMScreen classes for handling scripts. You don't have to know how these works but in case you want, they basically implement the Composite design pattern for handling sprites in a much easier way. (some polishment might be applied to them in a near future, though)
IMPORTANT!: From now on SUSc will be placed not below but on top of all my scripts.