GDI+ Question

Weber

New member
Joined
Feb 20, 2005
Messages
2
Programming Experience
5-10
Hey there,
Very new to VB.NET and was curious how does GDI+ compare to the API's Bitblt function. Would i be able to create a graphically simple game with GDI+?? Also is there a way to draw images with a transparent color? Thanks for the help.

Jordan Weber
www.pheonixsoftware.com
 

tyonuts

Well-known member
Joined
Dec 27, 2005
Messages
78
Location
Romania
Programming Experience
3-5
1.GDI+ is much better
2.You would be able to create even complex games.
3.You draw them like ordinary images, but if you draw them on the form or a panel, you get into trouble when moving the form.
 

Paszt

Staff member
Joined
Jun 3, 2004
Messages
1,500
Location
Raleigh, NC - USA
Programming Experience
Beginner
I'm wondering why you would get into trouble when moving the form after painting transparent images? Care to explain?

To answer the question about ways to draw the transparent image: the Bitmap class includes a method named MakeTransparent which allows you to make a certain color of the Bitmap transparent. Then you would use the System.Drawing.Graphics.DrawImage method to draw that Bitmap.

Wow, just realized how old the original post is.
 

n3tw0rk

Member
Joined
Feb 3, 2006
Messages
11
Programming Experience
Beginner
From what I've heard, GDI+ can be very slow if you're making a game that uses a lot of graphics, like an RPG. I've seen/played game that used bitblt and it was flawless (it was a Mario Volleyball game). Ran prefectly smooth, looked exactly like it would look if Nintendo made it. So isn't bitblt better for performance?
 
Top Bottom