Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I’m delighted to hear that you loved the game ❤️🙂.

Yeah, I’ll definitely have to experiment more with camera stuff. By drag you mean the left and right rotation of camera, right? The constant camera shake isn’t causing any problems, right?

I’ve got fps dips at oranges area too 😂. You are correct about combining objects. In fact, it is lagging due to too many physics objects in scene. I’ll make sure I don’t do dumb stuff like this again

(+1)

Yup! the left and right panning of the camera is what I meant. For the physics objects, maybe you could also try to destroy them a few seconds after they are no longer visible by the camera, or based on distance. But it is on the right track :D

Gotcha. I do Destroy() the objects using an invisible wall behind the player. But both Instantiate() (spawning function) and Destroy() itself has some performance costs. It’s better to use object pooling in this case… so we reuse same oranges again n again. I’m just not experienced enough using object pooling, so I didn’t end up using it. 😂

(+1)

That's fine, optimization is usually the last thing one usually thinks about. I don't do it most of the time haha. The wall idea works great, good workaround! Nice!