09 March 2014, 21:51 | #1 |
Registered User
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 678
|
Problem with blitting....
I used the LoadBitMap method and I get something like this below. First the colors do come off completely wrong in every regard. I will display the code below in how I have written it so you can get the general idea:
Code:
Wbstartup:Nocli Bitmap 0, 320+64, 200+64, 8: bitmap 1, 320+64, 200+64, 8: Bitmap 2, 320+64, 200+64, 8 LoadBitmap 0, "work:robotstrip.iff",0 ..... Blitz AutoCookie On Buffer 0, 2*16384: Buffer 1, 2*16384 InitCopList 0, 44, 256, $10038, 8, 64, 0 DisplayPalette 0,0 CreateDisplay 0 Repeat VWait DisplayBitMap 0,0 GetaShape 0,0, 32, 32 BlitMode CookieMode MakeCookie 0 db=1-db UnBuffer db Use BitMap db BBlit db, 0,0,0 Until Joyb(0)=1 Free DisplayBitMap 0 Free DisplayPalette 0 Free BitMap 0 Last edited by xboxown; 10 March 2014 at 20:31. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
I need quick transparent blitting | meynaf | Coders. General | 15 | 13 November 2020 16:08 |
What's wrong with my blitting code? | MagerValp | Coders. System | 6 | 22 April 2013 15:00 |
Blitting question | sandruzzo | Coders. General | 30 | 06 April 2011 11:29 |
Blitting with size 1x255 | JackAsser | Coders. Tutorials | 10 | 16 February 2010 20:49 |
difference in blitting uae vs. hw | yoki | Coders. General | 5 | 15 July 2009 15:21 |
|
|