English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language

 
 
Thread Tools
Old 09 March 2014, 21:51   #1
xboxown
Registered User
 
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 676
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
Also I noticed it displayed all the strip image in one shot instead of a single sprite from the sprite sheet. Say for example that magnetic object on the left corner of the strip. I want to display this only from the strip and be able to plot it anywhere in the area. Where did I go wrong in this regard?
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	280
Size:	13.5 KB
ID:	39344  

Last edited by xboxown; 10 March 2014 at 20:31.
xboxown is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:49.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10840 seconds with 14 queries