Jump to content
sqoon

Q*bert, why the divided cubes?

Recommended Posts

Just what it says, why did VCS Q*bert have a noticeable gap down the middle of the play field? Was this an issue with Parker Bros. programmers being careless? Was it needed, or could Q*bert have been done without the divided play field??

Share this post


Link to post
Share on other sites
Hmm, the divide is because of the reflected playfield, but I'm not sure how the center cubes were done. Nukey or RevEng would be good ones to answer this, since they've both worked with the code. RevEng [url="http://www.atariage.com/forums/topic/179371-qbert-arcade-hack/"]added a nice title screen[/url] in the [url="http://www.atariage.com/forums/forum/66-atari-2600-hacks/"]2600 hacks forum[/url].

Screenshots ([u][i]Original[/i][/u] | [u][i]Mockup if PF reflected without gap[/i][/u] | [u][i]Mockup with no reflect PF[/i][/u])
[attachment=247970:Q-bert (1987) (Atari).png] [attachment=247977:Q-bert (1987) (Atari) reflect alt.png] [attachment=247972:Q-bert (1987) (Atari) no reflect.png]

I wonder if someone could hack it to use a non-reflected playfield and achieve the nice tight cubes...
I'm sure that would be a difficult undertaking. Edited by KevinMos3

Share this post


Link to post
Share on other sites
[quote name='KevinMos3' timestamp='1339554169' post='2540473']
Hmm, the divide is because of the reflected playfield, but I'm not sure how the center cubes were done.[/quote]

Yup, In a nutshell, Q*bert uses a reflected playfield and the gaps to lessen the amount of cycles it would otherwise take to draw a perfect pyramid.

The 2600 playfield only has registers to cover the first half of each line, and the second half can either be a repeat or reflection of the first half. To draw something different on the second half, you need to update the registers as the screen is being drawn, which takes up kernel time that could otherwise be spent drawing players, missiles, etc.

Consider the Q*bert pyramid with regard to the playfield PF0, PF1, and PF2 registers...

[attachment=248029:Qbert.png]

...with the gaps in place, you can see that PF0 on the left is a perfect reflection of PF0 on the right, and the same is true for PF1. The only playfield pixels that aren't symmetric are those under PF2, so only PF2 needs to be updated as the display is being drawn.

To draw a perfect pyramid (by updating all playfield registers on the fly) and maintain the existing single-line resolution, the kernel would likely need to be changed into something more exotic - like adding in support for DPC, DPC+, etc.

Certainly it would take a lot more than a simple graphics hack.

Share this post


Link to post
Share on other sites
That does not explain why the programmers did not mirror PF2 just as they did with PF0 and PF1. This would have resulted in only one noticeable gap directly down the exact center of the play field, and had the programmers started PF0 zone with the pixels nudged slightly more toward screen center, then a perfect pyramid could have been easily achievable. It definitely points to lazy programming by Parker Bros.

Share this post


Link to post
Share on other sites
[quote name='sqoon' timestamp='1339628735' post='2541037']
a perfect pyramid could have been easily achievable. It definitely points to lazy programming by Parker Bros.
[/quote]
easily achievable and Atari VCS programming are mutually exclusive. If you think it can be easily achieved, then prove it - show us your code, we're waiting.

Share this post


Link to post
Share on other sites
What I hated about that game is the 3D effect is blown by wrong shading on ½ the screen, (and the size of the pyramid is different than the arcade by 1 row) Now that I have learned a lot about how limited the 2600 is, I think it is actually a decent port all things considered.

Share this post


Link to post
Share on other sites
[quote name='sqoon' timestamp='1339628735' post='2541037']
That does not explain why the programmers did not mirror PF2 just as they did with PF0 and PF1. This would have resulted in only one noticeable gap directly down the exact center of the play field, and had the programmers started PF0 zone with the pixels nudged slightly more toward screen center, then a perfect pyramid could have been easily achievable. It definitely points to lazy programming by Parker Bros.
[/quote]

Look at PF2 in my screenshot. If it was mirrored then none of the center blocks would be shaded and they'd be too wide, and we'd have a thread asking why the center blocks are screwed-up in Q*bert.

Considering the complex display requirements for Q*bert and the limitations of the 2600, Dave Hampton made some [i]very[/i] clever trade-offs for Q*bert 2600. The last thing I'd call him would be lazy.

Share this post


Link to post
Share on other sites
[quote name='Pioneer4x4' timestamp='1339631520' post='2541055']What I hated about that game is the 3D effect is blown by wrong shading on ½ the screen, (and the size of the pyramid is different than the arcade by 1 row)...[/quote]

I never even noticed this until you pointed it out just now! :-o

[quote name='RevEng' timestamp='1339634469' post='2541080']...Dave Hampton made some [i]very[/i] clever trade-offs for Q*bert 2600. The last thing I'd call him would be lazy.[/quote]

Agreed. I always thought Q*bert on the 2600 looked amazing. To me, it was a graphical showcase... and Q*bert moves so smooth! The only thing I always wanted to change was the lift pads. I wanted them to be ovals instead of flat lines. Now that I know more about the 2600 display, I understand why they're like that, (but I'd still like ovals, hehe).

Share this post


Link to post
Share on other sites
[quote name='Pioneer4x4' timestamp='1339631520' post='2541055']
What I hated about that game is the 3D effect is blown by wrong shading on ½ the screen, (and the size of the pyramid is different than the arcade by 1 row) Now that I have learned a lot about how limited the 2600 is, I think it is actually a decent port all things considered.
[/quote]

Pretend there's a separate spotlight shining on each side of the tower, lighting both sides. It's a [i]feature[/i]!

Share this post


Link to post
Share on other sites
[quote name='Rex Dart' timestamp='1339676500' post='2541311']

Pretend there's a separate spotlight shining on each side of the tower, lighting both sides. It's a [i]feature[/i]!
[/quote]
I LIKE IT! Maybe I'll try to hack it so both sides of the cubes are blank, play like a dark level. I guess I need to revisit this, I was such a fan of the arcade, I never got past the 2600 ports differences.

Share this post


Link to post
Share on other sites
[quote name='SpiceWare' timestamp='1339630413' post='2541044']
[quote name='sqoon' timestamp='1339628735' post='2541037']
a perfect pyramid could have been easily achievable. It definitely points to lazy programming by Parker Bros.
[/quote]
easily achievable and Atari VCS programming are mutually exclusive. If you think it can be easily achieved, then prove it - show us your code, we're waiting.
[/quote]
I always get a kick out of people saying something is easy when they obviously have no idea what they are talking about...unless sqoon is actually a VCS programmer and in that case I will second your "prove it" notion :)

Share this post


Link to post
Share on other sites
[quote name='Crazy Climber' timestamp='1339686763' post='2541382']
[quote name='SpiceWare' timestamp='1339630413' post='2541044']
[quote name='sqoon' timestamp='1339628735' post='2541037']
a perfect pyramid could have been easily achievable. It definitely points to lazy programming by Parker Bros.
[/quote]
easily achievable and Atari VCS programming are mutually exclusive. If you think it can be easily achieved, then prove it - show us your code, we're waiting.
[/quote]
I always get a kick out of people saying something is easy when they obviously have no idea what they are talking about...unless sqoon is actually a VCS programmer and in that case I will second your "prove it" notion :)
[/quote]
Also keep in mind that back then programmers were under deadlines to get things done. Today homebrew authors have the luxury to take as long as they need to program a game, but back then most games had a 3-5 month development cycle. So even if something was 'easy to fix' that doesn't mean they had the time to do it.

Share this post


Link to post
Share on other sites
[quote name='Crazy Climber' timestamp='1339686763' post='2541382']
[quote name='SpiceWare' timestamp='1339630413' post='2541044']
[quote name='sqoon' timestamp='1339628735' post='2541037']
a perfect pyramid could have been easily achievable. It definitely points to lazy programming by Parker Bros.
[/quote]
easily achievable and Atari VCS programming are mutually exclusive. If you think it can be easily achieved, then prove it - show us your code, we're waiting.
[/quote]
I always get a kick out of people saying something is easy when they obviously have no idea what they are talking about...unless sqoon is actually a VCS programmer and in that case I will second your "prove it" notion :)
[/quote]

Just like the guy making the Knight Rider game. They think a systems power only controls the resolution of graphics, not how they're controlled, how much can be controlled, where they can be, etc, etc....

Share this post


Link to post
Share on other sites
For all the 'prove it' and 'let's see you program better" crowd, I see the VCS Q*bert port as no less a shortcoming than Pac Man. Lots of people have complained that VCS Pac Man was a poor programming job, and do you tell them to "program" a better version? To me, the huge gap down the middle of the play field is no less a distraction than the different maze and pale ghosts in VCS Pac Man. It looks like either a rush job (the reason given often for Pac Man), or sloppy programming, along with with the previously mentioned lines for discs and 3d cube shading gone amiss. VCS has many games that use the rainbow effect. If anything, Q*bert could have used two ovals with scrolling rainbow effect to better approximate the spinning discs of the arcade version.

Share this post


Link to post
Share on other sites
[quote name='sqoon' timestamp='1339723130' post='2541683']
For all the 'prove it' and 'let's see you program better" crowd, I see the VCS Q*bert port as no less a shortcoming than Pac Man. Lots of people have complained that VCS Pac Man was a poor programming job, and do you tell them to "program" a better version? To me, the huge gap down the middle of the play field is no less a distraction than the different maze and pale ghosts in VCS Pac Man. It looks like either a rush job (the reason given often for Pac Man), or sloppy programming, along with with the previously mentioned lines for discs and 3d cube shading gone amiss. VCS has many games that use the rainbow effect. If anything, Q*bert could have used two ovals with scrolling rainbow effect to better approximate the spinning discs of the arcade version.
[/quote]
I'd quit while you're ahead.

Share this post


Link to post
Share on other sites
[quote name='atari2600land' timestamp='1339725284' post='2541694']
Just be glad it doesn't look like the Odyssey[sup]2[/sup] version:
[/quote]

Not so bad for a first gen console. It actually has the bottom level and probably plays just fine as far as gameplay is concerned.

Share this post


Link to post
Share on other sites
I really like Q*Bert- the gameplay is fun... I would say it would be nicer if there were more of the enemies- it is kind of sparse.
The playfield looked really good to me for the 2600. Edited by R.Cade

Share this post


Link to post
Share on other sites
[quote name='Tempest' timestamp='1339723993' post='2541689']
I'd quit while you're ahead.
[/quote]

I get a warning for that?!

Share this post


Link to post
Share on other sites
[quote name='sqoon' timestamp='1339628735' post='2541037']
That does not explain why the programmers did not mirror PF2 just as they did with PF0 and PF1. This would have resulted in only one noticeable gap directly down the exact center of the play field, and had the programmers started PF0 zone with the pixels nudged slightly more toward screen center, then a perfect pyramid could have been easily achievable. It definitely points to lazy programming by Parker Bros.[/quote]


I don't understand this post. If you reflected the playfield then you would have to choose between having a huge 2 PF pixel gap or squashed cube. Neither would look better.


To draw the pyramid without any gaps you would need to have an [i]asymmetrical[/i] playfield, and the pyramid would be off center left or right by 1 PF pixel. This would look better.


I would not say the programmer was lazy. I think it is a damn good game for being done back in the day. Sure it could have been done better, but back then it was magnitudes harder to program for the 2600. It's unfair to say the programmer was lazy.

Share this post


Link to post
Share on other sites
[quote name='sqoon' timestamp='1339726851' post='2541707']
[quote name='Tempest' timestamp='1339723993' post='2541689']
I'd quit while you're ahead.
[/quote]

I get a warning for that?!
[/quote]

It probably has to do with the fact that someone put you on mod-preview for a while before. It was lifted, should it be put back?

How about you write a kernel that does what you call easy? PUOSU ;)

Share this post


Link to post
Share on other sites
[quote name='BillyHW' timestamp='1339725867' post='2541701']
[quote name='atari2600land' timestamp='1339725284' post='2541694']
Just be glad it doesn't look like the Odyssey[sup]2[/sup] version:
[/quote]

Not so bad for a first gen console. It actually has the bottom level and probably plays just fine as far as gameplay is concerned.
[/quote]
I'd like to try that one, like you said, it has all of the rows. Gameplay could be better, even if the graphics aren't, and isn't that the whole appeal of the 2600? Personally I play Rabbit Transit, even though it barely compares.

Share this post


Link to post
Share on other sites
[quote name='sqoon' timestamp='1339723130' post='2541683'] It looks like either a rush job (the reason given often for Pac Man), or sloppy programming, along with with the previously mentioned lines for discs and 3d cube shading gone amiss. VCS has many games that use the rainbow effect. If anything, Q*bert could have used two ovals with scrolling rainbow effect to better approximate the spinning discs of the arcade version.
[/quote]

You have no idea what it takes to program that display, and yet you assume the imperfections are due to sloppiness or laziness; that's sheer hubris.

Q*bert was made with compromises, just like any other 2600 port. The fact that it looks as good as it does on a pong and tank machine is quite impressive!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...