• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Question - Code combining surfaces when blending


the code i am using is based off this video

i am trying to use this system so that only specific objects will blend, so that object1 will only blend with others of object1, and object2 will do the same, but object 1 and object 2 wont blend with one another.

i have been able to do this but i have to draw a surface for every single object type, which is not an ideal situation, it works but im making the machine work much harder then it should.

is their a way to draw everything, then put them all only one surface and then show that to the player, as opposed to having multiple surfaces all being draw on the screen?

thank you.
 
Top