Let's Make a Game Boy Advance Game | GBA Jam 2022

Поділитися
Вставка
  • Опубліковано 26 сер 2022
  • Let's make and enter a GBA game in the GBA Jam competition!
    There is a great homebrew Game Boy Advance community online so I hope you enjoy this video and possibly enter a fun game! Thank you for watching!
    GBA JAM: itch.io/jam/gbajam22
    File download link: github.com/3DSage/GBA_Mode_5_...
    01:47 gbadev mode examples
    03:05 Batch file compile
    03:51 My starter file
    07:08 My simple game
    08:24 Make Textures
    09:10 Music and sounds
  • Ігри

КОМЕНТАРІ • 150

  • @NutyRiver
    @NutyRiver Рік тому +125

    Thank you SO MUCH for making this stuff feel more accessible. I never would’ve considered getting into programming for the gba if it weren’t for your videos, and now I want to try my hand at it.
    If you’re thinking of making a more advanced video I’d totally watch it.

  • @bassguitarbill
    @bassguitarbill Рік тому +72

    The example ROM is basically exactly the ROM you'd make if you wanted to induce epileptic seizures

  • @Cyranek
    @Cyranek Рік тому +58

    hurt me imagining how tedious manually sequencing music for a full game would be

    • @545u
      @545u Рік тому +12

      the way of creating music in this video is really weird and i think that nobody actually uses this way in any real or homebrew game. you can play tracker music on the gba which is the best way of playing music on the gba.

    • @bitten2up
      @bitten2up Рік тому +2

      @Cole Y hmm that already exists, also you can technically convert midi files to tracker files

    • @brwed
      @brwed Рік тому

      i feel like i have seen you in dani and brackeys comment sections along with other game and programming related video comments

  • @dreamsComeTruePL
    @dreamsComeTruePL Рік тому +38

    Are you kidding? Why do you even ask "if you are interested" - we need MOAR of your wizardry! :) Do not stop man with your gift of simple explanations of complex topics.
    Oh, and please come back with more Doom-videos as well! :)

  • @maiser6
    @maiser6 Рік тому +11

    The GBA is my favorite handheld console, I'm very glad you're making tutorials on it.

    • @3DSage
      @3DSage  Рік тому +5

      My favorite too! You're welcome! :)

    • @ragnarok700
      @ragnarok700 Рік тому +1

      It is the only one I could play Tetris on with one hand comfortably on the bus! 😁

  • @justchill1617
    @justchill1617 Рік тому +10

    Really love the GBA, still play it from time to time. Thanks for this

    • @3DSage
      @3DSage  Рік тому +1

      I'm happy to hear that! 😎👍

  • @ragnarok700
    @ragnarok700 Рік тому +8

    Amazing stuff! I've done some GBA & NDS stuff in the past, but this community is now at a much easier level of entry! Just wow! :) Very neat and please do make more of these!!!

  • @notimplife
    @notimplife Рік тому +7

    I could tell from your 3D SnowTank GBA that you are rendering a space half of the screen dimensions and then rescaling it 2x to get that amazing 3D processing power. So good you gave us an insight into your setup!

  • @tjtomenes
    @tjtomenes 5 місяців тому

    Thank you so much for this tutorial. This is such a great resource!
    The GBA was my first ever game console, and it's what got me interested in Game Development. So, I'm really happy to be able to develop for the system that started my journey. Thank you!

  • @footube9185
    @footube9185 Рік тому +1

    THANK YOU!!! TNice tutorials is such an amazing tutorial. I just got soft soft today and was playing around on it but had no clue how to really use it.

  • @k.k9206
    @k.k9206 Рік тому +3

    C seems to be the language to know for retro game dev.
    Thanks for the video, I will watch all of your tutorials and I have subscribed to your channel.

    • @3DSage
      @3DSage  Рік тому

      Thank you for the sub!
      I hope you enjoy my other videos too!

  • @leonelp9593
    @leonelp9593 Рік тому +3

    thanks for uploading this video mate !
    being honest i'm extremely curious about making my own game for the GBA (my Childhood fav console)

  • @kloelind1935
    @kloelind1935 Рік тому

    I have never fully understood how you go from code to visuals and audio. That was the best way anyone has every explained it to me. Im woke

  • @johnmhellpaguyo9885
    @johnmhellpaguyo9885 Рік тому +2

    Please make more of this. I love watching this kind of videos. Inspire me to create one.

    • @3DSage
      @3DSage  Рік тому +2

      Wow reading this inspires me to create more videos! :)

  • @alex_oceann
    @alex_oceann Рік тому +10

    Thank you! Can’t wait for more DOOM and other retro 3D tutorials.
    Would you ever consider doing 3D tutorials for fantasy consoles like WASM-4? And Mode 7 3D games?

  • @noelgallagher3646
    @noelgallagher3646 Рік тому +3

    Didn't know about this jam, will give it a go

  • @MyNewSoundtrack
    @MyNewSoundtrack Рік тому

    I've been blessed by the algorithm, can't wait to give this a try!

  • @pierrebenoit5748
    @pierrebenoit5748 Рік тому

    Thank you bro, I love GBA and I wanted to make my own GBA games and thank you for all bro 💪🏾😝

  • @NathanaNobody
    @NathanaNobody Рік тому

    Ive been waiting for you to do something like this

  • @Dorbellprod
    @Dorbellprod Рік тому +3

    Fantastic, I love having something new to learn! Will definitely refer back to this video

  • @stochasticthots
    @stochasticthots Рік тому +1

    This is so helpful! Thank you

    • @3DSage
      @3DSage  Рік тому

      I'm glad I could help! :)

  • @Tsukay.
    @Tsukay. Рік тому +3

    Thank you so much! Please make another video on gba!

  • @StargateAdventures
    @StargateAdventures Рік тому

    Would love another video thank you! 😁

  • @nadavino
    @nadavino Рік тому +1

    Thank you for the insightful video. I hope I can make a GBA game one day too, even if only a short one, but the learning curve (understanding c, digging through old forums, understanding the hardware on an intimate level) seems quite daunting. BTW you might want to try Butano. It’s a C++ framework for making GBA games.

  • @MrGreeneyes77
    @MrGreeneyes77 Рік тому +2

    THIS.IS.BRILLIANT.

  • @Lajavikrelac
    @Lajavikrelac Рік тому +3

    Very fascinating and educational for a viewer! I wonder how will a fan-made Zoo Tycoon 1 or Zoo Tycoon 2 GBA port will work in there. If your interested that is however it's fine if you don't do requests since to begin with I'm not exactly sure if you have heard or played any of the games of the franchise 😅

  • @Manfre22
    @Manfre22 Рік тому +1

    This is awesome 👀

  • @gamingchinchilla7323
    @gamingchinchilla7323 10 місяців тому +5

    'gcc' is not recognized as an internal or external command,
    operable program or batch file.
    help please

  • @gwrgrw4077
    @gwrgrw4077 Рік тому +11

    Great video, really, thank you! but installing devkitadv is very confusing as there is a lot of stuff one needs to download, and even then the folder doesn't look as in the video. Could you explain that part a little more in depth please?

  • @refeals
    @refeals Рік тому

    damn dude, this is amazing!

    • @3DSage
      @3DSage  Рік тому

      Thank you for saying that! :)

  • @anon_y_mousse
    @anon_y_mousse Рік тому +19

    Just a few tips: For clearBackground(), instead of double for loops, since it's a 1D array, just use a single for loop with the exit condition as SW*SH. For buttons(), use a switch, you'll have to mask the KEY_STATE macro to acquire the values, and it might be a good idea to set up an enum, so EKEY_R for that value, #define BIT(x) (1

  • @matsomo
    @matsomo Рік тому +1

    Would love more GBA dev videos

  • @ashharkausar413
    @ashharkausar413 Рік тому

    thank you for making this

  • @JamesTDG
    @JamesTDG Рік тому +7

    Still waiting for the doom video sequel, I really want to try and work off of what you have just to have some sort of Halo demake on gba

    • @3DSage
      @3DSage  Рік тому +3

      I am still working on part 2. And I like your idea and I would love to see that! This code will be able to be ported to the GBA but will need some optimizations that I will talk about.

  • @ghettopokemonplaythroughs
    @ghettopokemonplaythroughs 2 місяці тому

    I love these videos

  • @costelinha1867
    @costelinha1867 Рік тому +3

    That's so cool, sadly I don't have a gba, I do have a nintendo DSI tho, and it does have it's own homebrew development community as well.

    • @costelinha1867
      @costelinha1867 Рік тому +1

      @L'essaim Mine is a dsi, it has no gba port. GBARunner2 is a thing tho...

    • @costelinha1867
      @costelinha1867 Рік тому

      @L'essaim Sorry :)

    • @costelinha1867
      @costelinha1867 Рік тому

      @L'essaim No problem, now to be fair, gba runner2 does exist, I'm just not sure if it could be used to test gba games as it struggles even with rom hacks.
      Commercial gba games work fine tho, most of them at least.

  • @18vlsnp
    @18vlsnp 11 місяців тому +1

    This is crazy :( really makes me appreciate unity alot more 😂

  • @ryuzxa
    @ryuzxa Рік тому

    I love that the only video show up when you search GBA are the retro future and scott

  • @Pridetoons
    @Pridetoons Рік тому +1

    Nice, please make more tutorials.

  • @larrykoopa64dshacker64
    @larrykoopa64dshacker64 11 місяців тому

    Question: Do you think you could make a Gameboy Advance game maker of sort? Kinda like GB Studio? Reason I'm asking is because I had an error when I tried to use this. If not, maybe I should just shrink all my NSMB2 Larry sprites and work with the smaller resolution, perhaps? Since with how big they are currently, the wouldn't work with the lower resolution mode you used. (Plus, Larry looks too big in comparison to question mark block sprites anyway, so maybe I should and use the mode you used, see if I don't get an error that way.)

  • @PKSuperStar256
    @PKSuperStar256 3 місяці тому

    I'm curious about something. What mode do most GBA games use? Is there any documentation on what modes games like Wario Land 4 or Klonoa: Empire of Dreams use?

  • @Lin_The_Cat_
    @Lin_The_Cat_ Рік тому

    Can we hashdefine IWRAM as a pointer to a vu32 array using its memaddress directly instead of using that __attribute(section(".iwram")) macro? like #define IWRAM (* (volatile unsigned int *) 0x03000000)? Do I have to worry about the precompiler making code that stores stuff there? Sorry if this question seems like it has an obvious answer. I just find it difficult to find documentation as all of the references I've used so far are really old and often times, supplemental links usually redirect to websites that are no longer being run.

  • @mrchiggen
    @mrchiggen 2 місяці тому

    I’m sure this is a really go video for people who understand what you’re saying. I however, am lost as fork. None of that made any sense because I don’t understand computer words in the slightest lol. I’ll be back when I’m more knowledgeable 🤙🏽

  • @watercat1248
    @watercat1248 Рік тому

    You said that the gba have 5 mode or something like that
    it's possible to combine those modes in the same game for example to use mode 5 for the main menu,
    but use mode 1 inside the game or you need choose only one those modes from each game?

  • @whitedragonbook2660
    @whitedragonbook2660 Рік тому +5

    Did anyone else get a problem with the batch file spitting out the error “‘gcc’ is not recognized as an internal or external command, operable program or batch file”?

  • @larrykoopa64dshacker64
    @larrykoopa64dshacker64 Рік тому +5

    Hey, uh, I'm doing exactly as this says and I can't seem to create a gba file so I can finish the first part of making a GBA game.
    It gives me the errors
    'gcc' is not recognized as an internal or external command,
    operable program or batch file.
    and
    -O binary main.elf M3demotest.gba
    objcopy: main.elf: No such file or directory
    I mean, unless this works specifically with the lower res one you're using. I intend to make a little test project that kinda looks like NSMB2, to put my NSMB2 Larry sprites to use. (That is, if the GBA is capable of half translucent sprites so I can make the sprites look like the pre-rendered models since Larry is a colorful character, so lowering his sprites down to 15 colors makes it look shadeless and no longer look like NSMB2, and the reason I intend to replicate NSMB2's style is because I am inspired by New Super Mario Land on the SNES, lol, like, I know it's possible to make a test project in the NSMB2 style, lol, but I might try other things to see if other things work better if this idea doesn't work as intended, hahah... Come to think of it, my concept image barely looks different when I index it to 256 colors, so the double buffer one with the 256 colors might work well if the one I'm trying to use doesn't... And I gotta stop rambling on...)

  • @nolancarey6244
    @nolancarey6244 7 місяців тому

    where did you get the devkit files because any of the files I get from the official site don't have the same stuff that that file has, with the same files in the folder.

  • @Sir_Bone-Head
    @Sir_Bone-Head Рік тому

    I had this weird idea to try to make my own version of Super Smash Land, then i thought it would be interesting to put it on the GBA, only problem is I'm not much of a coder.

  • @artmanstudios7037
    @artmanstudios7037 10 днів тому

    How come nobody has created a game boy advance game engine like GB studios that requires no coding to create your own game boy games but for game boy advance and it's free and open source it should be a great engine to creating a game boy advance as a hobby and to make lots of game jam and or just for fun and to play it on the actual game boy advance hardware!

  • @DabossDLT
    @DabossDLT Рік тому +1

    Any idea on how to make a walking cycle animation and display it correctly?

  • @sdsdfdu4437
    @sdsdfdu4437 Рік тому +1

    Interesting. Though are you planning on continuing the Doom engine series?

    • @3DSage
      @3DSage  Рік тому +2

      Yes! There will be a part 2 soon.

  • @vabzzz2296
    @vabzzz2296 Рік тому +1

    Loved it bro, how you explain things is really neat. Waiting for more future videos (づ ̄ 3 ̄)づ

  • @biscoot4251
    @biscoot4251 7 місяців тому

    hey so hmm i'm starting to learn c++ for unreal mostly, is it a good language to do gb and gba games also ?

  • @alsgaming1426
    @alsgaming1426 4 місяці тому +2

    i have an issue i followed the entire video step to step and get the error when trying to run the bat file
    C:\Windows\System32>path=C:\Users\zache\Downloads\GBA_Mode_5_Starter-main\2_3DSage_mode5_game\devkitadv\bin
    C:\Windows\System32>gcc -o main.elf main.c
    'gcc' is not recognized as an internal or external command,
    operable program or batch file.
    C:\Windows\System32>objcopy -O binary main.elf main.gba
    objcopy: main.elf: No such file or directory
    C:\Windows\System32>pause

  • @billybolton6555
    @billybolton6555 9 місяців тому

    ive tried for a long time and im stuck at the compile part. ive done everything youve donw in c++ changed all the directorys. and the gcc thing wont run ive installed cygwin64 and added it to the system variables and its errored with 0xc000007b and ive tried other librarysa but my computer now requires cygwin64 and now i dont know what to do

  • @user-RBM
    @user-RBM Рік тому +4

    I'm having trouble compiling the source code into the rom. I have tried everything to get devkitadv to compile at least one GBA game and I have also repeated the same first step many times throughout the past few days. The main errors I'm getting are 'gcc' is not recognized as an internal or external command", and 'objcopy' is not recognized as an internal or external command". Looking through the comments, it seems this is due to devkitadv needing to be downloaded through multiple packages, but even when I tried doing that it still gave me the same errors. This seems to be a dead end for me, so any kind of help on how to fix this issue will come in handy.

  • @mrcheese7393
    @mrcheese7393 Рік тому

    My image conversion does not seem to work, the image just short of random colours

  • @ShotgunLlama
    @ShotgunLlama Рік тому +1

    Hoping you're still gonna continue the doom series

    • @3DSage
      @3DSage  Рік тому +1

      I am working on part 2!

  • @Nbrother1607
    @Nbrother1607 3 місяці тому

    With Mode 4 I feel like the 256 color limitation won't bother me as much as I can deal with even just 2 colors (this is a personal opinion)

  • @CorporalPig22
    @CorporalPig22 9 місяців тому

    1:02 Based search query

  • @Vex_man
    @Vex_man 3 місяці тому

    where did you get devkitadv?

  • @fakeduck4474
    @fakeduck4474 9 місяців тому

    you didnt provide a link for the devkitadv??

  • @sfaltrax
    @sfaltrax 8 місяців тому +1

    Hello, I don't find the devkitadv folder anywhere, pls someone help me with a link to it, My compiler is just sending errors :)

  • @ChrisLeeW00
    @ChrisLeeW00 Рік тому

    Do the tools only work on Windows?

  • @nuggiewuggiemusic
    @nuggiewuggiemusic Рік тому +79

    thank you, but I want a more in- depth tutorial

    • @davidbipolar890
      @davidbipolar890 Рік тому +18

      Just read tonc manual. It explains hardware stuff and provides some good c code examples.

    • @nuggiewuggiemusic
      @nuggiewuggiemusic Рік тому +4

      @@davidbipolar890 where is it online?

    • @rbmc1983
      @rbmc1983 Рік тому +2

      Same.

    • @leonelp9593
      @leonelp9593 Рік тому +3

      should be cool, i guees this is like a first introduction to everything

    • @llagasmalou5312
      @llagasmalou5312 Рік тому

      p pa

  • @Svabby
    @Svabby Рік тому

    Has anyone tried creating a muiltplayer game with the GBA? Like through the link cable, that would be awesome to see!

  • @hunarpg
    @hunarpg 11 місяців тому

    Loved the video
    But would suggest ditching vba it's old and crappy switch to mGba it's a much up to date emulator while being more accurate and full of features too

  • @phorchybug3286
    @phorchybug3286 5 місяців тому +1

    Does this engine port over to modern systems too?

    • @3DSage
      @3DSage  5 місяців тому

      It could since it's rendering in software so any program that can draw a pixel at an x/y location can render this. You can port with some adjustments needed.

  • @mrcheese7393
    @mrcheese7393 Рік тому +1

    Im getting an error "gcc is not recognised" in the make.bat file, if I remove the path line it works fine

    • @mrcheese7393
      @mrcheese7393 Рік тому

      Ok I changed my code a bit "C:\msys64\mingw64\bin\gcc.exe -c -O3 -mthumb main.c " but now it errors "unrecognized command-line option '-mthumb'"

  • @baconlover4059
    @baconlover4059 Рік тому

    Can you record the game on catriges?

  • @elcoquilletos9524
    @elcoquilletos9524 Рік тому

    For the referencment

  • @cheeseburgerinvr
    @cheeseburgerinvr Рік тому +5

    3:20 help! when i run it i get this:
    C:\Users\[user]\OneDrive\Bureaublad\gba_game>path=C:\Users\[user]\OneDrive\Bureaublad\gba_game\devkitadv\bin
    C:\Users\[user]\OneDrive\Bureaublad\gba_game>gcc -o main.elf main.c
    'gcc' is not recognized as an internal or external command,
    operable program or batch file.
    C:\Users\[user]\OneDrive\Bureaublad\gba_game>objcopy -O binary main.elf main.gba
    objcopy: main.elf: No such file or directory
    C:\Users\[user]\OneDrive\Bureaublad\gba_game>pause
    Press any key to continue . . .
    how do I fix it?

  • @SaphireEmperor
    @SaphireEmperor Рік тому +3

    You should make minecraft for ps1

  • @eduardosablatura8131
    @eduardosablatura8131 Місяць тому

    When I click “make” after fixing the directory path. The system32 window in on flashes on the task bar and nothing else happens. Please help

  • @spencerfunk6697
    @spencerfunk6697 Місяць тому

    It’d be fire if u could convert py games to gba roms

  • @nil0ww598
    @nil0ww598 Рік тому +1

    Ok but what it mean tho? Real cool i wish i could do this but im too dum to understan anything

  • @ThatReviewerGamer
    @ThatReviewerGamer Рік тому +2

    What coding language should I study to code for Gameboy?

  • @techpriest4787
    @techpriest4787 Рік тому

    I was blind but now I see.

  • @cydragon2.099
    @cydragon2.099 Рік тому

    imagine that someone made a shooter/gunner, driving, and as much open world as possible GBA demo to show of what companies could've done with the gba

  • @bijayshankar
    @bijayshankar 3 дні тому

    can any one provide me the link for devkit advance?

  • @catfree
    @catfree Рік тому +3

    cat

  • @fulviodevita1179
    @fulviodevita1179 10 місяців тому +2

    Create LostMiner for game boy advance

    • @3DSage
      @3DSage  10 місяців тому

      I like the idea!

  • @user-or5so6zt6g
    @user-or5so6zt6g Рік тому +1

    Where and how did you install devkit advance?

    • @3DSage
      @3DSage  Рік тому

      It's not really an install but download the exe into the same folder like I show.

    • @user-or5so6zt6g
      @user-or5so6zt6g Рік тому

      @@3DSage Yeah, but is there a specific link that you provided? The only page I found splits devkitadv into different packages that I apparently have to merge, but I still get compiler errors from doing so.

    • @user-or5so6zt6g
      @user-or5so6zt6g Рік тому

      Also the compiler errors I keep getting are:
      c: cannot find math.h
      gcc: main.o does not exist

    • @user-or5so6zt6g
      @user-or5so6zt6g Рік тому

      @@3DSage Nevermind, this video was very helpful, but I ended up installing devkit pro and was able to finally successfully compile a c file to a gba file! (And it even works on my easy flash omega)

  • @ijansk
    @ijansk Рік тому

    I never had a GBA but I find it the most endearing of all consoles. It is unfortunate that Nintendo hasn't launched an improved GBA for the many of us who never had one and would love to play with one.

  • @fsgrggr5943
    @fsgrggr5943 4 місяці тому

    Wtf are the background noises in the first 150 seconds of the video? Just noise? 😂

  • @cakestealer5983
    @cakestealer5983 Рік тому

    Alright, so big surprise, I don’t understand anything and will probably not be able to make a GBA game with C or with Lua. But GB Studio is extremely limiting for a bullet hell game... so... not good.

  • @Bbread_12
    @Bbread_12 26 днів тому

    0:00

  • @Purpbatboi
    @Purpbatboi 3 місяці тому

    the devkitadv explaining part is handled horribly.
    you just say to look for 'devkitadv' i find it, do everything u typed in the video correctly, yet it fails to compile.

  • @ps_lol
    @ps_lol Рік тому

    does this can be on mobile making this stuff

  • @phonginhnhat5076
    @phonginhnhat5076 Рік тому

    how to move it to the flash card?

  • @raptor9482
    @raptor9482 6 місяців тому

    Seeing all that coding... I'm not good with coding... Is there a program that makes this process easier? I'm more of a sprites design kind of person, and so far the closest I've seen to a GB game making app is GB Studio. I never learned how to code...

  • @platinumb3rlitz
    @platinumb3rlitz 9 місяців тому

    1:04 holy fuck scott the woz

  • @leinad3955
    @leinad3955 Рік тому +9

    Who is the audience for this? Beginners will have no idea what's going on or why, and people who do understand won't find it useful. This is definitely not what those comments were asking for lol

    • @cjlight331
      @cjlight331 Рік тому +1

      Me, I am the a member of the audience for this

    • @sdsdfdu4437
      @sdsdfdu4437 Рік тому +1

      I am the audience

    • @asswaterstudios
      @asswaterstudios Рік тому +2

      Home brew community and game collectors/nerds. Not beginners. This is an old console, noobs wouldn’t be interested.

  • @vanessanessa2761
    @vanessanessa2761 8 місяців тому

    i can't believe that I need to make a Game Boy Advance video game with programming, making a video game with programming is very difficult but can I make a video game on the Game Boy Advance with AI?

  • @DANSIREALM.
    @DANSIREALM. Рік тому

    🤔🤔

  • @mrcouchdude1155
    @mrcouchdude1155 10 місяців тому

    ngl this video just made things a lot more confusing for me, i dont understand a thing going on or any of the technical jargon being said, is there an easier more understandable tutorial out there or am i gonna have to stufy code for years to understand this?

  • @intarz
    @intarz 10 місяців тому

    Could somebody make like a gba version of pokemon lets go pikachu?