Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello i'm building a basic 2D Graphics game as a learning exercise for Graphics programing. I'm using VB.Net and GDI+ (until i feel confident to move onto DirectDraw)

My Problem.

I can user GDI to draw a single bitmap on the screen and get it to move around the screen.

What i'm now looking to do is build a bitmap from a collection of bitmap files on my computer which between them will represent the current state of the level (level, current player state, etc) and then draw that new bitmap to the screen.

How do i do this?

 

Cheers

Posted

Don't know if this will help but the way I used to do that in VB6 was to have the 'sprites' arrayed out on a single large bitmap.

You can then blit from the appropriate point on your bitmap to your target destination.

I'm sure you could apply the same thing to GDI+.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...