Results 1 to 10 of 10

Thread: Did Treasure really programmed scaling rotation through software?

  1. #1
    darkangel
    Guest darkangel's Avatar

    Did Treasure really programmed scaling rotation through software?

    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. #2
    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.
    .senile di ugno it cuall a oteer gaI
    --
    http://www.chrismcovell.com

  3. #3
    Saturn > PS1+N64 ASSEMbler Soldier
    7Force's Avatar

    Join Date
    Mar 2009
    Posts
    3,502
    Blog Entries
    2
    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. #4
    Moderator Staff

    ASSEMbler Regix
    Pillar of the Community
    Yakumo's Avatar

    Join Date
    Mar 2004
    Location
    Shimonoseki / Japan
    Posts
    17,054
    Wolf Team were doing rotation on the Mega Drive years before Treasure even came about.

    Yakumo
    TWITTER @RetroCoreYakumo



  5. #5
    darkangel
    Guest darkangel's Avatar
    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. #6
    ASSEMbler Soldier
    MottZilla's Avatar

    Join Date
    Feb 2006
    Location
    USA
    Posts
    3,991
    Wasn't there a bug with the background rendering or something that gave partial rotation?

  7. #7
    I have some rotation assembly code for the Genesis, if people would like me to post?
    --Selgus

  8. #8
    darkangel
    Guest darkangel's Avatar
    Quote Originally Posted by selgus
    I have some rotation assembly code for the Genesis, if people would like me to post?
    --Selgus
    interesting:thumbsup:

  9. #9
    Foot Soldier
    TmEE's Avatar

    Join Date
    Aug 2008
    Location
    Estonia, Rapla city
    Posts
    359
    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...
    Mida sa loed ? Nagunii aru ei saa ;)

  10. #10
    darkangel
    Guest darkangel's Avatar
    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •