Author Topic: Perplexed by Turbo/PCE Parallax  (Read 875 times)

Mathius

  • Hero Member
  • *****
  • Posts: 6006
Perplexed by Turbo/PCE Parallax
« on: April 12, 2011, 07:27:03 PM »
I was playing Ys III and Ninja Gaiden recently and started to wonder why in these two games the parallax is so choppy, and scrolls the wrong way to boot? I know the Turbo is capable of beautiful parallax, but these two games seem to be cursed. In the cinemas for Ninja Gaiden there is clearly gorgeous parallax with Ryo in the foreground and a temple in the back. Strange... :-k

Are there any other games like these? Do any of you tech heads here have any answers to this weird issue?
« Last Edit: April 12, 2011, 08:14:39 PM by Mathius »
F@ck Ebay Club member since 2010
Switch Friend Code: SW-2346-3388-5406

shubibiman

  • Hero Member
  • *****
  • Posts: 1832
Re: Perplexed by Turbo/PCE Parallax
« Reply #1 on: April 12, 2011, 08:31:03 PM »
I've always wondered that too.
Self proclamed Aldynes World Champion

grahf

  • Hero Member
  • *****
  • Posts: 880
Re: Perplexed by Turbo/PCE Parallax
« Reply #2 on: April 12, 2011, 10:21:07 PM »
I always attributed it to lack of programming skills.

Joe Redifer

  • Hero Member
  • *****
  • Posts: 8178
Re: Perplexed by Turbo/PCE Parallax
« Reply #3 on: April 12, 2011, 10:54:55 PM »
Exactly... inferior programmers.

BEERS AND VIDEOS

  • Jr. Member
  • **
  • Posts: 77
Re: Perplexed by Turbo/PCE Parallax
« Reply #4 on: April 13, 2011, 12:03:59 AM »
I always thought the same thing, but you'd think for high profile titles like Ys III and Ninja Gaiden that those projects wouldn't have been thrown to unskilled programmers.  ](*,)

SamIAm

  • Hero Member
  • *****
  • Posts: 1835
Re: Perplexed by Turbo/PCE Parallax
« Reply #5 on: April 13, 2011, 01:52:18 AM »
I'm not a programmer, but I'd guess that the choppiness was a trade-off for having overlapping parallax that doesn't use sprites for one of the layers. With the layers as big as they are in Ys III and Ninja Gaiden, they would probably run into problems with sprites.

As far as I can tell, every PCE game that has overlapping parallax layers and runs at 60fps is basically using sprites for the overlapping stuff.

Are there any examples to the contrary? Better question: which emulators let you turn off the sprite and BG layers?

ccovell

  • Hero Member
  • *****
  • Posts: 2245
Re: Perplexed by Turbo/PCE Parallax
« Reply #6 on: April 13, 2011, 04:16:07 AM »
Ninja Ryukenden was farmed out to one of Hudson's development units in Hong Kong and/or Taiwan, accounting for what I think is a lack of programming and presentation skills.  They obviously cleaned up their act later for Cotton.

Who knows what accounts for the lousy scrolling in Ys III?  Perhaps Hudson's programmers made their port from the PC a little too accurate (no scrolling hardware) or didn't feel like enhancing the scrolling routines at all.

nodtveidt

  • Guest
Re: Perplexed by Turbo/PCE Parallax
« Reply #7 on: April 13, 2011, 04:33:03 AM »
I would chalk up the Ys III disaster to being "too much data" and perhaps also "inefficient routines". I don't have a disassembly to back this up... just going on experience and logic.

SamIAm

  • Hero Member
  • *****
  • Posts: 1835
Re: Perplexed by Turbo/PCE Parallax
« Reply #8 on: April 13, 2011, 05:05:46 AM »
Ninja Ryukenden was farmed out to one of Hudson's development units in Hong Kong and/or Taiwan, accounting for what I think is a lack of programming and presentation skills.  They obviously cleaned up their act later for Cotton.


Yeah, but Cotton just used sprites for the overlapping bits. You can see it when there are too many sprites on one line - the background vanishes along with everything else.

SignOfZeta

  • Hero Member
  • *****
  • Posts: 8497
Re: Perplexed by Turbo/PCE Parallax
« Reply #9 on: April 13, 2011, 05:07:39 AM »
Who knows what accounts for the lousy scrolling in Ys III?  Perhaps Hudson's programmers made their port from the PC a little too accurate (no scrolling hardware) or didn't feel like enhancing the scrolling routines at all.

That's what I always assumed, that they never optimized for the superior hardware, that it was a straight port.

At least it happened with Ys III instead of one of Falcom's better games.

Mathius

  • Hero Member
  • *****
  • Posts: 6006
Re: Perplexed by Turbo/PCE Parallax
« Reply #10 on: April 13, 2011, 05:41:34 AM »
I wonder then why the cinemas in Ninja Gaiden have nice parallax, but the main game doesn't? The game can clearly handle it.
F@ck Ebay Club member since 2010
Switch Friend Code: SW-2346-3388-5406

Sadler

  • Hero Member
  • *****
  • Posts: 1065
Re: Perplexed by Turbo/PCE Parallax
« Reply #11 on: April 13, 2011, 06:02:20 AM »
As I understand it, the scrolling in Ys III did not animate the background tiles, it just shifted them over one tile whenever 8 or 16 pixels went by. Parallax on the TG16 basically boils down to one of a few techniques: dynamic tiles, sprite layers, h scrolls and possibly palette rotation. H scrolls don't allow for overlapping parallax layers, but the other techniques can (although it can be costly). Here's a good thread on parallax scrolling on the TG16. Wikipedia's entry on parallax scrolling gives a decent overview as well.
« Last Edit: April 13, 2011, 06:05:11 AM by Sadler »

Sadler

  • Hero Member
  • *****
  • Posts: 1065
Re: Perplexed by Turbo/PCE Parallax
« Reply #12 on: April 13, 2011, 06:12:41 AM »
I'm not a programmer, but I'd guess that the choppiness was a trade-off for having overlapping parallax that doesn't use sprites for one of the layers. With the layers as big as they are in Ys III and Ninja Gaiden, they would probably run into problems with sprites.

As far as I can tell, every PCE game that has overlapping parallax layers and runs at 60fps is basically using sprites for the overlapping stuff.

Are there any examples to the contrary? Better question: which emulators let you turn off the sprite and BG layers?

I don't think Magical Chase uses sprites for overlapping layers.

SamIAm

  • Hero Member
  • *****
  • Posts: 1835
Re: Perplexed by Turbo/PCE Parallax
« Reply #13 on: April 13, 2011, 06:20:08 AM »
Great links, thanks!

shubibiman

  • Hero Member
  • *****
  • Posts: 1832
Re: Perplexed by Turbo/PCE Parallax
« Reply #14 on: April 13, 2011, 06:49:28 AM »
That's what I always assumed, that they never optimized for the superior hardware, that it was a straight port.

At least it happened with Ys III instead of one of Falcom's better games.

The same problem is met in Ys 2 (in the belfry, the background scrolling is just as shitty as Ys III's).
Self proclamed Aldynes World Champion