First things first, am I doing something wrong? I have used surfaces before, but I have only recently got back into gm after ages of not touching it. When using surfaces in a little test, I ran across a problem, when displayed the image is all fractured and white lines appear, I’ve whittled down the code to as simple as I can while still using surfaces, but I still get the fracturing.
creation bases=surface_create(500,333)
surface_set_target(bases)
draw_sprite(base,1,x,y)
surface_reset_target()
draw_surface(bases,x,y)
oh yeah, thanks.
i forgot about clearing the surface first.I never used surfaces, but that graphic effect looks cool :P
I never used surfaces until I tried advanced lighting, which made me realize that surfaces are actually pretty powerful as far as effects go.
Yeah, surfaces are great (in GM7 and above where that annoying scaling bug doesn't happen) (also, apart from the issues with alpha channels) (they're kinda slow sometimes) (oh yeah, the memory leaking gets pretty annoying).
(Juju has much surface experience)
Also, press CTRL+ALT+DEL in Vista or 7, or wait for the screensaver to appear. Then take a look at your (suddenly) non existing surface :/
That as well. Basically, they're great in principle and in the brief moments between bugs and tearing your hair out in frustration with the arcane blend modes, they're truly joyous.