Posted By
funkydude on 2005-09-02 02:10:00
| Characters Staying stationary in games with hardware smooth scrolling ???
Anyone know how in games like Kikstart, the motorcycle stays stationary are does not scroll with the background when using the TED's smooth scrolling registers. It's like it is a sprite on the c64 version. Please explain if you know.
Thank you
|
|
Posted By
Rachy on 2005-09-02 02:22:07
| Re: Characters Staying stationary in games with hardware smooth scrolling ???
Quite easy: it "moves" to the opposite direction with pixel animation. The only thing what should be taken care of is the lowres pixel size, so the hardware scroll amount must be always even.
|
|
Posted By
Csabo on 2005-09-02 08:51:52
| Re: Characters Staying stationary in games with hardware smooth scrolling ???
What Rachy said. If you want to see this in action, I used the exact same thing in Csabo''s 1K Racer, which has full source released.
|
|
Posted By
Spector on 2005-09-02 13:45:20
| Re: Characters Staying stationary in games with hardware smooth scrolling ???
Was this not also used in the dire "Tycoon Tex"?
|
|
Posted By
Csabo on 2005-09-02 19:03:29
| Re: Characters Staying stationary in games with hardware smooth scrolling ???
Not quite. In Tycoon Tex, the main character moves by 8 pixels at a time. Sure, the background above and below him are soft scrolling, but he is not.
|
|
Posted By
funkydude on 2005-09-02 19:31:45
| Re: Characters Staying stationary in games with hardware smooth scrolling ???
yep
|
|
Posted By
JamesC on 2005-09-02 21:51:05
| Re: Characters Staying stationary in games with hardware smooth scrolling ???
I agree with what he said above.
|
|
Posted By
TMR on 2005-09-03 21:03:56
| Re: Characters Staying stationary in games with hardware smooth scrolling ???
Tycoon Tex is cheating really, the smooth scrolling stuff is split off from the main play area so the horizontal scroll reg doesn't change on the part of the screen where Tex himself is so no need to counter for it.
|
|