don't click here

So, um, yeah... announcing my sonic game

Discussion in 'Fangaming Discussion' started by Cooljerk, Jul 25, 2006.

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

    Sith

    The molotov bitch Member
    Every programmer or hacker starts out with limited skills, even the best ones.
    It's only normal.

    Through experience and persistance you improve yourself.
    Remember, practice makes perfect.

    That trippy rainbow demo I remember looked very cool so you are carved out of the right wood. Don't give up & stick with it.
     
  2. Gen

    Gen

    This is halloween! This is halloween! Member
    309
    0
    0
    The Mobius Engine
    I would be willing to do a mac port for this if that would be alright with you.
     
  3. Damizean

    Damizean

    As classic as rock Member
    118
    0
    0
    Valencia, España
    Various projects
    Are you still using SDL? I have a rotozoomed routine you might be interested of (once I get rid of the problems with my stupid FP library)
     
  4. Cooljerk

    Cooljerk

    Professional Electromancer Oldbie
    5,048
    694
    93
    I am. I'm not familiar with rotozooming... can you explain?
     
  5. Damizean

    Damizean

    As classic as rock Member
    118
    0
    0
    Valencia, España
    Various projects
    Blitting a SDL surface rotated and scaled :3
     
  6. Cooljerk

    Cooljerk

    Professional Electromancer Oldbie
    5,048
    694
    93

    I can already rotate and scale, but I'd be interested in seeing if this is more efficient, so sure.

    if it's better than mine, then by all means, I'll use it.
     
  7. Damizean

    Damizean

    As classic as rock Member
    118
    0
    0
    Valencia, España
    Various projects
    Got any MSN or AIM S/N so I can contact with you? :)
     
  8. Cooljerk

    Cooljerk

    Professional Electromancer Oldbie
    5,048
    694
    93
    :worship:

    GabeRocksSocks on AIM

    much obliged.
     
  9. Cooljerk

    Cooljerk

    Professional Electromancer Oldbie
    5,048
    694
    93
    So I've been rewriting my sprite editor from scratch, and at the same time trying out a new gui that I've been working on.

    [​IMG]

    My new sprite editor is loads faster than before, and far more functional (the last was completely command line based, and very hard to used). This is a combination of a gui and a command line.

    Each window has it's own command line built into it, and different commands do different things depending on where you type them.

    For example, typing save into the console builds an entire sprite, while typing save in the palette window saves a complete palette, and typing save into the palette option window saves a partial palette. Typing help in any window automatically displays a list of commands for that window.

    At the same time, object are also clickable. For example, you can click the "Sprite" button in the Palette window to display the Sprite palette, and then you can click any color which pops up and the palette options window will display that color, it's index color (it's the number in between the [ and ]), and the current R, G, and B. You can click the little arrows next to the RGB values to increase or decrease the RGB, or you can type "R 123" in the palette options command line to change the currently selected color's red value to 123.

    it's a pretty neat system I've come up with.

    Also, Dami - sorry I haven't got in touch with you. I've been dealing with a family crisis and I've been in houston for the past few days without internet. I should be free this weekend and we can finally talk, if you don't mind.
     
  10. Cooljerk

    Cooljerk

    Professional Electromancer Oldbie
    5,048
    694
    93
    RISE FROM YOUR GRAVE!!

    I come bearing presents.

    I'm releasing a working beta version of my Hedgehog Image editing program. GRAB IT HERE

    Right now it's pretty useless to everyone because I haven't released my actual engine, and it's no where near a quality that I'd like the final to be at, but it's still pretty functional, albeit incomplete. What's really neat about it, is that it's actually written using a beta version of the HedgehogEngine that it's supposed to help create.

    Right now, you can grab it and just play around with it. Simply take it, extract it, and place some images in the folder you extract to. Be sure to read the README and remember that typing "HELP ME" on any command line will reveal it's commands.

    Also, tell me if you spot bugs that aren't listed in the README.

    oh, and screenshots:

    [​IMG]
    Loading an image of sonic 3's title screen

    [​IMG]
    manually editing the palette and seeing the effect on the title screen

    [​IMG]
    load another image's palette and display the result when the image is displayed while still mapped to the old palette

    [​IMG]
    Load a different image (sonic's animations) and their palette

    [​IMG]
    load Sonic 3's title screen again, this time with it attempting to color match using Sonic's Animation's Palette (and succeeding!)
     
  11. Cooljerk

    Cooljerk

    Professional Electromancer Oldbie
    5,048
    694
    93
    Just to show I haven't died:

    [​IMG]
     
  12. Cooljerk

    Cooljerk

    Professional Electromancer Oldbie
    5,048
    694
    93
    [​IMG]

    New update. It's really coming along now... I can load an entire sprite sheet, then crop out individual frames of animation. And I can edit the graphics in real time.
     
  13. Sith

    Sith

    The molotov bitch Member
    Looks very handy to use. And cool too.
     
  14. Scarred Sun

    Scarred Sun

    Be who you needed when you were younger Administrator
    7,745
    128
    101
    Tower 8 ️
    Welp, this.
    Cooljerk, out of curiousity, how did you manage to get your "color match" feature working? I've been trying to write a small plug-in that would take existing images and turn them into Genesis-palette images, complete with three palette line output.
     
  15. Cooljerk

    Cooljerk

    Professional Electromancer Oldbie
    5,048
    694
    93
    I'm sitting here at work, so I don't have the source code with me, but what I did first was determined what kind of color the origin color was. Was it a light color or dark color? I examined the 3 values for RGB and determined that if 2 out of the 3 were over 50% of 255, then it was a lighter color, otherwise it was a darker color. Then I determined what the base color was from actual RGB values. I.E. is there more red than anything else? If it was a light color, then I figured the lowest value was the most important color to examine. If it was a dark color, then the highest value was the most important color. I.E. if a color was [255, 255, 34] then the 34 value is what is most important in determining what color I should use.

    once I had a color selected, I'd go through the palette and find the closest matches for that color. Then, out of those matches, I'd find the closest colors for the next most important color. Then, out of those matches, I'd find the closest match for the least important color.

    When I get home I can look at my source and go into more detail about how I did it, but that's the general logic for finding a color approximation.
     
  16. Cooljerk

    Cooljerk

    Professional Electromancer Oldbie
    5,048
    694
    93
    Another day another update. I don't have work today and I didn't yesterday, so I sat around fiddling with my sprite editing program for a while before catching a ball game.

    [​IMG]

    it doesn't look very changed from the above screenshot, but I've changed a lot. For one, now you can set colors to rotate, how fast they'll rotate, and what direction they'll rotate.
     
Thread Status:
Not open for further replies.