Draw animimage to desktopbuffer

BlitzPlus Forums/BlitzPlus Programming/Draw animimage to desktopbuffer

Sonari Eclipsi Onimari(Posted 2008) [#1]
I am writting a simple screenlet for my GF because she is obsessed with frogs. Anyway, is there an alternative to cls because that causes the whole thing to black out. Otherwise, it leaves frog trails. I've been programming with Blitz for years, but I haven't used it lately, so you needn't dummy it down for me. Thanks!


Phil Newton(Posted 2008) [#2]
Here's something I whipped, so it's a little rough. Basically all you do is grab the current desktop buffer and use DrawBlock instead of Cls to reset the background. The only problem I've found is it doesn't seem to catch any events so I'm not sure how you'd quit such an app. Anyway, hope this helps :)



And yes, frogs are awesome.