Pixel Measurement Conversions

A simple conversion guide from in-game pixels to numerical values

Gungeon measures its units in pixels. However, when making guns or otherwise using measurements for distance in Gungeon, we can't use pixels. Instead we have to convert them to a numerical value.

The equation itself is simple; n=x/16n = x/16 where n is the numerical equal and x is the amount of pixels you want to convert. An important thing to note is that when finding the pixel measurements you want to convert, remember to count from the bottom left corner of your sprite.

This equation is used to determine the hand positions on a gun, a gun's barrel offset, among other things.

Common pixel conversions:

Pixel Measurements

Numerical Measurements

1

0.0625

2

0.125

3

0.1875

4

0.25

5

0.3125

6

0.375

7

0.4375

8

0.5

9

0.5625

10

0.625

11

0.6875

12

0.75

13

0.8125

14

0.875

15

0.9375

16

1

Last updated