Hey everyone,
I few days ago, I completed converting the autopatcher to use the Windows Presentation Foundation (WPF). The main difference in using this foundation verse the Windows Forms framework is that WPF uses the graphics card. This means a few things; the main point being that graphical updates don't cause the window to flicker. It's a graphically smooth autopatcher.
Another difference is that the window is no longer a rectangle. Before, I used transparency to make it look like the window wasn't just a rectangle; however, it still included that transparency in the window size (so if you clicked on the transparent pixels, it would still count that as being in the autopatch window). Now, transparent pixels are not counted towards the window size. In between the leaves hanging out of the window and around the leaves, etc, there is now nothing. It's not included in the size of the window. Below, I'm selecting a file on my desktop in between the leaves. You can also see that it cuts the transparency a lot smoother than before.
[Only registered and activated users can see links. Click Here To Register...] [Only registered and activated users can see links. Click Here To Register...] [Only registered and activated users can see links. Click Here To Register...]
Windows Forms - Left
Windows Presentation Foundation - Center & Right
Anyways, that's it for now. The autopatcher is finished. Now I'm going to get to work on making monsters spawn in the game. Then I'll work more on attacks and the kill cycle. If I don't have the time to work on large systems like that, I'll just do some small NPC stuff (finals are coming up quickly and I need to prepare for that). More development is coming soon!
Cheers,
Spirited Fang
PS: I've also started a second, smaller project since I need a client application in my portfolio very soon. The autopatcher client was a good introduction to using the Windows Presentation Foundation, and so I've used that idea to start creating a development environment for Conquer Online Design Maps (DMAPs). Here's a picture of it from a day ago:
[Only registered and activated users can see links. Click Here To Register...]
It might not look like much, and that's because I'm not showing you anything yet. I'm making no promises of completing this work, but it is a tool that I'd love to have, so hopefully that'll inspire me to work on it.
There's a lot of background work done so far (such as how the maps will be displayed and moved in the window and how the application's main menu is formatted), but it's not loading maps as of yet. That will be my next step after creating the user's configuration file. The application is designed to be very easy to use (sort of like how Microsoft Office is easy to use). I'd like to add an updating system to it, a server backup option, feedback system, and other useful tools later on. If you have any opinions about this secondary development, let me know. Cheers.