Search Result

Collapse
2 results in 0.0013 seconds.
Keywords
Members
Tags
pixel
  •  

  • Trolkar8
    started a topic Pixelperfect Collision, hitmask/blank error

    Pixelperfect Collision, hitmask/blank error

    I am trying to understand the way that pixelperfect collisions works, I have made a program using two circles(images) bouncing around in the pygame window. This is the script:
    Code:
    import pygame, importedfunctions, random
    pygame.init()
    clock = pygame.time.Clock()
    screen = pygame.display.set_mode([640,480])
    class BallClass(pygame.sprite.Sprite):
        def __init__(self, x,y):
            pygame.sprite.Sprite.__init__(self)
    ...
    See more | Go to post

  • ldima
    started a topic Get dimension of pixel in mm
    in C

    Get dimension of pixel in mm

    Hello.
    I have an image of size 640x480 pixels.
    It's possible to obtain the dimension in mm of one pixel from that image given only that size?I do not have the size of the image in mm,however.
    Thanks for helping.
    See more | Go to post
Working...