Thursday, March 30, 2006

demo #2.7AndrewJacksonAndrewJackson

New in this demo:
  • Background music!
  • Sound effect!
  • Arrow blocks!
  • Press up/down to change the yin yang!
  • 390% larger file (1.8 MB)!
demo e

Wednesday, March 29, 2006

Use the source, Luke!

Here's the source code for what I have so far: ugitha.zip
(updated 4/17)

Tuesday, March 28, 2006

Demo #2

This demo includes some of Drew's graphics (everything except the bullets) and the gun can finally shoot. (It turns out learning line-drawing algorithms in Graphics and Animation wasn't a waste of time, after all.) The background is also in tiled mode now, not that many, if any, tiles are repeated, but it's easier to do layers this way.

Demo 2

Thursday, March 23, 2006

The Classical Elements


ElementLetterColorPrimary QualitySecondary QualityPolyhedronhumor
WaterU (Υ; udor = water)blueColdWeticosahedron (20)phlegm
EarthG (Γ; gaia = earth)greenDryColdcube (6)black bile
SpiritI (Ι; Idea = idea)---dodecahedron (12)-
FireTh (or EI) (Θ; Thermos = heat or ΕΙ; Eelios = Sun)redHotDrytetrahedron (4)yellow bile
AirA (Α; Aer = air)yellowWetHotoctahedron (8)blood

Wednesday, March 22, 2006

16x16 blocks?

The blocks in the demo seem awfully small. So I increased the size from 8x8 to 16x16. They seem a little too big now. I almost want to make them 16x16 with part invisible so it looks 12x12, even though that wouldn't fit evenly in the vertical direction. What size is best?

Here are two screen shots:

8x8 blocks 16x16 blocks
(Note: these are pixel-accurate, not necessarily size-accurate. On my 15.4-inch widescreen (16:10) laptop monitor, it looks about the same size as my GBA screen at 1280x800. Your mileage may vary. Void where prohibited. An actual GBA screen is 61.2 mm x 40.8 mm = 2.41" x 1.61".)

16x16 demo

Tuesday, March 21, 2006

Demo

In this demo, an endless stream of alternating black and white blocks scroll across the top of the screen. The gun can be rotated clockwise and counter-clockwise with the left and right buttons, but cannot fire.

demo
VBAwin (GBA emulator)

Sunday, March 12, 2006

Usenti

Usenti is a helpful utility for converting graphics for gba. It's basically MSPaint with some good palette tools and the ability to export to a gba format. Sometimes it's best to open an existing image in Photoshop/GIMP to resize it and save it as an indexed bitmap (256 or 16 color), then open it in usenti, make any necessary palette adjustments, then export to c files. Remember that the first entry in the palette (top left in the palette window) is transparent. You should check the "header" box when you export so usenti creates both a .h and a .c/.cpp file, which I haven't seen any other gba utilities do.