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

Поделиться
HTML-код
  • Опубликовано: 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
  • ИгрыИгры

Комментарии • 154

  • @NutyRiver
    @NutyRiver Год назад +133

    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 Год назад +76

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

  • @Cyranek
    @Cyranek Год назад +63

    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

  • @domi_dreams
    @domi_dreams Год назад +39

    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 Год назад +12

    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 Год назад +11

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

    • @3DSage
      @3DSage  Год назад +1

      I'm happy to hear that! 😎👍

  • @k.k9206
    @k.k9206 Год назад +5

    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!

  • @notimplife
    @notimplife Год назад +8

    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 7 месяцев назад

    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!

  • @ragnarok700
    @ragnarok700 Год назад +9

    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!!!

  • @footube9185
    @footube9185 Год назад +2

    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.

  • @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)

  • @RolieKloeOlie
    @RolieKloeOlie Год назад

    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

  • @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?

  • @MrGreeneyes77
    @MrGreeneyes77 Год назад +2

    THIS.IS.BRILLIANT.

  • @noelgallagher3646
    @noelgallagher3646 Год назад +3

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

  • @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! :)

  • @stochasticthots
    @stochasticthots Год назад +1

    This is so helpful! Thank you

    • @3DSage
      @3DSage  Год назад

      I'm glad I could help! :)

  • @MyNewSoundtrack
    @MyNewSoundtrack Год назад

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

  • @Manfre22
    @Manfre22 Год назад +1

    This is awesome 👀

  • @Tsukay.
    @Tsukay. Год назад +3

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

  • @NathanaNobody
    @NathanaNobody Год назад

    Ive been waiting for you to do something like this

  • @pierrebenoit5748
    @pierrebenoit5748 Год назад

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

  • @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.

  • @Dorbellprod
    @Dorbellprod Год назад +3

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

  • @ashharkausar413
    @ashharkausar413 Год назад

    thank you for making this

  • @gwrgrw4077
    @gwrgrw4077 Год назад +12

    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?

  • @Ovskyizrod
    @Ovskyizrod Год назад +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 😅

  • @refeals
    @refeals Год назад

    damn dude, this is amazing!

    • @3DSage
      @3DSage  Год назад

      Thank you for saying that! :)

  • @ghettopokemonplaythroughs
    @ghettopokemonplaythroughs 4 месяца назад

    I love these videos

  • @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

  • @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.

  • @gamingchinchilla7323
    @gamingchinchilla7323 11 месяцев назад +6

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

  • @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.

  • @ryuzxa
    @ryuzxa Год назад

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

  • @alsgaming1426
    @alsgaming1426 5 месяцев назад +4

    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

  • @Pridetoons
    @Pridetoons Год назад +1

    Nice, please make more tutorials.

  • @gt7984
    @gt7984 День назад

    I really wish there was a terraria like gba game. A 2d sandbox sounds like a blast on this console and it seems feasible, especially if world generation is outsourced to a PC. A factorio demake would also be sick

  • @18vlsnp
    @18vlsnp Год назад +1

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

  • @larrykoopa64dshacker64
    @larrykoopa64dshacker64 Год назад

    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.)

  • @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...)

  • @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.

  • @PKSuperStar256
    @PKSuperStar256 5 месяцев назад

    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?

  • @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?

  • @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.

  • @DabossDLT
    @DabossDLT Год назад +1

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

  • @nolancarey6244
    @nolancarey6244 8 месяцев назад

    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.

  • @biscoot4251
    @biscoot4251 8 месяцев назад

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

  • @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.

  • @mrchiggen
    @mrchiggen 3 месяца назад

    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 🤙🏽

  • @CorporalPig22
    @CorporalPig22 10 месяцев назад

    1:02 Based search query

  • @sfaltrax
    @sfaltrax 10 месяцев назад +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 :)

  • @artmanstudios7037
    @artmanstudios7037 Месяц назад

    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!

  • @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.

  • @Svabby
    @Svabby Год назад

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

  • @vabzzz2296
    @vabzzz2296 Год назад +1

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

  • @billybolton6555
    @billybolton6555 10 месяцев назад

    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

  • @ShotgunLlama
    @ShotgunLlama Год назад +1

    Hoping you're still gonna continue the doom series

    • @3DSage
      @3DSage  Год назад +1

      I am working on part 2!

  • @Nbrother1607
    @Nbrother1607 5 месяцев назад

    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)

  • @elcoquilletos9524
    @elcoquilletos9524 Год назад

    For the referencment

  • @mrcheese7393
    @mrcheese7393 Год назад

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

  • @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'"

  • @SapphireEmperor
    @SapphireEmperor Год назад +3

    You should make minecraft for ps1

  • @hunarpg
    @hunarpg Год назад

    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

  • @fakeduck4474
    @fakeduck4474 11 месяцев назад

    you didnt provide a link for the devkitadv??

  • @ThatReviewerGamer
    @ThatReviewerGamer Год назад +2

    What coding language should I study to code for Gameboy?

    • @sdsdfdu4437
      @sdsdfdu4437 Год назад

      C

    • @abzer0gaming
      @abzer0gaming Год назад

      This example uses C, thought there are libraries that use C++.

  • @naturegreene9579
    @naturegreene9579 Месяц назад

    Is it possible in 24 dev new gba games and sell with diy cartridges legally?

  • @ChrisLeeW00
    @ChrisLeeW00 Год назад

    Do the tools only work on Windows?

  • @eduardosablatura8131
    @eduardosablatura8131 2 месяца назад

    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

  • @nil0ww598
    @nil0ww598 Год назад +1

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

  • @nuggiewuggiemusic
    @nuggiewuggiemusic Год назад +83

    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

  • @ruspingpong
    @ruspingpong 29 дней назад +1

    How to download devkitadv? I don’t understand((

  • @phorchybug3286
    @phorchybug3286 7 месяцев назад +1

    Does this engine port over to modern systems too?

    • @3DSage
      @3DSage  7 месяцев назад

      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.

  • @spencerfunk6697
    @spencerfunk6697 2 месяца назад

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

  • @techpriest4787
    @techpriest4787 Год назад

    I was blind but now I see.

  • @Vex_man
    @Vex_man 5 месяцев назад

    where did you get devkitadv?

  • @baconlover4059
    @baconlover4059 Год назад

    Can you record the game on catriges?

  • @fulviodevita1179
    @fulviodevita1179 11 месяцев назад +2

    Create LostMiner for game boy advance

    • @3DSage
      @3DSage  11 месяцев назад

      I like the idea!

  • @bijayshankar
    @bijayshankar Месяц назад

    can any one provide me the link for devkit advance?

  • @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)

  • @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

  • @Bbread_12
    @Bbread_12 2 месяца назад

    0:00

  • @catfree
    @catfree Год назад +3

    cat

  • @DANSIREALM.
    @DANSIREALM. Год назад

    🤔🤔

  • @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.

  • @fsgrggr5943
    @fsgrggr5943 6 месяцев назад

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

  • @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.

  • @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?

  • @Purpbatboi
    @Purpbatboi 5 месяцев назад

    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.

  • @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.

    • @zandiskoul
      @zandiskoul 6 дней назад +1

      I'm new to gameboy programming and this was unhelpful. A bunch of ghetto rigged functions slapped together for poor graphics attempts at ZERO gameplay behind it... all to check the box "I created a game".... but did you? I cant take advice from this...

  • @ps_lol
    @ps_lol Год назад

    does this can be on mobile making this stuff

  • @platinumb3rlitz
    @platinumb3rlitz 10 месяцев назад

    1:04 holy fuck scott the woz

  • @phonginhnhat5076
    @phonginhnhat5076 Год назад

    how to move it to the flash card?

  • @raptor9482
    @raptor9482 7 месяцев назад

    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...

  • @vanessanessa2761
    @vanessanessa2761 9 месяцев назад

    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?

  • @mrcouchdude1155
    @mrcouchdude1155 11 месяцев назад

    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 11 месяцев назад

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