Hamumu Wiki
Advertisement

Ninja Kitty Vs. The Nukebots was an entry in Mini-Ludum Dare 4. It uses .bmp files like the kind you might make with Paint as levels.

Making your own levels[]

Ninja Kitty uses images for levels, specifically 24-bit Bitmap (.bmp) files. Colors are mentioned in the format (RED, GREEN, BLUE). If you're using Paint, double-click on any colour in the pallet, then click Define Custom Colors, and fill in the numbers there.

  1. Your primary tool for level-editing is Paint, or any image-editing software that can save as a 24-bit Bitmap.
  2. Now, make the image whatever size you like, as long as it is a multiple of 8, or something. 64x64 is a known 'safe size', so it might be best to stick with that. If you're using an existing image, skip to the lower section.
  3. Draw whatever you like, in any colour. There are 3 'special' colours:
    • Black (0,0,0) creates a wall. You don't have to worry about putting wall around the edges, as Ninja-Kitty can't leave the screen. however, it generally looks better.
    • White (255,255,255) creates an empty space.
    • Magenta (255,0,255) specifies where Ninja Kitty will enter the level. You must include one pixel of this in every level. You can place more than one, and have multiple ninja-kitties, but they will all share the same health. Could be interesting to experiment with though.
    • Any other colour will create a Nukebot:
      • Less red = more life
      • Less green = faster movement
      • Less blue = faster fire rate
      • So lighter pixels are weaker, darker ones stronger.
  4. Save your level as a 24-color Bitmap, in your NinjaKitty\levels directory.
  5. Run Ninja Kitty, and your level should appear, ready for playing.

Creating a level from an image[]

This is pretty much the same as above. Copy and paste the image into paint, resizing as necessary. You just need to make sure that there are no nukebots that cannot be reached, there is one magenta pixel for where you will start, and that the image size is a multiple of 8 pixels. (8, 16, 24, 32, 40... 64...)

Sharing your levels[]

Most image hosting websites don't like Bitmaps, and will probably convert them into another image format. In order to prevent this, you can put your images in a .zip file, and host them on somewhere like Mediafire.

Advertisement