code of spriterx