Ok so I have made a 3d version of space invaders. I made all the assets myself in Blender. I feel that itsit's a very basic game and my Galaxy Note 3 test device should handle it no problem. (although itsAlthough it's a few years old now so perhaps some kind of shader issue or something that my phone not updated enough for ?)
There are 55 enemies all with one mesh each. TheresThere's the flying saucer model and the player model. Then theres
Then there's a plane for a background, oh and 4 defensive meshsmeshes (although iveI've tested without these and the result is the same).
Basically, it all runs superbly (I have turned down much of the lighting , and graphics quality etc, but have left basic shadows in). However I notice that if the player just lets the phone sit there in game without touching it, there is very slight (but noticablenoticeable) frame lag.
All the enemies have a very short animation which moves its arms a small amount.
I could post the code but its massively unorganisedunorganized and really quite an embaressment hahaembarrassment (HAHA!). Also I'm not sure what parts are relevant so it would be a huge post.
Is there any known issues that can cause the lag only when not being touched? As iI feel like some of my old projects might have had this happening too but they've been deleted now unfortunately so I cantcan't really dabble with it.
Ps. It works smooth as silk in the Unity Editor androidAndroid 'emulator' and as I say, if I actually play the game on my phone itsit's smooth too.
Sadly, I havent yet learn to use GIThub or git in anyway so i cant link you to the actual code, so that will be next on my list of things to do once I have finished this game. If you feel seeing the code worthwhile let me know and I can post it or maybe even just send a zip of the project