 |
This was a simple horizontal scroller, using all 4 tile planes in mode 0
the opening screen was all in sprites so that the background can be setup, (the center is 256 colour,
the edges 16)
at some point I'll do better graphics, and document the background generating state machines.
|  |
|  |
| | lots of random enemies, (same body as you just different heads, and palettes
each head/palette changes the behaviour (ish)
|  |
| | there are eleven weapons in the demo, but you can define as many as you like
|  |
|  |
|  |
|  |
| | the explosion is ONE 64x64 sprite, with a bit of rotate and scale
|  |
| | some enemies can be killed with one L1 grenade
|  |
| | some can't!!
|  |
| | two does the trick
|  |
| | but an L2 grenade will sort them out
|  |
|  
| | Downloads
| | Binary only [61K]
| | Sources (not bitmaps) [157K]
| | Full sources and bitmaps [304K]
|  
| This was written between Jan 23rd and Fed 3rd, the platforms where created by hand sunday afternoon, there are still a few bugs, as the original form (Fri 1st Night) 'A' was fire and you could only use secondary weapon whilst crouched ('down' +'A') rather than 'B', but I changed my mind at the last minute and allowed both to work in crouch and only primary whilst standing, unfortunatly this did not get a full tested and there are some interesting bugs (but my play tester actually likes the bug).
currently the background is made of two layers, that can be flipped horizontally, I had indended to add
either several sets, or allow for multipul layers to be in ROM, but time beat me.
there are only 4 types of foreground object, but plenty of space in the tile map for more, and there is about 8K of vram free that could be used for tiles on one of the layers with a little fiddling of the memory map.
The AI NEEDS working on, it was cludged together, then cut, kicked and bruised, it did not fare too well and the final version is too weak in my mind, maybe I'll put a real state machine in there with a bit more idea of what is going on.
As it stands adding weapons, that reuse the same sprites is easy, adding sprites might not be so simple, there is not a lot of space left, there are 8 motion frames (primary weapon only) and two fireing (rest and firing) and two crouched (resting, fireing) the secondary only has the crouched two.
I might play with coping the frames from ROM into VRAM, on each change, this would allow far more weapons
do not expect readable source, it was written so quickly I did not comment it much, and a lot was changed, so some are wrong. and as I was writing it in one hit, I could remember what I was doing so I did not need to rely on my comments. but if you do was to hack it about, please do.
| |  |