Sonic's end of act pose

Discussion in 'Discussion and Q&A Archive' started by Alriightyman, Nov 28, 2007.

Thread Status:
Not open for further replies.
  1. Alriightyman

    Alriightyman I'm back! Member

    Joined:
    Oct 3, 2007
    Messages:
    156
    Location:
    USA
    How do you make sonic pose at the end of an act like in sonic 3? I can get it so sonic doesn't run to the right of the screen and just stands there but i don't know how to display his pose artwork. Any help would be great!
     
  2. PsychoSk8r

    PsychoSk8r HighKnights Member

    Joined:
    Aug 9, 2007
    Messages:
    271
    Location:
    Birmingham, UK
    Should be pretty simple, in the routine you made to make him stop, just change his animation. the easy way to find a line to change animation is to look for the line to change animation in the Spring's routines.


    EDIT:



    Code:
    move.b	#$0E,$1C(a0)&#59; use "bouncing" animation
    Change $0E to the value of your end-pose animation
     
    Last edited by a moderator: Nov 28, 2007
  3. Alriightyman

    Alriightyman I'm back! Member

    Joined:
    Oct 3, 2007
    Messages:
    156
    Location:
    USA
    I didn't make a routine. All I did was at the sign post object tell him to stop instead of run to the right.


    How would i start the routine and would I put it under sonics object?
     
  4. Hitaxas

    Hitaxas Retro 80's themed Paladins Twich streamer Member

    Joined:
    Aug 13, 2007
    Messages:
    167
    From what I understand, you would add the "pose" animations like you would Sonic's spindash animations. Then make it so that buttons are unable to be used after the post stops spinning, then make it display the animations through pretty much the same method the spindash animations are displayed right after the post stops spinning.
     
  5. Alriightyman

    Alriightyman I'm back! Member

    Joined:
    Oct 3, 2007
    Messages:
    156
    Location:
    USA
    ok and would my code i made go in the sonic object or the end of act signpost object?
     
  6. Hitaxas

    Hitaxas Retro 80's themed Paladins Twich streamer Member

    Joined:
    Aug 13, 2007
    Messages:
    167
    The code to make sonic move to the right was in the signpost, so make it freeze controls instead, I am sure the animation code would go in there, or would be in a new routine that gets branched to.


    remove



    Code:
    loc_EC70
    AND the branch from

    Code:
     obj0D_SonicRun
    to it, that will make it not check if sonic is off screen

    also, if you haven't, remove:

    Code:
    move.w	#$800,($FFFFF602).w; make Sonic run to	the right
    then put in the code for it to display the animation, then I believe you are all set


    I just tested this, it will make it not check for Sonic being off screen, but the post will continue to spin. I will figure out how to fix that later today, unless someone already knows how...
     
    Last edited by a moderator: Nov 29, 2007
  7. Alriightyman

    Alriightyman I'm back! Member

    Joined:
    Oct 3, 2007
    Messages:
    156
    Location:
    USA
    I've tried that too. i can get sonic to freeze and the signpost to stop spining but i just can get sonic to change animations. After sonic move to the right, that whole section gets taken out.
     
  8. redhotsonic

    redhotsonic Also known as RHS Member

    Joined:
    Aug 10, 2007
    Messages:
    2,969
    Location:
    England
    Leave it for now, 'cause I'm going to do this to my hack. When I find out, I'll share it, unless anyone helps now.
     
  9. Alriightyman

    Alriightyman I'm back! Member

    Joined:
    Oct 3, 2007
    Messages:
    156
    Location:
    USA
    Alright, I'm gonna mess with it too. If I figure it out I'll share as well.
     
  10. Alriightyman

    Alriightyman I'm back! Member

    Joined:
    Oct 3, 2007
    Messages:
    156
    Location:
    USA
    <Removed>
     
    Last edited by a moderator: Dec 10, 2007
  11. Hitaxas

    Hitaxas Retro 80's themed Paladins Twich streamer Member

    Joined:
    Aug 13, 2007
    Messages:
    167
    Works great, many thanks to you =)
     
  12. redhotsonic

    redhotsonic Also known as RHS Member

    Joined:
    Aug 10, 2007
    Messages:
    2,969
    Location:
    England
    Is this Sonic 1 or 2?
     
  13. Spanner

    Spanner The Tool Member

    Joined:
    Aug 9, 2007
    Messages:
    2,570
    Sonic 1.


    This is a great guide & thanks for sharing.
     
  14. Sephiroth

    Sephiroth WHY SO CURIOUS?!? Member

    Joined:
    Aug 11, 2007
    Messages:
    507
    Location:
    Qatar, M.E.
    @RHS: I'm gonna have a crack at converting it to S2 maybe later or tommorow. See if I can get it working. IF I do, I will probably post a guide somewhere.
     
  15. Tweaker

    Tweaker OI! MIRON! Member

    Joined:
    Aug 10, 2007
    Messages:
    324
    Great, now everybody's gonna have this shit in their hacks.


    At least if it's gonna be in Megamix, we're gonna do it properly--right from S3K. Enjoy your originality, you just lost it.
     
  16. Thundertimi

    Thundertimi Well-Known Member Member

    Joined:
    Aug 10, 2007
    Messages:
    245
    Location:
    Too far...
    Thats bad. I will not use this in my hack.
     
  17. Aka Mekon

    Aka Mekon is back Member

    Joined:
    Aug 11, 2007
    Messages:
    41
    Location:
    France
    He can edit the message and remove it then.
     
  18. Hitaxas

    Hitaxas Retro 80's themed Paladins Twich streamer Member

    Joined:
    Aug 13, 2007
    Messages:
    167
    Found a slight problem. If your in air when the signpost stops spinning, the character switches to the pose, in midair and lands on the ground really fast. It would be better if there was a check of sorts to make the pose only show if the character is on the ground ^_^
     
  19. Alriightyman

    Alriightyman I'm back! Member

    Joined:
    Oct 3, 2007
    Messages:
    156
    Location:
    USA
    Sorry. Didn't think it was that big of a deal. I removed it.
     
  20. Alriightyman

    Alriightyman I'm back! Member

    Joined:
    Oct 3, 2007
    Messages:
    156
    Location:
    USA
    That's easy to fix. After



    Code:
    cmpi.b	#1,&#40;$FFFFFFBB&#41;
    
     bne.s	   some name
    add



    Code:
    cmpi.b	 #2,$1C&#40;a0&#41;
    
    beq.s	  some name
    That should fix it.



    Also, in Obj3A_SBZ2 after

    Code:
    bne.w	DeleteObject
    add

    Code:
    move.b   #0,&#40;$FFFFFFBB&#41;
    Otherwise you'll get stuck after you pass the sign post when you finish the act.
     
Thread Status:
Not open for further replies.