|
-
Feb 8th, 2005, 01:53 AM
#1
Thread Starter
Junior Member
-
Feb 8th, 2005, 06:58 AM
#2
Re: Animation with DCs and Backbuffers
Yeah. that is worth a rating. Maybe you will allow Electroman to add it to the code bank later on, so it is easier to find for new users. So we can redirect them to your sample when they are asking for back buffers.
BTW did you find out what the bug was?
I have here attached a sample version of your code. I just changed the back color of the real image, and then changed to the opposite colors on the mask. That way you will have to swith the vbSrcPaint and vbSrcAnd flags, just as I said, and it will still work.
Link to sample:
http://www.noteme.com/prog/mariomation2.zip
-
Feb 8th, 2005, 01:38 PM
#3
Thread Starter
Junior Member
Re: Animation with DCs and Backbuffers
yeah, actually the bug was in my animation and my blitting to the buffer.
i can't remember exactly what it was. I think i was trying to blit the entire tileset to the image as opposed to just a section at a time.
as far as allowing electroman to adding it to the code bank, i have no objection.
Last edited by neverbourn; Feb 8th, 2005 at 01:41 PM.
- Reusing pieces of code is like picking off sentences
from other people's stories and trying to make a magazine article.
- The concept of a program can be done in less than ten minutes.
The difficult part is sitting at the computer for hours on end making it happen.
-
Feb 8th, 2005, 01:41 PM
#4
Re: Animation with DCs and Backbuffers
Ok. at least nice too see it work. Keep up the good work.
ØØ
-
Feb 8th, 2005, 01:42 PM
#5
Thread Starter
Junior Member
Re: Animation with DCs and Backbuffers
Thank you. I think it took me long enough, but I am very excited to have that knowledge now.
this means I can advance in my programming and maybe sometime come out with a game of my own.
- Reusing pieces of code is like picking off sentences
from other people's stories and trying to make a magazine article.
- The concept of a program can be done in less than ten minutes.
The difficult part is sitting at the computer for hours on end making it happen.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|