1 Attachment(s)
Animation with DCs and Backbuffers
AFTER MANY HOURS...
I have finally been able to grasp how to use:
and so...i have attatched my application for open source.
maybe you can rate this post? :thumb:
Enjoy and happy programming!
http://img216.exs.cx/img216/2448/screen2lz.jpg
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
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.
Re: Animation with DCs and Backbuffers
Ok. at least nice too see it work. Keep up the good work.
ØØ
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.