TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

The Greatest Justification For Messed-Up Video Game Graphics

45 点作者 fogus大约 13 年前

4 条评论

Flow大约 13 年前
As an old C64 hacker that implemented several sprite multiplexers I can write more about the difficulties they had.<p>First, the characters used one multicolored sprite(which gives you double-width pixels), and on top of that sprite they put a black-bordered monochrome(single-pixel widths) sprite to give the characters a cartoony feel.<p>Maybe the memory savings was from reusing frames from one of these sprites, I don't know.<p>All the above is for above the waist. Then, when the raster has painted the last line of those sprites, an IRQ occurs and the sprites are moved 21 pixels down and have different frames and perhaps even new colors assigned to them.<p>This is where the difficulties happen. You have to update 8 sprite y-positions and 8 sprite frame indices. Also up to 4 colors if that is also changed. You only have one scanline(63 cycles) to do this and one update is LDA + STA = 2 + 4 = 6 cycles.<p>So 8+8+4 moves is 20*6 cycles = 120 cycles. Just less than 2 scanlines.<p>They could have solves this by spreading out the sprites a bit in the y-direction so they had to do less but one more scanlines. I don't think anyone would even see this.<p>Most sprite multiplexers sorted the sprites by y-position and then did one IRQ per sprite. If you did this you'd do much less each time and if you could spare the IRQ overhead you'd easily could have 32 sprites on-screen.
评论 #3850694 未加载
评论 #3848639 未加载
rbanffy大约 13 年前
Without an explanation of why they had to make waistlines transparent to enable multi-player mode, it doesn't look very convincing. Couldn't they just move the torsos down or the legs up one pixel? I'm sure the C64 graphics hardware allowed that.<p>On an Apple II, I was, once, asked to move something half a pixel to the left. And I did it. ;-)
评论 #3847324 未加载
评论 #3847254 未加载
评论 #3847207 未加载
antidaily大约 13 年前
It was either that or remove Abobo's mustache. Clear choice.
bitwize大约 13 年前
Man I wish Capcom had traded glitchy graphics for the ability to swap characters in in PlayStation <i>X-Men vs. Street Fighter</i>...