I’m trying to make a menu for my game, but something is wrong with pixel2d. Take a look at the following code:
self.logo = OnscreenImage(image = 'Logo.png') # Image size is 728x100 self.logo.reparentTo(pixel2d) self.logo.setPos(0, 0, 0) self.logo.setScale(364, 1, 50)
It loads an image, but it appears in the top left corner and no matter what position I set, it stays in the same place all the time. Is it a bug or I misunderstood something about pixel2d?