gritsenko / c3_spine_plugin

Spine plugin for construct 3
MIT License
24 stars 8 forks source link

Batch render skeletons #28

Closed MikalDev closed 4 years ago

MikalDev commented 4 years ago

Render all skeleton instances (including different skeletons) in one C3 Draw call. Only save and restore C3 GL parameters once per tick, which adds up to a big perf saving. Does not yet include removal of instances or not Spine rendering when offscreen (C3 Draw is skipped.)

Add new SpineBatch class which implements the batching.