don't click here

All Programming Discussion

Discussion in 'Sonic 2 HD (Archive)' started by Athelstone, Apr 24, 2008.

  1. Athelstone

    Athelstone

    Oldbie
    Wow CJ, it looks like you've put some real effort into your graphics engine. Thanks for giving everyone the details of it, exciting stuff :( From the sounds of things it could serve the project very well indeed.
     
  2. Vincent

    Vincent

    Sonic 2HD - Project Leader & Chara Member
    1,253
    0
    16
    Sonic 2 HD
    That's indeed what we was looking for a graphics engine.

    What about "video playback"?
     
  3. Cooljerk

    Cooljerk

    NotEqual Tech, Inc - VR & Game Dev Oldbie
    4,505
    201
    43
    I believe SDL supports video playback, but I've never really used it.

    looking it up real quick, it seems there are ways to play video using SDL, but they're all kinda wonky. Like, I can create an SDL_Layer as a YUV Overlay and then play video in the background using ffmpeg, but that's kinda run about. I guess I could let opengl handle video, but I'm not sure how openGL handles video.

    Why would we need video, by the by.
     
  4. Vincent

    Vincent

    Sonic 2HD - Project Leader & Chara Member
    1,253
    0
    16
    Sonic 2 HD
    I asked this just for the curiosity of having a possible animated "ending" sequence with NeedleMouse.
    There is no priority to implement it now, as this sequence will be drawn later on.
     
  5. Cooljerk

    Cooljerk

    NotEqual Tech, Inc - VR & Game Dev Oldbie
    4,505
    201
    43
    Well, I'm sure I can do full video eventually, but the NeedleMouseImage (the editor) can create small scripted cutscenes. You just link animations together.

    It'd be totally possible, and in fact extremely easy, to make something like Sonic 2's ending using nothing but the NeedleMouseImage.

    For a long time, I've planned on including a tutorial with my graphics engine that'd teach people how to make various sega genesis logos using the editor.
     
  6. nineko

    nineko

    I am the Holy Cat Tech Member
    6,298
    475
    63
    italy
    Since I didn't read all the pages of the old long topic, did anyone figure out a good way to achieve Super Sonic's rotating palette?
     
  7. Quickman

    Quickman

    be attitude for gains Tech Member
    5,595
    18
    18
    :x
    omg porjcet
    I thought the best idea was to tint the sprite white and vary the opacity. Other people suggested other ideas.
     
  8. Cooljerk

    Cooljerk

    NotEqual Tech, Inc - VR & Game Dev Oldbie
    4,505
    201
    43
    With my graphics engine, that's not necessary. You can simply change the palette entry for Sonic, just like you could with the genesis.
     
  9. JoseTB

    JoseTB

    Tech Member
    716
    59
    28
    I could contribute to the project, but my time is quite limited right now to say the least.. I was actually planning about going open source with what I have, but well, I'd need quite some time to document it entirely to be honest.

    I'm gonna suggest to let this project start open source from the very beginning - that way everyone will be able to add their part and eventually it might even get finished and everything.
     
  10. Athelstone

    Athelstone

    Oldbie
    I'm quite happy to change the project plan to that, although before a final decision is made I wish first to see more advice or feedback on this issue from other programmers (Cooljerk and Jman in particular)
     
  11. jman2050

    jman2050

    Teh Sonik Haker Tech Member
    634
    4
    18
    There's pretty much no chance the code will be open-source while it's being worked on. After completion I want to make the code available, but letting anyone add to it at will is just going to complicate things and waste time.
     
  12. Cooljerk

    Cooljerk

    NotEqual Tech, Inc - VR & Game Dev Oldbie
    4,505
    201
    43
    Yeah, and not to be a dick or anything, but I've been working on my NeedleMouse engine for a while, and while it might go open source one day, I'm not ready to let it out of my protective wing.

    Like jman2050 said, maybe later down the road but for right now, I'd prefer not to. Which isn't to say people can't help, I just don't want the code being spread around just yet.
     
  13. I'm cool with things being closed source as long as the programmers are able to meet the needs of the project with their own skills.
     
  14. drx

    drx

    mfw Researcher
    2,254
    350
    63
    :rolleyes:
    The thing is, the goal of this project is to produce a port of the game, not emulate it with dynamic recompilation.

    Why not go with FLAC, instead of Ogg? FLAC is lossless, free, open source and royalty-free. It also offers a good compression ratio. Surely, for a HD port, you'd want to best quality possible?
     
  15. muteKi

    muteKi

    Fuck it Member
    7,850
    131
    43
    I dunno. I can't really tell the difference past 192k anyway. I also have less than 20 gigs on my HD (I can probably free up some, but not a lot).
     
  16. If we deem that space isn't an issue, then certainly lossless compression should be used, although Slaituk is right and the reduction in quality is pretty much transparent to human ears past 192 kbps.
     
  17. Damizean

    Damizean

    As classic as rock Member
    118
    0
    0
    Valencia, EspaƱa
    Various projects
    Save your time and use the Sonic 2 mobile java disassembly.
     
  18. drx

    drx

    mfw Researcher
    2,254
    350
    63
    :rolleyes:
    Using the same logic, we could use JPG as the container for graphics, with 97% quality. I mean, it's almost the same, right?

    If the project is going to be HD (high definition), it would be nice if someone with a good audio setup could listen to the music without the "mp3 feel". It doesn't really make a big difference size-wise, but it adds a nice touch.

    After all, shouldn't we go for the best quality?
     
  19. Vincent

    Vincent

    Sonic 2HD - Project Leader & Chara Member
    1,253
    0
    16
    Sonic 2 HD
    I completely agree with DRX about that.
    Why aiming low? We need to have the best audio possible on Sonic 2 HD.
     
  20. I was under the impression that we were rendering the tiles as PNGs, and then the color data from those was being programmed directly into the engine somehow, making the format for graphics storage ultimately proprietary. While we're debating quality though, I'd like to point out that Blu-ray uses both lossy video and audio codecs, as does HD quality TV. So we should optimize both quality and space.