2D Toolkit Forum
2D Toolkit => Support => Topic started by: dlmrky on October 21, 2014, 02:19:41 pm
-
Hi guys,
are any of your using 2DTK in your PSM/Vita for Unity projects? I have it working but the performance is not great. I'm wondering if it's down to 2DTK or PSM/Vita for Unity. Maybe a bit of both?
I'm thinking of stripping out 2DTK & testing it against Unity's native sprite and camera code. Has any one had a look into this already?
Thanks.
-
I developed an entire PSM game using TK2D, and performance was NOT an issue.
I ran into some framerate drops and crashes, but it was because I was loading too many sprite atlases onto the same scene.
Maybe that's your problem. Try to keep the number of sprite collections loaded per scene as low as possible.
-
Overdraw is usually the most common issue on PSVita / PSM due to the hardware. Try to make sure you're not drawing a ton of stuff on top of one another.
-
I've tweaked a few things and checked the overdraw. Have also implimented some pre-pooling and all together it's working a lot nicer. Thanks for the tips.