Quantcast

Results 1 to 7 of 7

Thread: 4th of July flag waving demo for Genesis

  1. #1
    Comrade as in friend. Master of Shinobi ComradeOj's Avatar
    Join Date
    Dec 2012
    Location
    New Mexico, USA
    Age
    26
    Posts
    1,440
    Rep Power
    62

    Genesis 4th of July flag waving demo for Genesis

    Here is a little demo I made for the American Independence day. It's a waving flag with some background music.
    The flag is a static image animated entirely using raster effects. I think it actually looks pretty convincing! It's a combination of horizontal waving, and some vertical stretching.

    The background music is based on a MOD file by someone else. I'm not sure who, but this is where I got the file. I still had to do some re-working to make it usable on the Genesis.
    I went out of my way to find the twangiest sounding bass instrument I could. You might recognize it as the spring sound effect from the sonic games. The melody instrument is from revenge of shinobi, and the drums are from crue ball.

    Video


    How it works
    The program uses a raster effect to warp the flag both vertically and horizontally.
    Included in the ROM image is a sine wave. When the TV starts drawing a new line, it scrolls the image by the first value of the sine wave. When it stars drawing the next line, it scrolls by the next sine wave value.
    This gives a decent looking wave effect.

    Download link
    https://drive.google.com/file/d/0B-u...ew?usp=sharing
    Source code is included with the ROM download

    Final thoughts
    The music tempo was too fast on Fusion, Gens, and probably a few other emulators. I included a version of the demo fixed for emulators with the regular download.

    There is an easter egg visible only if you run the demo on a PAL console.

    You can get a stronger wave effect by using smaller right shift values in the skew_H and skew_V subroutines.

    I was able to get really good compression on the flag image. Uncompressed, it was 33KB. Kosinski compression got it down to 2KB.

    I typed almost all of the program code on an American made keyboard.
    Modded consoles:
    Master System (v7040) with s-video & direct AV out
    Model 1 with 10mhz overclock & halt switches
    Model 1 with 10mhz 68010
    Model 2 VA2.3 with unfiltered Mega Amp, & s-video
    Model 3 VA1 with compatibility fixes & s-video
    32X with s-video
    Visit my web site at www.mode5.net
    Or my collection of homebrew Genesis games, programs, and music on SEGA-16!

  2. #2
    Hero of Algol
    Join Date
    Aug 2010
    Posts
    8,101
    Rep Power
    189

    Default

    You must spread some Reputation around before giving it to ComradeOj again.

    Really cool!

  3. #3
    Wildside Expert bgvanbur's Avatar
    Join Date
    Jul 2011
    Location
    NY, USA
    Age
    38
    Posts
    199
    Rep Power
    21

    Default

    I need to spread reputation around more too! Nice little demo. I have been working with the hblank for the first time in the last week and used your previous hblank demo (sega-16 skewing) to play around with things I was curious about

  4. #4
    Wildside Expert dr apocalipsis's Avatar
    Join Date
    Oct 2012
    Posts
    154
    Rep Power
    13

    Default

    Could you reduce the right part height slightly (since genesis can't handle column better) and made the animation faster?

    To get this effect:


  5. #5
    Mega Driven Raging in the Streets cleeg's Avatar
    Join Date
    Oct 2010
    Location
    Outer Space 2
    Age
    42
    Posts
    3,408
    Rep Power
    73

    Default

    Now let's have some God save the queen for heaven's sake.

    Nice job by the way.

  6. #6
    Master of Shinobi midnightrider's Avatar
    Join Date
    Nov 2013
    Posts
    2,270
    Rep Power
    47

    Default

    Quote Originally Posted by cleeg View Post
    Now let's have some God save the queen for heaven's sake.
    If you insist: http://www.youtube.com/watch?v=7qa9VjuzTJs

  7. #7
    Mega Driven Raging in the Streets cleeg's Avatar
    Join Date
    Oct 2010
    Location
    Outer Space 2
    Age
    42
    Posts
    3,408
    Rep Power
    73

    Default

    The version I was thinking of!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •