Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FBC 0.12b: GET/PUT bug...
#1
There is a bug on GET/PUT,.. it puts stuff in there that's not supose to be there.. (e.i. I GET a gray area, when I PUT it, there lil blue dots, or parts from another area nowhere near I got from..) Smile
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply
#2
put (0,0), image, trans




?



edit: posting code is good
Reply
#3
PUT (0,0), imagename, PSET

There.. :wink: .. not all the time, I was GETting something, it PUT fine just with a lil blue dot extra... I had onther GET, now when the first image PUTs, it scrampls up... its a bug 4 sure by looks...

How does trans know what color to make trans, or is black standard for that? or white? :???: :lol:
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply
#4
You sure you allocated a big enough buffer for your sprite? That could be the problem.
Posting your whole program if it's small enough could help a lot...

The trans color for 8bit mode is always color index 0 (black on default palette).
ngelo Mottola - EC++
Reply
#5
Smile Right, I misscalculated one of the buffers, I re-calculated right, I still got a outa-place pixel, cept in a diff place,.... strange...
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply
#6
also, so you know, for higher graphics mode (16, 24, 32) the transparent color is magic pink. (255, 0, 255)
Jumping Jahoolipers!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)