don't click here

Basic Questions & Answers thread

Discussion in 'Engineering & Reverse Engineering' started by Tweaker, May 29, 2008.

  1. RetroKoH

    RetroKoH

    Member
    1,661
    18
    18
    Project Sonic 8x16
    Random quickie... I'm curious... do you guys know WHY the engine opts not to draw skidding or spindash dust when Sonic is in the process of drowning? in S2 and S3K this is the case... though I don't quite understand why.If you are already in the process of spindashing when the timer starts, it stays on screen and doesn't seem to interfere with the number sprites... Why is it coded this way?
     
  2. Selbi

    Selbi

    The Euphonic Mess Member
    1,485
    10
    18
    Northern Germany
    Sonic ERaZor
    Except it does:

    [​IMG]

    Did a quick hack to remove the air check in Obj08, and as expected it glitches out. The numbers get partially overwritten by the spindash dust tiles. So there's your answer.
     
  3. flamewing

    flamewing

    Emerald Hunter Tech Member
    1,161
    65
    28
    France
    Sonic Classic Heroes; Sonic 2 Special Stage Editor; Sonic 3&K Heroes (on hold)
    Check again, the spindash dust does disappear when the countdown is about to show; you are probably seeing Tails' spindash dust instead. The reason the spindash dust disappears when you are starting to drown, and why no braking dust is even created when underwater, is the same: the countdown numbers use the same VRAM as those two. So you would either have a garbled countdown or garbled dust.
     
  4. RetroKoH

    RetroKoH

    Member
    1,661
    18
    18
    Project Sonic 8x16
    Ah. K I see where I got mixed up then. Thank you guys for clarifying that. Well then, I suppose as long as I keep them from overwriting in my Sonic 1 hack (I backported them in) I can remove these checks.
     
  5. Hitaxas

    Hitaxas

    Retro 80's themed Twitch streamer ( on hiatus) Member
    Trying to build Sonic 2 using the linux build tools on android. I get an error telling me that the files in the linux folder do not exist. How can I fix this?

    Edit: after talking with Flamewing over irc and doing some research... it seems it is just not possible to split and build on android. The build files will not execute on ARM unless somebody compiles them for it. That would solve the build issue. As for split, perl does not exist on android. I have seen something about perl on android but only using an emulator. Is there anybody other than me interested in Getting something like this to work? I think it could be useful.
     
  6. GT Koopa

    GT Koopa

    Member
    2,013
    12
    18
    Elgin, IL
    Flicky Turncoat DX, T.L.W.S. Vs M.G.W.
    [​IMG]

    GUYS GUYS I have made an unfortunate realisation. Should I skip the chicken level I planned due to the rise of a negative slang?
     
  7. Dark Sonic

    Dark Sonic

    Member
    14,356
    1,402
    93
    Working on my art!
    Uhhhhh, wha?
     
  8. GT Koopa

    GT Koopa

    Member
    2,013
    12
    18
    Elgin, IL
    Flicky Turncoat DX, T.L.W.S. Vs M.G.W.
    http://info.sonicretro.org/Cucky

    Every zone in Flicky Turncoat DX is based on an animal+underused theme. I had planned for the base game the original little animal team you saved for in sonic 1, with the sonic 2 unique ones if there is space or maybe a level pack afterwards. It was the chicken + Mexico as the specific level, which turns out to be Cucky Casa.

    Turns out there is this slang on the internet that has exploded within several months, that is called cuck/cucking/cuckold. I will leave it to you to look it up.
     
  9. Overlord

    Overlord

    Now playable in Smash Bros Ultimate Moderator
    18,879
    732
    93
    Long-term happiness
    "Cuckolding" as a phrase long predates 4chan and Tumblr. I see no issues with using Cucky. Moreso because I also had no idea what you were on about until you explicitly spelled it out - I've never seen cucky used in that context.
     
  10. Billy

    Billy

    RIP Oderus Urungus Member
    2,041
    113
    43
    Colorado, USA
    Indie games
    Just call it "clucky casa" instead, maybe? Cluck is the sound a chicken makes.
     
  11. Dark Sonic

    Dark Sonic

    Member
    14,356
    1,402
    93
    Working on my art!
    Oh ok I was wondering if that's what you were referring to, but I was just kinda like, oh ok sure why not.

    Nah go ahead and use Cucky. That's the thing's name after all (I don't know why they didn't call it Clucky but idk Sega of Japan 91 why not). Cucky isn't slang for Cuckold as far as I'm aware.
     
  12. Covarr

    Covarr

    Sentient Cash Register Member
    4,233
    3
    18
    Trapped in my own thoughts.
    Two stageplays, a screenplay, and an album
    This goes back to Shakespeare. I don't think it's a big deal though, most people aren't going to think there's any kind of connection there, deliberate or otherwise.
     
  13. E-122-Psi

    E-122-Psi

    Member
    2,299
    477
    63
    Does anyone know how to program in double checks for button held routines:

    Code (Text):
    1. ; ---------------------------------------------------------------------------
    2. ; Subroutine to activate Sonic's Jump Attack
    3. ; ---------------------------------------------------------------------------
    4.  
    5. ; ||||||||||||||| S U B R O U T I N E |||||||||||||||||||||||||||||||||||||||
    6.  
    7. Sonic_Hover:
    8.  
    9.         move.b  ($FFFFF602).w,d0        ; move the current button press to d0
    10.         andi.b  #$30,d0                 ; get only button A
    11.         beq.s   Sonic_Hover_Return  ; if yes, branch
    12.         tst.b   ($FFFFFFAA).w       ; was jumpdash flag set?       
    13.         bne.w   Sonic_Hover_Return      ; if yes, branch       
    14.         move.b  #1,($FFFFFFAA).w    : set hover flag
    15.         move.b  #$21,$1C(a0)
    16.         clr.w   $12(a0)                 ; clear X-velocity to move sonic directly down
    17.         move.w  #$B7,d0
    18.         jsr (PlaySound_Special).l
    19.         move.b  ($FFFFF602).w,d0        ; move the current button press to d0
    20.         and.b   #$30,d0                 ; get only button A
    21.         bne.s   Sonic_Hover_return  ; if yes, branch
    22. Sonic_Hover_Stop:
    23.         move.b  #$1F,$1C(a0)    ; reset animation
    24.  
    25. Sonic_Hover_Return:
    26.         rts
    27. ; End of function Sonic_Hover
    28.  
    Basically I want it so holding B/C while in the air makes you go into one animation, and letting go transitions it into another. Right now the routine makes you go into the first animation the moment you press jump and letting go does nothing, you just keep in the first animation.
     
  14. Selbi

    Selbi

    The Euphonic Mess Member
    1,485
    10
    18
    Northern Germany
    Sonic ERaZor
    Well, you can't "directly" check for something like that, but a conceptual workaround is rather simple with something like a state machine. Unfortunately, I'm not entirely sure what you want to make happen. You jump, let go of B/C, press B/C again so some animation thing happens, then you let go of B/C again and another animation thing happens?
     
  15. E-122-Psi

    E-122-Psi

    Member
    2,299
    477
    63
    Pretty much. Like how the glide's activation works in S3+K.
     
  16. vladikcomper

    vladikcomper

    Tech Member
    203
    125
    43
    Sonic Warped
    E-122-Psi, sorry, I have no time to explain everything in detail now, but I believe, you'll quickly get the idea, as it's fairly simple.

    Code (Text):
    1.  
    2. Sonic_Hover:
    3.     tst.b   ($FFFFFFAA).w       ; is Sonic in hovering state?
    4.     bne.s   @Hover_Process      ; if yes, branch
    5.  
    6.     ; This code branch works if Sonic isn't in hovering state yet
    7.     move.b  ($FFFFF602).w,d0    ; move the curently held buttons into d0
    8.     andi.b  #$30,d0         ; B/C being held?
    9.     beq.s   @Hover_Return       ; if not, branch
    10.     move.b  #1,($FFFFFFAA).w    ; set hover flag to $01
    11.     move.b  #$21,$1C(a0)        ; play hovering animation
    12.     clr.w   $12(a0)         ; clear Y-velocity
    13.     moveq   #$FFFFFFB7,d0
    14.     jsr PlaySound_Special   ; play SFX
    15.  
    16.     ; This code branch works if Sonic is in the hovering state
    17. @Hover_Process:
    18.     move.b  ($FFFFF602).w,d0    ; move the curently held buttons into d0
    19.     andi.b  #$30,d0         ; B/C being held?
    20.     bne.s   @Hover_Return       ; if yes, branch
    21.     move.b  #$1F,$1C(a0)        ; reset animation
    22.     move.b  #0,($FFFFFFAA).w    ; set hover flag to $00 (I suppose, you need it)
    23.  
    24. @Hover_Return:
    25.     rts
    26.  
    27.  
     
  17. E-122-Psi

    E-122-Psi

    Member
    2,299
    477
    63
    This finally makes the hover duration controllable, however it still has the problem of starting in place of standard jumping. I think I've fixed this by changing the first hold command to a press one (I also took out the clear flag command at the end since I don't want it to be too abusable). I think that's got things exactly how I wanted it. Thanx. :D
     
  18. RetroKoH

    RetroKoH

    Member
    1,661
    18
    18
    Project Sonic 8x16
  19. Ali

    Ali

    Member
    14
    0
    0
    Does anyone know where I could find a model of Eggman from Sonic Adventure/Sonic Adventure DX? He's the only model I've been unable to find from that game and I'd really like to examine it.
     
  20. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,651
    218
    43
    SonLVL
    Are you asking someone to rip it for you, or how to rip it yourself?