16x16 sprites on GB

Discussion in 'Nintendo Game Development' started by Beegee7730, Nov 11, 2012.

  1. Beegee7730

    Beegee7730 Member

    Joined:
    Oct 7, 2011
    Messages:
    17
    Likes Received:
    0
    Hello all. I need some advice regarding the Gameboy and the use of 8x16 sprites. I know the Gameboy uses either 8x8 or 8x16 sprites, however I have a graphic that needs to be 16x16. I was planning to use two sprites placed next to eachother to give the illusion of one larger sprite, however I have no idea how to do so...
    This is the code I am using so far. Taken from an example, this generates a 8x16 sprite in the center of the screen.

    Can anyone offer me any advice on how to do what I'm requesting, or give me an alternative? I plan for the sprite(s) to be able to move around based on the users input, however I can see no easy way of doing this.
    Thanks.



    Disregard this, I managed to solve my issue. I was not correctly assigning the tiles to different sprites so it was just showing it twice.

    My second question however is a little different. Does anyone have any archives of GB music/MOD tools? I want to add some basic music to my GB homebrew game however a lot of the links from the site I've been using are now 404s. It'd be great if I could add some basic background audio.

    Thanks!
     
    Last edited: Nov 12, 2012
  2. MottZilla

    MottZilla Champion of the Forum

    Joined:
    Feb 1, 2006
    Messages:
    5,066
    Likes Received:
    102
    You'll probably have to look around for source code to anything with sound. You may even have to write your own sound engine. You'd think something would be out there somewhere given the length of time the Gameboy and then Gameboy Color was on the market. If you should find anything let us know. If I spot anything I'll post about it as well. It would be nice if there was something similar to FamiTracker for NES but for the Gameboy instead.

    You could also examine existing games to see about taking their sound engine and making your own music and sound effects for it.
     
    Last edited: Nov 13, 2012
  3. st!

    st! Rising Member

    Joined:
    Oct 24, 2006
    Messages:
    73
    Likes Received:
    3
    Carillon or MusicBox seems to be your option -> http://gbdev.gg8.se/files/musictools/
    You can track your own music or use demo tunes. There's few other engines around
    but those were coded in asm and are not that friendly. Also you can use some of .gbs
    rips...
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page