Portal Gun in Sonic 2

Discussion in 'Engineering & Reverse Engineering' started by snkenjoi, Nov 14, 2014.

  1. snkenjoi

    snkenjoi

    Tech Member
    89
    7
    8
    [​IMG][​IMG][​IMG]

    about

    Hi guys, long time no see. Time for another mini project.

    The portals in the game actually affect objects other than sonic - to the extent that you can kill an enemy with its own projectile if you fling it back at it.

    I attempted to recreate the portal gun as best I could, but it turns out the sonic engine isn't a huge fan of warping. You can probably break the game in many unimaginable ways, but I think I covered all the major issues.

    I am posting this now as I'd like to focus on another project. However, I would happy to donate the source if the community took this and made an actual puzzle based game with custom levels using these mechanics.

    Many thanks to E-122-Psi who agreed to build this fantastic spritesheet.

    controls

    A + Direction = Throw a blue portal
    C + Direction = Throw an orange portal

    credits

    E-122-Psi - sonic's spritesheet
    flamewing - help with collision detection
    iojnekns - portal sprites
    FraGag - testing

    download

    this is a link
     
  2. Best way to say "I'm back", ever. Love it :P
     
  3. Covarr

    Covarr

    Sentient Cash Register Member
    4,233
    3
    18
    Trapped in my own thoughts.
    Two stageplays, a screenplay, and an album
  4. AkumaYin

    AkumaYin

    rawr Member
    286
    6
    18
    Sonic with a gun? Hmm... Where has that idea been before? Now add Shadow to this, and it'll be GOLDEN! =P

    [​IMG]
     
  5. Lobotomy

    Lobotomy

    35% Cognac Misfit
    4,394
    1
    0
    Traverse City
    Project: Matter/Energy
    Aw hell yeah, snkenjoi!
     
  6. NeonSynth

    NeonSynth

    Previously 'SonicVaan' Member
    388
    0
    16
    Germany, W├╝rzburg
    Betatesting, Various hacking projects, programming synthesizers, music production
    Great to see you back! Always loved your minihacks and this once is no exception. c:
     
  7. LoneDevil

    LoneDevil

    READ BERSERK Member
    135
    21
    18
    Texas
    This will be one of those hacks that I'll play more often while not at home. shooting portals in the ceilings is great.
     
  8. Selbi

    Selbi

    The Euphonic Mess Member
    1,485
    10
    18
    Northern Germany
    Sonic ERaZor
    Is there an achievement for falling 30,000 feet? :v:
     
  9. E-122-Psi

    E-122-Psi

    Member
    2,080
    226
    43
    Great to see it released, snk. Glad I could contribute. :D

    Now expect people to try glitch it to high heaven. :P
     
  10. Jassbec

    Jassbec

    Lost Prototype Member
    31
    1
    0
    Sonic Overture, Zeondrive
    [​IMG]

    [​IMG]


    I'm having fun.
     
  11. Covarr

    Covarr

    Sentient Cash Register Member
    4,233
    3
    18
    Trapped in my own thoughts.
    Two stageplays, a screenplay, and an album
    I broke it.

    [youtube]http://www.youtube.com/watch?v=EnFANHEl-fI[/youtube]
     
  12. iGamr

    iGamr

    Member
    592
    10
    18
    Wow, nice work!
     
  13. Jase

    Jase

    ~~(_ _C^> Member
    This looks awesome! I've been making a fangame that is based on Sonic+Portal, I never thought I'd see someone make an actual hack with a portal gun! Will check this out when I return home.
     
  14. Lostgame

    Lostgame

    turntablist, dinosaur goddess Oldbie
    4,102
    32
    28
    Toronto, ON
    The O.I.C.
    You wrote this in assembly? Brilliant...
     
  15. redhotsonic

    redhotsonic

    Also known as RHS Tech Member
    1,587
    9
    18
    United Kingdom
    YouTuber
    I know it's a huge bump, but I am doing a lot of videos for the contest, and I have done one of this hack. And seeming as it's contest week and this hack is in it, I thought it would be okay to bump it. So here it is!

    [video]http://youtu.be/loYHRKoCwxw[/video]