C
CedSharp
Guest
Unless I'm wrong, it seems (from what I've read in other posts) that surfaces break the batching process and that a lot of "higher level" of programming developers avoid using them.
If that is the case, I'm ready to drop surfaces from the features I use, but I have a couple questions.
First, if I drop surfaces, is there any way to draw clipped? One of the main reason I used surfaces is to allow to draw on a defined area without any "overflow". Is there an other way to do this?
Second, another reason I use surfaces is to draw something that requires lots of computing. I use surfaces so I can draw only once or every so often, and then I know it's kept in memory and I can "just draw it". Obviously it's volatile but that just mean I gotta manage re-drawing in those situations. Is there a way to "draw and save" something if we don't use surfaces?
Finally, GameMaker's target and final destination for all rendering is 'application_surface'. Is it really that bad to use surfaces if in the end everything ends up on a surface?
Maybe this post is completely pointless, but I'm very confused and I am not ready to drop surfaces unless I understand why I have to do so.
Thanks for anyone taking the time to illuminate me.
If that is the case, I'm ready to drop surfaces from the features I use, but I have a couple questions.
First, if I drop surfaces, is there any way to draw clipped? One of the main reason I used surfaces is to allow to draw on a defined area without any "overflow". Is there an other way to do this?
Second, another reason I use surfaces is to draw something that requires lots of computing. I use surfaces so I can draw only once or every so often, and then I know it's kept in memory and I can "just draw it". Obviously it's volatile but that just mean I gotta manage re-drawing in those situations. Is there a way to "draw and save" something if we don't use surfaces?
Finally, GameMaker's target and final destination for all rendering is 'application_surface'. Is it really that bad to use surfaces if in the end everything ends up on a surface?
Maybe this post is completely pointless, but I'm very confused and I am not ready to drop surfaces unless I understand why I have to do so.
Thanks for anyone taking the time to illuminate me.