GamesWithGabe
GamesWithGabe
  • Видео 198
  • Просмотров 5 220 511

Видео

I Coded a Video Editor (and it kind of sucks)I Coded a Video Editor (and it kind of sucks)
I Coded a Video Editor (and it kind of sucks)
Просмотров 233 тыс.Год назад
I was using Manim to create animations for my latest video when I ran into a bug. This bug was very small, but caused a visual artifact that was driving me crazy. I reached out and was informed that this was a known bug, and unfortunately there is no fix. I said to myself, "Fine I'll live with it", but I couldn't. So I set out to code a video editor over my weekend, and here I am 8 months later...
Textures in OpenGL | How to Code Minecraft Ep. 4Textures in OpenGL | How to Code Minecraft Ep. 4
Textures in OpenGL | How to Code Minecraft Ep. 4
Просмотров 95 тыс.2 года назад
Join the Discord: discord.gg/4tHeAkxNg7 Follow me on Twitch: www.twitch.tv/gameswthgabe In this episode I go over textures in OpenGL. There are several different ideas related to textures. Some of the concepts I go over include things like mipmapping, anisotropic filtering, texture sample filtering and more. By the end of this episode, you should be able to create a small field of cubes if you'...
BigO = Performance! And other lies programmers tell themselves!!BigO = Performance! And other lies programmers tell themselves!!
BigO = Performance! And other lies programmers tell themselves!!
Просмотров 114 тыс.2 года назад
Have you ever analyzed your algorithm and found out that it runs in O(n^2) and thought to yourself, "man I'm a crappy programmer...". Well, you are! But not for the reasons you think! If you think Big Oh = performance, boy have I got news for you. In this video I try to dispel this fallacy that programmers have assumed, that Big Oh complexity equates to performance. My Benchmarks: gist.github.c...
Adding Multiplayer, Colored Lights, and More | Coding Minecraft Devlog #2Adding Multiplayer, Colored Lights, and More | Coding Minecraft Devlog #2
Adding Multiplayer, Colored Lights, and More | Coding Minecraft Devlog #2
Просмотров 367 тыс.2 года назад
Join the Discord: discord.gg/4tHeAkxNg7 Follow me on Twitch: www.twitch.tv/gameswthgabe Watch my brothers video of him playing the game! ruclips.net/video/BtYfR3lY6Cw/видео.html In this devlog I go over how I added a multiplayer mode to my Minecraft clone. I go over some basics of how the Internet works, and then dive in deep to understand how you can use that when creating a multiplayer game. ...
How Shaders Work (in OpenGL) | How to Code Minecraft Ep. 3How Shaders Work (in OpenGL) | How to Code Minecraft Ep. 3
How Shaders Work (in OpenGL) | How to Code Minecraft Ep. 3
Просмотров 109 тыс.2 года назад
Join the Discord: discord.gg/4tHeAkxNg7 Follow me on Twitch: www.twitch.tv/gameswthgabe In this episode I do a deep dive into the code and concepts behind GLSL shaders. I go over everything from how to construct them, compile and link them, and execute them on the GPU to how to think about shaders conceptually. This is the next episode in the Coding Minecraft tutorial series. In the next episod...
Buffers in OpenGL | How to Code Minecraft Ep. 2Buffers in OpenGL | How to Code Minecraft Ep. 2
Buffers in OpenGL | How to Code Minecraft Ep. 2
Просмотров 87 тыс.2 года назад
Join the Discord: discord.gg/4tHeAkxNg7 Follow me on Twitch: www.twitch.tv/gameswthgabe In this episode I go over the fundamentals of buffers in OpenGL. I go over vertex array buffers and element buffers in depth in the latter half of the video. I also cover some fundamental concepts (the graphics pipeline) that are required to understand the necessity of buffers. Challenges: github.com/codingm...
Definitive Guide to Creating a Window | How to Code Minecraft Ep. 1Definitive Guide to Creating a Window | How to Code Minecraft Ep. 1
Definitive Guide to Creating a Window | How to Code Minecraft Ep. 1
Просмотров 95 тыс.2 года назад
Join the Discord: discord.gg/4tHeAkxNg7 Follow me on Twitch: www.twitch.tv/gameswthgabe In this episode I describe how the process of creating a window works. I go through the required libraries for initializing a window and OpenGL, and show how you could create a main game loop. I also describe what this series will cover, roughly in the order I will cover it. This is the first episode in the ...
I Coded Minecraft in *Only* 3 MONTHS!!!!I Coded Minecraft in *Only* 3 MONTHS!!!!
I Coded Minecraft in *Only* 3 MONTHS!!!!
Просмотров 154 тыс.2 года назад
Follow me on Twitch: www.twitch.tv/GamesWthGabe Download the Clone (Windows x64 only): github.com/codingminecraft/StreamMinecraftClone/releases Watch the old streams: ruclips.net/channel/UCX9O5F062HVFmx9CNPGiMgg Join the Discord: discord.gg/4tHeAkxNg7 In this video I go over the past few months of me tinkering on a Minecraft clone. I have added many different things to this clone. Some of the t...
The LAST Episode and Distributing your Game | Coding a 2D Game Engine in Java #58The LAST Episode and Distributing your Game | Coding a 2D Game Engine in Java #58
The LAST Episode and Distributing your Game | Coding a 2D Game Engine in Java #58
Просмотров 18 тыс.2 года назад
Follow the Minecraft Series at Twitch Live: www.twitch.tv/gameswthgabe Saturdays at 8AM (CST) Join the Discord: discord.gg/4tHeAkxNg7 JAR to Exe: www.genuinecoder.com/convert-java-jar-to-exe/ Ghost Vertices (Box2D Collision Issues): www.iforce2d.net/b2dtut/ghost-vertices Code: github.com/codingminecraft/MarioRUclips 0:00 Intro 1:37 Distributing Your Game 5:18 Building a Fat JAR 6:40 Fixing Mari...
Fireballs and Bug Fixes | Coding a 2D Game Engine in Java #57Fireballs and Bug Fixes | Coding a 2D Game Engine in Java #57
Fireballs and Bug Fixes | Coding a 2D Game Engine in Java #57
Просмотров 6 тыс.2 года назад
Join the Discord: discord.gg/4tHeAkxNg7 In this episode I go over how to code the Fireball ability in Mario. I also go over a bug-fix for entering pipes. Before you had to hit the pipe just right to be able to travel through it, but I've fixed it so that it should work as expected. Lastly, I go over a bug-fix for the debug drawing. We were drawing too many lines before which can cause weird iss...
Adding Flag Poles to Mario | Coding a 2D Game Engine in Java #56Adding Flag Poles to Mario | Coding a 2D Game Engine in Java #56
Adding Flag Poles to Mario | Coding a 2D Game Engine in Java #56
Просмотров 2,7 тыс.2 года назад
Join the Discord: discord.gg/4tHeAkxNg7 In this episode I add one of the final core elements to the classic Mario game, the flag pole and slide animation. I add the slide animation by manually sliding Mario down until he hits the ground, and then the code makes him walk forwards until a certain point. After it finishes playing the animation it switches back to the level editor scene. Code: gith...
Mario Turtle AI | Coding a 2D Game Engine in Java #55Mario Turtle AI | Coding a 2D Game Engine in Java #55
Mario Turtle AI | Coding a 2D Game Engine in Java #55
Просмотров 3,3 тыс.2 года назад
Join the Discord: discord.gg/4tHeAkxNg7 In this episode I go over how to code the Turtle AI for Mario. This is very similar to the Goomba AI, the main difference is for managing the turtle's state when he is spinning in a shell. Code: github.com/codingminecraft/MarioRUclips/tree/5b0d14afae1c2ecff8525abdcc6c2e3e0da346ae 0:00 Intro 0:30 Adding a Button for Turtles 1:19 Adding a Turtle Prefab 3:44...
The Math Behind Font Rasterization | How it WorksThe Math Behind Font Rasterization | How it Works
The Math Behind Font Rasterization | How it Works
Просмотров 170 тыс.2 года назад
#SoME Join the Discord: discord.gg/4tHeAkxNg7 If you have ever wondered how a font is rasterized, look no further. In this video I go into depth about the necessity for font rasterization, the math behind it, and how we convert the math to pixels on the screen. I also go over how 1st and 2nd order Bezier curves work. I talk about how to gain an intuition for Bezier curves, and how to formulize ...
Static Keyword in C | C++ For Java Devs Ep. 11Static Keyword in C | C++ For Java Devs Ep. 11
Static Keyword in C | C++ For Java Devs Ep. 11
Просмотров 2,1 тыс.2 года назад
Join the Discord: discord.gg/4tHeAkxNg7 In this episode I go over the keyword static in C and its several different contexts. Unlike traditional programming languages, the static keyword can mean several different things depending on the way it is used in C . I will go over the 3 ways that were carried over from C: Internal Linkage, "Static Member Functions", and Local Static Variables. Once we...
Game Camera & Grid Lines | Coding a 2D Game Engine in Java #54Game Camera & Grid Lines | Coding a 2D Game Engine in Java #54
Game Camera & Grid Lines | Coding a 2D Game Engine in Java #54
Просмотров 4 тыс.2 года назад
Join the Discord: discord.gg/4tHeAkxNg7 In this episode I go over how to code a game camera that moves with Mario, but does not move back when Mario moves back. I also go over a solution to fixing the Debug Drawing Lines that stick around for too long, or don't draw. Code: github.com/codingminecraft/MarioRUclips/tree/35bdf2c4e2e80acb19d1dd7ea8fa4650567ad3ab 0:00 Intro 0:40 Visual Explanation of...

Комментарии

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

    when i put 1.0f as coordinates i get a very very very tiny rectangle ??? Is this normal ???

  • @nolew
    @nolew 4 дня назад

    Was stuck on learnopengl tryin to figure out VAOs and the glVertexAttribPointer function. This cleared things up pretty well. Thanks!

  • @makarovgregoir1446
    @makarovgregoir1446 4 дня назад

    very cool your videos

  • @JeremyHolovacs
    @JeremyHolovacs 5 дней назад

    I was closing on 25K reputation before I finally deleted my SO account. It's an absolute cesspool.

  • @SynnicWinterhaven
    @SynnicWinterhaven 5 дней назад

    The truth is somewhere in the middle. You make some good points but also engage in a fair amount of hyperbole and slanted narrative. I'd like to give a thumbs up for some of the good points you make but just can't due to the other flaws. It also seems like you are engaging in click-baiting a bit here.

  • @JordanSwartz-k5w
    @JordanSwartz-k5w 7 дней назад

    Can you point me in the right direction as to how I can fix the undefined function error that VSC gives despite the header file being included (5:48). I have to use VSC for certain projects so it would be nice to know how to fix this annoyance lol.

  • @Murderface666
    @Murderface666 7 дней назад

    RIP to this channel... 🪦

  • @diegoalejandro6784
    @diegoalejandro6784 10 дней назад

    the problem with people its that they think since they can understand something , everyone should , thus they look down upon people who arent are the same knoledge level or are just starting , fkm all , no exceptions

  • @baconskittles778
    @baconskittles778 12 дней назад

    I have a problem. Whenever I create the dockspace, it opens two windows. One of the windows is the dockspace and functions correctly. The other is just blank. Do you have any ideas why this might happen?

  • @dadakba
    @dadakba 12 дней назад

    Love your videos. Great explanation and clean code too !👏

  • @dylancode
    @dylancode 16 дней назад

    Hi Gabe! I just wondered why exactly you choose to make everything a singleton, as opposed to just using static methods and variables? To me it seems easier to do something like: Mouse.dx = Mouse.x - Mouse.oldX Instead of: Mouse.get().dx - Mouse.get().x - Mouse.get().oldX Is there a reason for doing this or just personal preference? Thanks :)

  • @GloriousReign
    @GloriousReign 17 дней назад

    You are a loser and 2024 if you're using stacked overflow. Go straight to co-pilot or chat GPT😂. Use the site for less than 5 minutes before realizing that s*** is a waste of time

  • @lefrog4893
    @lefrog4893 18 дней назад

    18:20 is it bad if I’m running at “InfinityFPS”

  • @hifumibestgirl
    @hifumibestgirl 18 дней назад

    This is a great video; thank you for making it. It really demystifies something we use all the time in game development.

  • @Oooee1-yv9jj
    @Oooee1-yv9jj 19 дней назад

    bro i like your videos so much.Can I transship your videos to Bilibili?That is a video web like RUclips serve in China.I will note the original channel.Thanks!

  • @manoroc8442
    @manoroc8442 21 день назад

    im coding this on my laptop, and it doesn´t have a graphics card. is that a problem?

  • @ncmathsadist
    @ncmathsadist 22 дня назад

    I have been lambasted for answering a question instead of digging up an excuse to close it or downvote it.

  • @ncmathsadist
    @ncmathsadist 22 дня назад

    The negativity casts a pall over the whole enterprise. And it's not just stackoverflow. Other stack exchanges exhibit a similar pathology.

  • @user-nc8fs2hj9d
    @user-nc8fs2hj9d 22 дня назад

    But... a optimization mod or shader can do what mojang couldn't, right?

  • @gaiustacitus4242
    @gaiustacitus4242 23 дня назад

    The forums hosted by NNTP servers were a great source of information. They worked like the old Intelec Network that was hosted by BBS systems before the Internet came about. Intelec differed by having official moderators (I was one for several years) who were responsible for filtering out off-topic posts and maintaining civility. Both forums provided for asking questions and getting answers, just like Stack Overflow.

  • @manoroc8442
    @manoroc8442 24 дня назад

    I cant get the seupt done. After pasting the gradle stuff it just turns all red and i get alot of errors. also im using a newer version of intellij (2024.1) which looks a little diferent so i have no clue what i have done wrong.

    • @lefrog4893
      @lefrog4893 19 дней назад

      yea I've been trying to figure out what version of IntelliJ he's using in the tutorial but I can't figure it out. Obviously it can't be anything past 2020 since that's when this video was made, and I looked it up and it seemed like the latest version when this video came out was 2019.3.5 but that was too old to be his. So idk, I'm just going to use 2020.2, and he's using Java 11.0.3 which is pretty old as well

  • @saadblabla
    @saadblabla 24 дня назад

    What is the theme you are using in your ide ?

  • @lenori1
    @lenori1 25 дней назад

    Spectacular Video

  • @HappyHitman
    @HappyHitman 26 дней назад

    This was a great overview. I'm interested to see how they did the cliffs and overhangs though. You mention it but never cover it.

  • @Enzah
    @Enzah 29 дней назад

    From what I can tell, stack overflow is not meant for research questions. The questions should be somewhat specific to you and your problem. There is a good and bad way to tell someone this. For some reason, I always see the bad way. It's so easy just to point someone in the right direction or let them know nicely that their question is outside the scope of the website.

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

    Hey Gabe, this series so far has been excellent but somewhere during the process of making the Batch Render and abstracting a lot of the code in the LevelEditorScene class I lost the ability to display the shader onto the screen and only am displaying a small white box that is a few pixels big onto the window. My window posts and I have absolutely no errors in the output console. I have watched the video several times and my code is exactly the same as yours. The default.glsl file is also completely fine. When I check for FPS that is good as well. The only problem is that I cannot post the shader to the screen besides a small colorless box. So im not really sure what the issue is.

    • @comfortableovertones
      @comfortableovertones 4 дня назад

      I also have this issue! I've spent a good couple hours debugging and stepping through the code, reading docs, and I cannot find the solution! Have you figured it out?

    • @comfortableovertones
      @comfortableovertones 4 дня назад

      Looks like the solution to my problem was in RenderBatch.java where I accidentally called the wrong gl constant when generating the indices buffer. I needed to use GL_ELEMENT_ARRAY_BUFFER but I was using GL_ARRAY_BUFFER

    • @JoemcFlo
      @JoemcFlo 4 дня назад

      @@comfortableovertones This can be a variety of issues and shader debugging is notoriously hard. Many others also have had issues with their shader not appearing or other related problems. Farther down in the comment section of this video several people who had no shader output solved their issues, but unfortunately none of those solutions worked for me. The best advice I can give is to use RenderDoc. That is a shader specific debugging platform that I have been told works well. I never ended up setting it up as it requires a compiled version of your java code to run and I assume it would be much easier to setup on Windows. I am on Linux tho so I wasnt willing to put in the work to manually compile my Java project. I ended up setting up the gradle version specific to this episode that Gabe has listed on his GitHub repo for this series and importing some classes that I had wrote for example(controller input) to his gradle version. I then picked up where I left off with Gabe's working gradle version(albeit with some tweaks I made).

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

    This game is great, but remove cave sounds please I used to get so scared I would leave the word if one of them plays

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

    Basically you've already shown why it happens. And the same used to happen on Usenet newsgroups long before Stack Overflow was even invented. The common theme is not newbie questions, but that these questions often scream a complete lack of effort on the side of the person who asked the question. Have you ever learned something, studying the available material, doing your research and then, during the exam, someone just copied your answers and though he did not understand a thing, got rewarded anyway? Have you ever had this one friend who would just have other people do his homework, got all the praise, having spent no effort for it? Did it feel bad? If you're asking a question that you could've answered yourself doing a quick Google search, you're not asking others for help, you're trying to use others to do your work and this is what is infuriating some people. Sure, some things can be borderline, but the string.split answer for example was spot on. I can totally understand that some people, who have a hard time reading or getting to grips with regular expressions, like me, are seeking advice by some people who know more than you, but a question like how you can split a string at a simple delimiter has none of the complexity that you need to seek expert advice for, if there are no escapes or other special cases involved that might need advanced techniques like lookahead. If you're too damn lazy to type your question on Google and click through a bunch of simple examples, you deserve no answer on Stack Overflow. This is not hostile, it's the way of others to educate yourself to be self reliant to a minimum degree. "We're not here to do your homework" was a sentence that stood out for me. You don't learn, if you just copy-paste solutions from the internet that you've asked others to provide, every time you have a problem. As a newbie it's a good advice to describe what you tried or what you think, so people can see you've spent some effort on solving the problem yourself. This helps getting an answer. And the Stack Overflow site itself asks you to do some research first before asking a question. It even offers answers to past questions that seem similar to your question. But for some reason some people even seem to be too lazy to follow or even read that advice first.

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

    The primary reason I am not pissed off that OpenAI gobbled up all their data.

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

    You are a legend.

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

    That’s why I’m so happy LLMs like ChatGPT have disrupted websites like stack overflow. You can ask these chat bots the dumbest questions and you’ll get a more dignifying response than asking humans on stack overflow a well thought out question.

  • @The-Cat
    @The-Cat Месяц назад

    Hi, We recently received your request to delete your Stack Overflow profile and it is currently scheduled for deletion. We're sorry to see you go. If you change your mind or didn't request the deletion, you can cancel this request by logging into your profile and clicking the banner shown there. Otherwise, your profile will be automatically deleted within 24 hours. If you need anything else, please visit our contact form and select 'Other' for additional help. Thanks, The Stack Exchange Team

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

    My primary site was stackoverflow and now my primary site is ChatGPT. The main reason is ChatGPT has NEVER made me rude to me. It is always friendly. It's a loss for stackoverflow as I used to answer questions but now I don't want to contribute to the platform until they cleanup the rudeness(especially the moderators).

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

    Easy questions get loads of answers from reputation hungry losers. Difficult questions get no answers. ChatGPT is way better.

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

    So called “experts” who shun beginners trying to learn don’t deserve any praise whatsoever.

  • @w.t.2905
    @w.t.2905 Месяц назад

    WHOOOOOW!!! 2:19 mario can go inside a tube!!! Amazing!

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

    StackOvferflow is the real proof us dev are socially inapts

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

    Lol before this i literally download all presets except Steamworks 🤣

  • @user-rm6wz8ki5r
    @user-rm6wz8ki5r Месяц назад

    Dude - you are awesome. Great thank you for your tutorial! Very simple according you and very powerful. Thanks!

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

    unsure how to set this up for visual studio code

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

    fuucking thank you dude

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

    there is a definite optimization possible if you keep a list of boundary pixels as you iterate over the image, on each next pixel you iterate over the boundary pixels, discard the ones now outside the range and additionally check the pixels now inside the range if the current pixels changes state it's a bit trickier but you can reuse the previous boundaries to quickly find all the new boundary pixels

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

    At least ChatGPT doesn't complain about repetitive questions like ToxicOverflow. Those people remind me of a handful of teachers in high school and in college. First day, they say "If you dont understand something, raise your hand and I'll repeat it". When the time comes i didn't catch the teacher the first time they covered it, the teacher says "What? Why? Were you not paying attention? I just covered that." Like why say you're open to student to ask questions for clarity if you're gonna get angry why they do?

  • @user-cl5wn9fz7f
    @user-cl5wn9fz7f 2 месяца назад

    Part 2 please🙏

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

    4:29 you are wrong. Static variables are initialized at class loading time which happens when the application interacts with one of it's methods or constructors.

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

    how do you install the minecraft clone?

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

    What's the terms of service vor this video editor? or is it not for sale? haha

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

    Gabe first of all thank you for the great tutorials they are very good and helpful. I have one question about the uid(s). Shouldn't the uid be final. I mean if we assign id to one Component or GameObject we should not be able to change this id ?

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

    The cave gen had to be completely overhauled that and the height maps both had to be changed. This is why 1.17-1.20 took so long.