Advertisement

Flicker Free drawing hex tiles using VC++ MFC, need help

Started by February 10, 2001 06:29 PM
1 comment, last by risc72 23 years, 11 months ago
Hi All, I''m working on my 2D hex tile engine. I have everything working at this time the only thing left to do is remove the flickering. I have one bitmap file with my tiles including one tile being as mask (black colour being transparent colour). Drawing the tiles with my function (using multiple DCs) seems to create not so bad flickering but I would like to remove it completely. Is there a MFC graphics expert here that could help me ? I seems to be a bit confused about the whole thing. Thanks... Peter
It is hard to get really good graphics in pure windows like that. I am not an MFC expert, but I do know that it would be much easier to get good graphics if you used DirectX (or OpenGL).
Advertisement
I agree that more complex graphics would be better to do either in Directx or OpenGL but MFC and WinApi32 with few tricks can do magic as well. Its not hard just requries a bit of messing around. Besides learning a new API just for graphics isn''t worth it for me right now. I did solve my problem today, hopefully one day I will move into 3D - perefrably OpenGL. I do like working with MFC as it is really great for the game logic and all the interface, it saves me a lot of time for my game development.

Peter

PS: I know how to use MFC with Directx8 but I don''t have enough time nor knowledge to make the switch yet from GDI.

This topic is closed to new replies.

Advertisement