Did Treasure really programmed scaling rotation through software?

Discussion in 'General Gaming' started by darkangel, Mar 24, 2009.

  1. darkangel

    darkangel Guest

    I know for the helicoptor level in Gunstar Heroes, it was vertical tile scrolling + line scrolling, but what about the smaller multijoined sprites? Sometimes during the 7-force boss, when the robot shaped like a gun shoots at a funny angle, the sprites that are making the gunbarrel are not in a straight line. Could have Treasure just used tons of prerendered rotation frames like everybody else did, and they just pretended that they actually did it in software?
     
  2. ccovell

    ccovell Resolute Member

    Joined:
    Jan 29, 2005
    Messages:
    954
    Likes Received:
    10
    The fact that it's a multijointed sprite gives it away.

    Round sprites don't need to be rotated, and straight sprites are predrawn at several angles from 0-90 degrees. All other angles can be displayed through hardware sprite flipping.
     
  3. 7Force

    7Force Guardian of the Forum

    Joined:
    Mar 6, 2009
    Messages:
    4,547
    Likes Received:
    92
    It's pretty obvious they did that, since the Mega Drive/Genesis can't do hardware rotation. Talented programmers can work around a lot of hardware limitations, just look at the Saturn games that have "transparencies" :nod:
     
  4. Yakumo

    Yakumo Pillar of the Community *****

    Joined:
    Mar 14, 2004
    Messages:
    20,515
    Likes Received:
    1,050
    Wolf Team were doing rotation on the Mega Drive years before Treasure even came about.

    Yakumo
     
  5. darkangel

    darkangel Guest

    I've seen rotation being done in a lot of Genesis games. I don't know if that's what they did, but I think some people faked rotation by building the rotating sprites out of smaller sprites, and adjusted the placement of the smaller sprites a little to give the illusion of rotation, and before it gets too obvious, they use another frame, (lets say 22.5 degrees) and do the same with that.
     
  6. MottZilla

    MottZilla Champion of the Forum

    Joined:
    Feb 1, 2006
    Messages:
    5,066
    Likes Received:
    102
    Wasn't there a bug with the background rendering or something that gave partial rotation?
     
  7. selgus

    selgus <BR><IMG SRC="http://assemblergames.com/forums/ima

    Joined:
    Mar 8, 2008
    Messages:
    84
    Likes Received:
    3
    I have some rotation assembly code for the Genesis, if people would like me to post?
    --Selgus
     
  8. darkangel

    darkangel Guest

    interesting:thumbsup:
     
  9. TmEE

    TmEE Peppy Member

    Joined:
    Aug 13, 2008
    Messages:
    362
    Likes Received:
    1
    you do not have to scale and rotate things on the fly... in Treasure games, the stuff is either pre scaled or rotated into RAM/VRAM or its already so in the ROM... I think its the first way, since there are usually no artistic measures taken...
     
  10. darkangel

    darkangel Guest

    I don't believe it's technically possible to do all the sprite rotation/scaling in realtime. The only time it would be reasonable to do sprite rotation/scaling in realtime is if you ran out of v-ram AND you ran out of work ram AND you ran out of cartridge memory.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page