Log in

No account? Create an account
'Twas brillig, and the slithy toves did gyre and gimble in the wabe [entries|archive|friends|userinfo]

[ website | Beware the Jabberwock... ]
[ deviantArt | the-boggyb ]
[ FanFiction | Torkell ]
[ Tumblr | torkellr ]

[Random links| BBC news | Vulture Central | Slashdot | Dangerous Prototypes | LWN | Raspberry Pi]
[Fellow blogs| a Half Empty Glass | the Broken Cube | The Music Jungle | Please remove your feet | A letter from home]
[Other haunts| Un4seen Developments | Jazz 2 Online | EmuTalk.net | Feng's shui]

[Thursday 25th January 2007 at 10:43 pm]

[Tags|, , ]
[Where |Brighton, England]
[Feeling |calmcalm]
[Playing |Seekers and Dreamers ~ Graham Kendrick/Rumours of Angels]

I am such a geek.

One of the random things I thought of today was horribly abusing the level system in Jazz Jackrabbit 2 to actually show FMV cutscenes within the level.

Hmm... crank it down to 320x240 resolution, that gives 75 32x32 tiles per frame (10 across, 7.5 down). Actually, make that 80 tiles per frame as we can't code half tiles. Given that there are 1024 tiles available, and each animated one counts for one of those, this gives 11 frames of video. (Ignoring TSF as I at least don't have it)

But we can optimise this by coding similar tiles only once, and by making good use of static and/or tiled backgrounds. We could also reduce the picture size - if we drop the bottom (or possibly top) row of tiles, and only use 70 for each frame, we get at least two more frames of video.

So what can we do sensibly with this? Given that extra frames only cost tile space for new tiles, we could easily do a pair of (non-overlapping) talking heads and give each head a dozen frames or so. Use the game engine to show text captions by abusing sucker tubes and text events, or even record speech and play it back. JJ2 uses tracker-based music, so this could be abused to give sound. There's various tricks to reduce the size of a sample, so it should be possible to get a good dialogue going. The main limits for length are the complexity of the animation, size of the music file, and the maximum size of an animated tile. We could probably get away with a frame rate of 12fps, though higher is always better.

Hmm, I'll have to try and knock up a proof-of-concept of this.
Link | Previous Entry | Share | Next Entry[ One penny | Penny for your thoughts? ]

(Deleted comment)
[User Picture]From: boggyb
Friday 26th January 2007 at 5:31 pm (UTC)
I remember reading about that on the Jazz2online forums. Must get hold of it and fire up the Holiday Hare levels.
(Reply) (Parent) (Thread)