   Win32: good for a simple real time strategy?
  Soooo, I''ve been thinking about making a really simple RTS, but nothing like starcraft. View from the top, max 32 units total on the map, no building or updates, just ordering units around and killing each other...What do you think, would that work in Win32? 
  When you say Win32, do you mean using the GDI functions?  BecauseDirectX applications are also Win32 applications.   Kami no Itte ga ore ni zettai naru! ;  I was thinking more of loading bitmaps...anyways, I just coded a simple program which does the basics of what I want to achieve. It works pretty smooth when ordering 100 objects around (on a scrolling backgroun) :D ! [edited by - Koobazaur on February 17, 2004 3:04:27 AM];  To do a transparency blit that works on all Win32 machines, you need to create two images, a mask image and the colour image. On the mask, make the transparent areas pure white and the opaque areas pure black. On the colour image, make the transparent areas pure black. You then need to do two blits, the first blit is the mask image using a dwRop value of SRCAND then blit the colour image using a dwRop of SRCPAINT.It''s probably best to do all this to an offscreen/back buffer then blit the offscreen/back buffer to the screen once all the drawing is completed.Skizz 