BLock Image Transfer - Involves copying one bitmap onto another using a raster operator.
Questions tagged [blit]
303 questions
0
votes
0 answers
glBlitFramebuffer() renders empty screen when fragment out is vec3
I am using OpenGL 4.0, formerly was using 3.3 I have a fragment shader with 3 outputs -each one is vec3 .I am writing these outputs to some FBO then trying to test the content using The glBlitFramebuffer() method.I am getting the empty screen.Now ,I…

Michael IV
- 11,016
- 12
- 92
- 223
0
votes
1 answer
How do I use SDL to blit an image in multiply mode?
In Pygame, there is a special_flags argument to surface.blit. This let you combine pixels in ways different than simply copying them. For example, the multiply mode lets you multiply the pixels together.
How do I achieve this using SDL from C? I've…
Anonymous
-1
votes
0 answers
Why won't my screen blit the text anymore?
I wanted to make and indie RPG game put I have come to a problem which is that the screen(surface) doesn't blit the txt onto the speech box i have searched for the reason why it would not blit text on youtube but they say i need to fill the screen…

Tay Whitter
- 15
- 4
-1
votes
0 answers
Why are my 'BACK' and 'RESUME' buttons so laggy and glitchy? Game made with pygame library
The title pretty much sums up the problem I am having. I am making a game using the Pygame library but the back and resume buttons keep on lagging and glitching. The back button is disappearing and reappearing multiple times in a second but it works…

yzdanh
- 1
- 2
-1
votes
0 answers
Blitting an image directly on top of another image in pygame
So I am trying to make a space-invaders game, and decided to have a missile weapon that would have a trigger. If you didn't hit the trigger, whatever alien it hit died and nothing else. If you do trigger it, the code would teleport the missile away…

T3CHN0BL4ST
- 21
- 3
-1
votes
1 answer
ncurses blit / buffer
I am looking for a way to create a "buffer" which I can directly copy, or blit, onto a WINDOW* using ncurses. I know there are subwindows, but since the only way to move/ resize them is to create a whole new subwindow, they are not a great fit. I'm…

AlgoRythm
- 1,196
- 10
- 31
-1
votes
1 answer
How to 'blit' sprites onto window for a set time
I have searched for other similiar threads but nothing came up. what i want to be able to is blit a sprite onto the window for lets say 5 seconds (5000 milliseconds) and at when time is up, it unblits it. thank you.
class Flag():
def…

Ali mickey
- 3
- 5
-1
votes
1 answer
Why does the image not show up on the screen when I blit it?
Using Python (and Pygame), I have been creating a short one-screen game and I code each part in a different window. In my Home Screen, when I blit the play button onto the screen, it doesn't appear. I am new to Python and Pygame. This is my…

Jetter126
- 23
- 6
-1
votes
1 answer
matplotlib image animation not displayed if all entries in first frame are identical
I can't seem to get a TimedAnimation animation of an image to display anything if all entries in the initial frame contain the same value. For example, the following doesn't display anything if the indicated line remains commented out. Changing the…

lebedov
- 1,371
- 2
- 12
- 27
-1
votes
1 answer
Python 3.4 - Pygame: Problems changing sprite image based on direction of travel
I'm stuck trying to change the sprite blitted to the screen (when moving upwards) to a back view of the sprite.
Currently the sprite is just blitted to the white background on each key press at the most recent x and y coordinates and not fluidly…

Croutom
- 1
- 1
-1
votes
4 answers
Opening text file in C++ and blitting result onto screen
How are you able to blit the result from a text file onto a C++ application GUI?
For example:
Text file contains ABC.
After I opened the text file from GetOpenFileName, how am I supposed to blit the result out since cout is unable to serve its…

Newbie
- 145
- 2
- 7
- 23
-1
votes
1 answer
Blitting 2D image on top of 3D Matplotlib figure
I would like to blit a 2d image (like a png) to a location in 3-space on a 3D matplotlib figure. Essentially, I want the image to always be facing the user regardless of how the plot is rotated. It would be best if the blitted image did not scale…

knelson
- 93
- 1
- 6
-1
votes
2 answers
SDL C Program freezes on sdl_blitsurface
I'm having an issue with a program I'm working on. Occasionally, it will just freeze. No errors or anything.
The game is a multiplayer game where you fly a ship around. Pictures of other players and powerups move in and out of view depending on…

Justin Lloyd
- 123
- 3
- 11
-1
votes
1 answer
Endless amounts of one line of code, removed after event, produced after another
My game shoots a bullet, but the problem is you cannot shoot more bullets than the amount you put in (imageA, imageB, imageC, etc...) So, I'd have to write "blit blah blah imageA" about 30 times for every gun for every player. This is just…

Bluetiger6001
- 151
- 2
- 3
- 9
-1
votes
2 answers
ValueError: list.remove(x): x not in list ~ Pygame (Python)
I am trying to write a rip off 'Brick Breaker' game in Pygame. But I am currently stuck and do not know what to do know.
(blah blah blah, explain scenario much more clearly, blah blah blah, clear, clear scenario)
(I need more random text so I can…

user1952081
- 23
- 1
- 8