Hi there guys!
Well, I finally got an Android device, so I was very excited in porting my creations for mobile, but I am facing a lot of trouble with the frame rate
The game I am trying to port is Penguin Slide! (I uploaded it on Scirra Arcade. If you want to take a look: )
I used the Infinite Runner demo as a reference for some coding and asset design decisions, but I already changed some properties and file sizes (which caused some undesired changes on the game visuals, such as the thin ice texture)
- changed the background, that was a huge tile with the same size from the screen (480x640). it was divided into the thin ice and the snow borders (3 tiles, 64x64px)
- set Collision to 'No' to every object, except the penguin. The ice blocks and the popsicles only have it turned on while on screen.
- pixel rounding, WebGL to On, Sampling to Point, Clear Background to No and every layout's all layers' transparent to Yes
Now I am taking a look at the code. I am using some 'Every Tick' events, and using timescale as well. If they are directly responsible for the game running so slow, I don't know, but since they are key elements to the game, I don't know how to recreate this mechanic in another way.
Could you guys give me a hand and take a look at the code? I am trying everything but I am not getting much progress.
Thanks in advance, fellows!