Sunday, 1 June 2014

obligatory welcome post

In order to make it anywhere I'll need a few ways to communicate with everyone and whatnot. OK, let's start with a blog.

So far, fanzyflani is a "group" of... one person who, unfortunately, didn't start this life with five years of commercial experience. Not just any commercial experience, proven commercial experience. So I'm going down the avenue of game development.

With that said, what are my goals? Well, I want to...
  • Get used to a 9-to-5 schedule. Although to be blunt it's been more like 10-to-6. But hey, this is only my third day so far.
  • Learn some discipline. For this I'm staying off Twitter for the time being, because it's really easy to get distracted. (During the work period, that is.)
  • Suss out the New Zealand tax system. Well, OK, that's impossible, but I'm going to have to make enough sense of it to not get stung. Because of this, I can't exactly take on any paid team members unless they're able to help me with this.
  • Learn how to make graphics properly. Coding and music are my strong points. Actually drawing graphics, not so much. But I know how to do graphical effects well enough, so don't you worry about that side of things ;)
  • Get at least one of the Desura clients working on FreeBSD. The Windows one just crashes, and the Linux one is missing a library in my Linux emulation tree so the pages don't draw (ugh). Yes, I am actually developing on FreeBSD. It's better than having to put up with systemd and pulseaudio, and that includes the fact that I have dodgy graphics drivers.
  • Learn how to market things. This will be necessary if I'm going to get anywhere in this industry.
  • Finally, get paid.
So what have I been doing in the past 3 work days (OK, more like 2-and-a-bit)?

Well, I've been making an image editor for the Raspberry Pi. Because, well, have you ever tried using GIMP on that thing? If not, I strongly encourage that you try. (It will teach you patience.)

It's called pixra, which of course is the Lojban word for "picture". It's designed for editing 256-colour images. If you think 256 colours is a huge limitation, well, most "indie" games I've seen have trouble getting close to using 16, and I'm pretty sure Minecraft doesn't quite hit 256 in its textures (or could be adjusted to stay below it), so it's not that hard!

Despite the code being poorly optimised in places, it's actually pretty fast!

Here's the code on GitHub, of course:
https://github.com/fanzyflani/pixra

So far it does these things:
  • Create images
  • Load images
  • Save images
  • Draws with pencil
  • Picks colours from image
  • Edits colours in the palette
  • Selects boxes
  • Fills boxes
  • Shows a grid you can easily define and align
  • Zooms in/out
  • Scrolls
  • Copy/Cut/Paste (transparent or oblique)
  • Automatically scrolls while you draw/zoom and hit the edges. I cannot express how awesome this feature is, and I'm suprised I forgot this point and had to edit it in.
And what it does NOT do, which you might expect from the editor you use:
  • Pops up a main menu when you double-click on it, letting you pick your drawing size and/or filename. At the moment you need to put stuff into the commandline.
  • Undo. (Don't worry, I fully intend to add this.)
  • Edits 15/16/24/32bpp hi-colour/true-colour images. No, you will need a paletted image.
  • Edits images with 32bpp (alpha) palettes. Or anything that isn't a 24bpp palette.
  • Edits anything other than uncompressed .tga. (I intend on there being .png support at some stage, but for now you'll have to convert the .tga files you get with, say, ImageMagick.)
  • Edits more than one image at once.
  • Lets you resize images.
  • Lets you resize the window.
  • Actually uses the system clipboard.
  • Draws any text in the UI whatsoever.
That last point is mostly because I intended to use pixra itself to draw the font. I managed to do exactly that on an actual Raspi, which I've kindly converted to .png here:


You can use that for whatever you want. I'm mostly saying this because it kinda sucks. But it's a font, and that's what matters. (I intend to chuck in lower-case letters later.)

And here's an in-development build: https://dl.dropboxusercontent.com/u/32094129/pixra/pixra-indev1.zip
If the link doesn't work, I'll work something out - Dropbox accidentally flagged SDL.dll as a copyright violation.

Enjoy!

No comments:

Post a Comment