Questions tagged [blit]

BLock Image Transfer - Involves copying one bitmap onto another using a raster operator.

303 questions
-2
votes
1 answer

Why is my blitted characted not moving in pygame?

I am making an RPG in Python using Pygame. My first step is to create my main character and let it move. But it isn't. This is my code: import pygame,random from pygame.locals import * pygame.init() black = (0,0,0) white = (255,255,255) red =…
Jetter126
  • 23
  • 6
-2
votes
1 answer

Variable not blitting in pygame?

In Pygame, I'm making a game with highscores. I want to blit a highscore variable onto the screen, called c but whenever I try to run the program, it freezes and I don't know why. How can I blit the variable c to the screen without it freezing? Here…
Brianna
  • 107
  • 2
  • 11
-5
votes
1 answer

What type of animation file should I add to a pygame game?

I want to make complex animation for my game but I don't know how to. I first thought that you have to add an animation file to the game and blit it. For example my game, every time you shoot and it touches a ghost it explodes. So the external…
user2727932
  • 133
  • 1
  • 3
  • 8
1 2 3
20
21