Making a Game in C++ with No Experience

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 234

  • @sauceontoes3457
    @sauceontoes3457 Рік тому +227

    "no experience"

    • @racialconsciousness7169
      @racialconsciousness7169 9 місяців тому +22

      Seriously, you don't just make a game with "no experience"

    • @diadetediotedio6918
      @diadetediotedio6918 9 місяців тому +15

      @@racialconsciousness7169
      No experience in the language bro, not in programming in general.

    • @racialconsciousness7169
      @racialconsciousness7169 9 місяців тому +1

      @@diadetediotedio6918 Well, C++ is a fair bit different to most high-level interpreted languages. So incredible to see him develop a game in a lower-level language he doesn't know.

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

      @@diadetediotedio6918 lol, you believe that?

  • @justmoniikaa96
    @justmoniikaa96 10 місяців тому +106

    "No experience" he says 💀

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

    I used to love C++. I would probably have to re-learn a lot of it today, but it used to be my go-to language for everything. So speedy and none of the BS like in some interpreted languages.

  • @stevenwolfe591
    @stevenwolfe591 Рік тому +60

    The scope you chose for playing with a new language and framework was perfect. I did something similar to mess with WebGL, but chose a slightly too large scope. ~50 hours seems to be the sweet spot before you've gone too deep.

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

    That is so cool! I've just started learning c++, so you really motivated me to go forward, thank you

  • @Dr_Tripper
    @Dr_Tripper 9 місяців тому +2

    Rock on! This brings back memories of when I had a BasicA compiler and not even a book to learn from. Managed to build 'Space Invaders' as my first project too! I think I will look into C++.

  • @LaNiBlackLight
    @LaNiBlackLight Рік тому +28

    That ia such an impressive work.
    I've learned C(Just C) programming language at school and college, and assembly 86x, so I kinda feel how hard is to learn them, especially if you are used to stuff much easier to use like C#, java or python(Mentioning them because they are/were my main focuses at some point).
    Currently learning UE5, and cant imagine making an actual game from scratch like you did.
    My school projects were makimg games from scratch like this, but instead of 5 days, we had 9 months, and a teacher.

    • @eris-cs
      @eris-cs Рік тому +1

      Are you a college student? If yes, what course are taking? I'm a graduating grade 12 student so I'm wandering around to have a insight of what I should take. Thank you

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

      @@eris-cs Right after my school, I was drafted to the military which im currently at.
      Didnt get a chance to experience university yet, but next year will be able to.
      Sorry that I couldnt help

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

      ​@eris-cs current college student in CS here. Gonna be honest most of CS in uni is bssic language syntax and dsta structures in the undergrad course. You won't see high level stuff until your second half of year 2 or later. If you're interested in game design or coding, I highly recommend getting the basics down over the summer and taking proficiency exams when available to breeze through the entry level courses. They aren't really hard, they're designed to simply have high workloads and weed out some students. Gross concept for a place of higher education, but that's how it is.

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

      ​@@eris-csoh and definitely I recommend learning Java first, then hopping into c++ java is harder to start on than python but you'll be better for it in the future. Learn c++ after java just because getting the basics in a stricter but cleaner language will make the transition to c++ much easier on you.

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

    I am currently doing a CS degree and am in my 2nd semester. For our 1st semester final project we were aasigned to remake the classical centipede game on atari consoles. We also used the sfml library and oh boy was coding the game difficult. There were lots of extra conditions and bonus cases which made me invest 100+ hours into it. Great video which reminded me of that incredibly stressful project week

  • @k2vhal237
    @k2vhal237 9 місяців тому +1

    Yeah google was also created by a c++ developer who has 'no experience " with it

  • @amyAlert
    @amyAlert Рік тому +6

    lovely video, would love to make a game in c or c++ someday, so seeing someone with no experience much like myself is very motivating. ty :)

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

      Hey thanks for watching. You may have got a misunderstanding, what I meant was the I had no experience using the C++ language. However I am experienced in other languages like Python, JavaScript and C# as well as game engines like Unity. The video might not have shown it much, but making a game in C++ for the first time was pretty hard, even with my previous experience.
      If you are interested in making a game in C or C++, I recommend that you actually learn the language first before jumping into making a game. There are many good free courses for C and C++ on UA-cam if you search for them.

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

      ​@@BrooklynBaylis Thanks for the guidance ❤

  • @百々年
    @百々年 Рік тому +11

    i was just watchin this then noticed, 45 subs? youre gonna grow man, the editing and watchable(ness?) of this is like, on point, keep at it

  • @bayurukmanajati1224
    @bayurukmanajati1224 10 місяців тому +1

    The title should be "With no engines" or "From a text editor"
    Because I have tried making game in Ruby "with no experience" is easy. Well, because I use RPG Maker. XD

  • @mirko5304
    @mirko5304 Рік тому +6

    You have so much potential, keep it up great video and commentary

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

    Easy sub, this is good content! This channel will surely explode in no time with a few more videos of this quality

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

    I can see the appeal of making your own game without relying on an existing game engine. This is very impressive!

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

    I almost cried hearing Dani's memes
    also you appeard in my raccomendations right when i was serching a way to easily open windows on c++❤

  • @tensorflaw
    @tensorflaw Рік тому +131

    I tried something similar recently but instead of SFML I used SIGIL. It was fun. The clunkiest part was the trigonometry and rotation. You should try replacing the sprites with vectors.

    • @BrooklynBaylis
      @BrooklynBaylis  Рік тому +23

      Thanks for the comment! Coding in C++ was actually quite enjoyable, but I was racking my brain trying to do the maths and rotation, like you said. I guess it makes sense to use a vector of sprites for the animation instead of a spritesheet, I'd make sure to do that if I make another game in C++!

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

    I didn't realize that there was less than 500 views...
    This was definitely worth a like and sub, high quality.

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

      Thanks for your support! UA-cam takes a lot of time to grow, even with good videos - I think the algorithm is a bit slow to pick up on newer channels.

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

      @@BrooklynBaylis Nothing worth having doesn't take effort.

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

      @@thoughted6069 exactly!

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

    Bro when I saw this I thought "man this is pretty good! he must have like 50K subs or somethin" I'm looking at the editing rn and I just can't believe you dont have over 10k subs. Keep workin on your videos!

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

      Thank you man! UA-cam is a grind, I believe I'll get 10k subs someday

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

    Contrails on a spaceship?
    Idk about that, lol!
    Very nice video!

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

    nice video. gonna start my own c++ video series

  • @yakub548
    @yakub548 9 місяців тому +1

    Great video bro
    I've fallen in love with the first concept. I wonder how did you implement the movement? What sources did you use to create it?
    Also, keep up the good work ❤️

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

    subbed bro! keep up the good work cant wait for you to hit 10k soon

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

      Thanks! Realistically I don't think that I will hit 10k soon, although i've got 1k subscribers in my scope. But first I should focus on getting 100 subs, I mean I'm at 50 subs already!

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

    I'm making a game with SFML and C++. It's going well, and I'm about half way done with coding :D

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

    Good job bro this video inspired me to learn more and start making my own creations

  • @Patrick-vv3ig
    @Patrick-vv3ig Рік тому +388

    C++ isn't hard because of low level concepts and esoteric language constructs, but because of it's awful build system.

    • @Tom-pp5td
      @Tom-pp5td Рік тому +18

      What build System? I didnt know c++ has its own..

    • @Patrick-vv3ig
      @Patrick-vv3ig Рік тому +19

      ​@@Tom-pp5td

    • @Tom-pp5td
      @Tom-pp5td Рік тому +1

      @@Patrick-vv3ig 🤨🤔??

    • @informagico6331
      @informagico6331 Рік тому +6

      Yeah because it is non existent

    • @Jack-ss4re
      @Jack-ss4re Рік тому +11

      What is build system?

  • @JenByteMusic
    @JenByteMusic Рік тому +6

    Yoo this is really cool. I just wish I had more time to also get back into game development again... Anyway if you one day would like to have costume music or sounds made for a game hit me up. I would love to make that stuff.

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

      Oh and back when I started making music I also used LMMS Studio. Seeing you using it really gave me flashbacks :D

  • @racialconsciousness7169
    @racialconsciousness7169 9 місяців тому +1

    Can you explain whether you actually had 0 C++ programming experience or whether it was just that you had never attempted programming a game in that language. Because, there's no way you just made a game in C++ with no prior experience.

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

    yoo the video is amazingly educational. Thank you for showing that it's actually possible to create a 2D game engine using C++ without burning my computer down. BUT for now I will keep learning the Godot game engine.

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

    Heyyy!! that was so cool, would've liked maybe seeing some more code to see what you did, and because when you look at the code it really shows how much effort you put in

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

      Thanks! Since this video is for entertainment, a good portion of my audience probably aren't programmers, so they would get bored if I sat there explain all the code to them. Also the code that I wrote for the challenge is a bit whack and messy.
      Anyways here are some more code snippets if you're interested: imgur.com/a/imODRCH

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

      @@BrooklynBaylis thankss, although I do think that you could explain little parts of the code and just put a timestamp in case anyone doesn't wanna hear it. I'll go and look at those snippets right now though

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

      @@BrooklynBaylis thankss, although I do think that you could explain little parts of the code and just put a timestamp in case anyone doesn't wanna hear it. I'll go and look at those snippets right now though

  • @diamondbrain5576
    @diamondbrain5576 Рік тому +45

    you got recommended!

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

    I literally made a similiar game in lua and lvoe2d a few tips btw u can change the background from the pink static color to space picture

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

    wow i especially love the part where you went into detail about the challenges you faced! oh wait :/

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

    I just started learning SFMLwith C++ !

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

    very good editing. I need to up my game.

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

    Nice video with superb editing you earned a sub

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

    Wow this video is extremely well done, and has very high quality editing and production value. I can’t believe you don’t have thousands of subscribers at least. Hope you the best! Great video!!

  • @mqbaka
    @mqbaka Рік тому +6

    Since you are using LMMS, you probably are familiar with LMMS's synth SFXR (I'm pretty sure it was based on JSFXR) which can basically do what JSFXR do but offline. Great video by the way. I used C++ and SFML back in the day, it was also around the time I discovered LMMS, so many sweet memories.

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

      Thanks for commenting! I just used JSFXR because its more convenient, JSFXR is actually the JavaScript / Web port of SFXR. SFXR is actually a separate program but has been ported for use in LMMS. I only use LMMS because I don't want to spend £164 on FL Studio, LMMS is actually a decent DAW but it has an ass interface and a steep learning curve.

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

    the spaceship is very nice, the shadows very nice, the movement is very smooth, I didn't like the tail of the meteors, it should be bigger, according to the size they are. I didn't like the control buttons, he could tell the events of the game at the beginning. the enter button is too far to press if you play with one hand if you want to reset the game.

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

    Awesome video,congrats!!!

  • @f00l.
    @f00l. 9 місяців тому +1

    Make a game in binary only

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

    Nice game bro! ♥️

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

    Nice work!

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

    Though this video is quite the fun idea, I think it skips over a lot of the hard and painful parts of C++ which I feel are, not only the most educational, but the most entertaining parts.

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

    The game actually not really good design, but with C++ sfml, no wayy. You so good with matrix and math

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

    Dude, this was a really well made video! I'm pretty sure you're gonna be seeing a spike in subs pretty quickly, if most people are like me and subbed this quickly! Looking forward to future videos!

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

      Thanks for the sub! I actually reached 100 subscribers like 2 minutes ago!

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

    i love these back to basic videos

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

    Bruh I was the 2nd subscriber, I came back just ONE week later and the channel already goin popular

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

    Yoo I also tried doing a c++ game without knowledge. I did it in command prompt tho 😅

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

    1:41 dani reference

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

    I abhor videos like this "No Experience" is always code for years of Experience.

  • @FNaFfAn20111
    @FNaFfAn20111 10 місяців тому +12

    bro said with no expirians

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

      He knows how to code, he just doesn’t know the language

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

      @@semiatolanigan7066 thats the same thing

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

    nice work👍

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

    hmm, this video seems oddly familiar to Barji's...

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

    if you can kindly upload a more in-depth video which shows the whole process from idea to development to finish, be it 4 hours long or not I'd watch the whole video! This video was very good but I'd like to know stuff like how you started on animations for example.

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

    My man i thought you are a BIG youtuber without looking at your sub count, Your contnent is soo amazing that i thought you have over a M subs brooooooo your soo cool. Subbing right away..

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

    This is great first attempt at making a game. What made you decide to use SFML vs SDL2 or some other library?

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

    😂 first circular movement is way more interesting than final game

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

    Omg lmfao, we literally made the same game and had the same bug with a wall of asteroids

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

    The Unity bit aged like fine wine lol

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

    So underrated
    Subbed

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

    bro really shoes the hardest coding language known to man

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

    Noice, now make a 3D version using Vulkan.
    Just kidding, great work, bro, I'm learning computer graphics from scratch and now UA-cam have been recommending me videos like this

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

    Fun fact: Reaction flame has NO shadow because it's basically fire and fire can't have shadow.

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

    Viewer: Wow that was so cool and it was only 5 Minutes, awesome!
    Creator: *Literally poured blood, sweat, and tears into project*: It's been a 4 months since I saw the sun

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

    Bro u have got to make a tutorial

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

    Dani reference was peak

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

    Can you make a full tutorial please. I want to learn this.

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

    particles on explosion would make this game look more finished

  • @Neko-san
    @Neko-san Рік тому

    Actually the music is the best part of the game

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

    You didn't have to lie when saying "No experience"

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

    👏 Which I would grind out that too :*

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

    2 hours ?? It took me 2 days to set up SFML

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

    Nice video. However, game doesn't work on Windows without VisualStudio environment.

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

    hi,good game which softwar have you used for making the sprite sheet

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

      Thanks for watching! I used a web-based pixel art editor called: Piskel, www.piskelapp.com/

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

    What instruments do you use for your LMMS music?

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

    Random spawn in my feed. I love it!

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

    Bro just went "I did some coding" with no experience??? 💀💀💀

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

    You made this in just five days? How much programming experience do you have outside of C++?

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

    What Is The program will you use for make pixel art?

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

    How to get good at c++ i try but i get lost mid way. And also people say its a dead language only having uses in few sectors

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

    anyone remember the name of the first game he tried to get based on? i used to play on mobile, but forgot its name

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

    making a game with no engine is easier thsn making one with an engine, highlybrecommend to anyone interested to take this approach

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

    challenge use 6502 assembly

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

    On which software you did that animations and rendering?

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

    how to fuck did i get this channel recommended but hey good video tough

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

      Thanks for watching! What do you mean by getting recommend (like is it in a good way or ???)

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

    Definitely going to be a good youtuber

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

    NAME OF EDITOR FOR ELEMENTS?

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

    السي++ لغة برمجة قوية جدا ومرنة جدا وفي كلمة جدا تكمن الصعوبة، إذا استعملته بحكمة ودراية سيكون نعيما وإلا سيصبح جحيما

  • @Ryland-tu6pj
    @Ryland-tu6pj 5 місяців тому

    what about unreal engine it uses c++ and unreal is very hard and that will be a good challenge for you right?

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

    "I think it's good enough."
    For whom? >:)

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

    lol i make games to i love stuff like this subbed

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

    this is some 4,8 million views level video

  • @bayzid-kf5ym
    @bayzid-kf5ym 8 місяців тому

    flame do not have shadow

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

    I'm new in C++. I find it so hard, can anyone help me please. How to keep doing it, what can I actually do with C++. How is it beneficial for me???

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

      why are are you learning c++, is it because of college or something else!!

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

      @@avichiii I've just seen your reply!
      On my parents advice I'm doing an associate degree course in Web development and web design from Virtual University of Pakistan, because they teach C++ as a programming language there through recorded lectures (recorded in 2002 may be). I can't stay consistence because it is online and I'm only on trying to do it in my home. Hope you'll read it it and tell me something beneficial. Although I'm watching Apna college videos (Indian channel) but still I'm having trouble being consistence.

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

      ​@@najiahhusnainI hope C++ is not your first programming language! learning C++ as your first programming language is the worst choice. because C/C++ is considered as mid level language which asks you to have knowledge in OS and computer architecture in general. only learning c++ without knowing how memory works, will only make you confused about topics such as pointers and references.
      But since you are doing a degree, i hope they already teach you these topics. & i also hope you have prior programming knowledge in other lang's (python, js, etc).
      If not, It is understandable you are having problems. languages such as c/c++ have prerequisites, I would suggest learn OS, architecture side by side as you learning c++.
      don't blindly follow the tutorials, practice as you are learning,
      on a side note, plz dont watch recording from 2002, technology is always changing. you are prolly watching some deprecated techniques.

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

    Can you please or anyone , how to convert this any sfml.exe into downloadable installed desktop appi

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

    hate all the new clones

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

    How did u add the shadow sprites?
    Also layering?

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

      The shadow was the main sprite re-coloured. I just rendered the shadow with an offset underneath/before the main sprite.

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

      Very well done 🎉
      I liked the original idea better
      Rotation added more freedom to the ship..
      But you would have to write Ai too right?

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

      @@babdie Well like I said in the video, the project was sort of difficult to manage (in terms of interactions between many different objects) as what I initially wanted to create was a bit over-scope for a small experiment like this. Creating the "AI" wouldn't be too hard as I would not need to use advanced pathfinding or neural networks.

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

    Can I see the C++ code? I am curious about it 🤭

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

    Can you put fps counter ? I think it will go insane