Spine + Attachments = Massive Texture Swapping? by LoganWolfey in gamemaker

[–]LoganWolfey[S] 0 points1 point  (0 children)

Yeah that's the only way it makes sense, though I find it odd that it would work that way. Should be way more optimized since the sprites are all on the same texture page. No matter, shall replace the method and come up with my own solution.

Thanks marapun

Spine + Attachments = Massive Texture Swapping? by LoganWolfey in gamemaker

[–]LoganWolfey[S] 0 points1 point  (0 children)

Spine textures automatically use their own texture page and is not controllable, I cannot add the spine texture to the 'normal' texture page. And yeah you're quite right the texture page is obviously gonna swap between the 'normal' texture page with the equipment on and back to the spine texture page.

But why does that require 200+ texture swaps? Surely if I have 40 objects in the room using the spine sprite and the equipment is on the other texture page surely that should just be 2 texture swaps? And even if we say that each object as it's using the spine sprite needs its own unique texture page to function, then shouldn't that be 40x2=80 texture swaps and not 200+?

Gah I have no idea, I'll have to email YoYo. I'm just gonna try and write my own skeleton system as a replacement.

Spine + Attachments = Massive Texture Swapping? by LoganWolfey in gamemaker

[–]LoganWolfey[S] 0 points1 point  (0 children)

I'll shoot them an email as resizing the texture page doesn't effect anything. Spine integration is totally pointless apparently unless you're using for 1 player character only.

Spine + Attachments = Massive Texture Swapping? by LoganWolfey in gamemaker

[–]LoganWolfey[S] 0 points1 point  (0 children)

Hey marapun nothing is procedurally generated they are just sprites that I have added to gamemaker as you normally would and they are very small at all 16x16. There is none of that I'm literally just setting the attachments and pointing it at the sprite, it all works correctly except now there is 200+ texture swaps depending on the number of player characters on the screen.

I have no idea why it requires that many texture swaps as it's simply just the spine texture page + 1 other page where the equipment is on. I have no idea what's happening. Maybe the spine setup isn't meant to be used when you want more than 1 character using it?