PunchedTape
PunchedTape
  • 19
  • 18 775
Using CMake Dependencies Effectively (aka like a Ninja)
How to connect CMake projects together in six different ways.
00:00 Intro
01:45 Using other CMake projects in subdirectories
04:56 Export CMake Targets for import into other CMake projects
08:00 Loading Exported Targets from a command-line parameter
09:21 Using the CMake Package Registry
13:00 Using Install, and find_package
17:31 Creating an installable package (debian pkg example)
20:19 Uninstalling Debian packages
มุมมอง: 102

วีดีโอ

ASMR SFML Intro
มุมมอง 1623 หลายเดือนก่อน
Can you model 1,000,000 balls bouncing with OpenGL? This quick video demonstrates how easy it is to use C with the SFML library to do OpenGL graphics.
Keypress events in GTK - Program it yourself: C++ Breakout - Part 2
มุมมอง 412ปีที่แล้ว
Breakout using GTK in C . 00:00 Intro 00:34 Key Press Event handling 06:20 How event handling works with GTK 08:49 Key Release Event Handling 10:00 Draw Frame in GTK window using Cairo 15:02 Set frame rate with timer 17:00 More Cairo drawing 19:01 Create Ball 20:40 Cairo Transformation Matrices 23:20 C Constructors (explanation)
Program it yourself: C++ Breakout - Part 1
มุมมอง 838ปีที่แล้ว
First of a mini-series programming Breakout in C . Introduction, CMake project setup, and opening a window with GTK / gtkmm.
What’s an event clock? -- Part09 -- NPC Motion
มุมมอง 252ปีที่แล้ว
Make non-player characters move in random directions on a timer. Finish the Simple C Game development for beginners series (but it's not the end...). Discord Server: discord.gg/Qq5sAH3nPA Web: punchedtapemedia.com/x11game-part09 Source Code: github.com/punchedtapemedia/x11game 00:00 Intro 01:00 Move NPC automatically on keypress (random-walk) 04:19 Create Time class to track time in nanoseconds...
How to accurately detect collisions -- Part08 -- Rectangle Collision Detection
มุมมอง 4572 ปีที่แล้ว
This video continues the Simple C game engine development tutorial on Linux for beginners by implementing simple rectangle collision detection. I'll use collision detection to let the player eat food (collect items) and be killed by enemies. We'll detect when the player wins and loses and end the game. I'll do a little debugging to give examples of compiler errors and how to fix them. Discord S...
Introduction to CMake Crash Course
มุมมอง 7K2 ปีที่แล้ว
CMake introduction for absolute beginners. How to install CMake, create a CMake Project, use sub-directories, and link to libraries. 00:00 Overview 00:30 Installation 00:48 What does CMake do? 01:21 Quickstart CMake Project 02:32 Building with CMake 03:31 CMake variables, PROJECT_NAME 04:38 Building executables & libraries (static and shared) 06:02 Using project libraries 07:37 Using subdirecto...
Vim is too complicated!
มุมมอง 972 ปีที่แล้ว
Introduction to vim for absolute beginners. Get up to speed on the basics of vim in just a few minutes. 00:00 Intro 00:31 vim Backstory 01:15 Install vim 01:28 Modes open, close, save files 04:34 Searching 05:56 Jump to line, cut and paste 07:21 Line numbers and word wrap 08:35 Shell commands 09:17 Undo / Redo 09:55 Search & Replace 11:40 Matching {}, [], ()
Simple C++ Game -- Part07 -- Using C++ Structs and Classes to organize code
มุมมอง 3672 ปีที่แล้ว
Part 08: th-cam.com/video/HAPojPO_BfU/w-d-xo.html This video continues the Simple C game engine development tutorial on Linux for beginners by using C structs and classes to organize the code. We will instantiate the C classes / structs with the constructor. I discuss the difference between a struct and a class. I also show you how to use std::rand the C random number generator to get a random ...
Oh no! The player’s gone! -- Part 06 -- Player / Boundary Collision detection
มุมมอง 2552 ปีที่แล้ว
Continues the tutorial of a simple C game engine development on Linux for beginners. We use a simple collision detection method to detect when the player goes out of bounds. Discord Server: discord.gg/Qq5sAH3nPA Web: punchedtapemedia.com/x11game-part06 Source Code: github.com/punchedtapemedia/x11game In this video I will show you: - How to detect collisions such as when the "player" goes out of...
Linux, keypress events? Super easy! -- Part 05 -- Getting user keyboard input on Linux X11
มุมมอง 1.4K2 ปีที่แล้ว
How to program a game in C to get keyboard input on Linux. This continues the Simple C Game development of this series. Discord Server: discord.gg/Qq5sAH3nPA Web: punchedtapemedia.com/x11game-part05 Source Code: github.com/punchedtapemedia/x11game In this video I will show you: - How to move the "player" (a filled rectangle) with user keyboard input in our basic C game engine - How to redraw th...
Linux Graphics Made Easy - Part 04 - How to draw graphics on Linux
มุมมอง 9552 ปีที่แล้ว
C game development tutorial on Linux for beginners. In this video, I'll continue to show you how to develop a very simple game engine in C on Linux. This simple game is a demonstration of C graphics programming. The C source code for this video is provided. I'll show you how to use XSetForeground and XFillRectangle to draw in an X11 window using on Ubuntu Linux. Discord Server: discord.gg/Qq5sA...
Simple C++ Game -- Part 03 -- Refactor into C++ Classes
มุมมอง 4732 ปีที่แล้ว
Part 03 of this series. Next Video: th-cam.com/video/xPA4A7EqjC4/w-d-xo.html Series Overview: The game we will make in this series is kind of like a simplified Pac-Man style game. You will be able to move a character around the window and "eat" food while avoiding the "enemies" and the boundary of the window or it's "Game Over!" Discord Server: discord.com/channels/986595025213349918/9865960551...
Simple C++ Game -- Part 02a -- Extra Credit DEBUG - Display X11 Window and Get Keyboard Input
มุมมอง 4052 ปีที่แล้ว
Part 02a of this series. Next Video Part 03: th-cam.com/video/PTHwzclSBGQ/w-d-xo.html Series Overview: The game we will make in this series is kind of like a simplified Pac-Man style game. You will be able to move a character around the window and "eat" food while avoiding the "enemies" and the boundary of the window or it's "Game Over!" Discord Server: discord.gg/Qq5sAH3nPA In this video I wil...
Simple C++ Game -- Part 02 -- Display X11 Window and Get Keyboard Input
มุมมอง 1.2K2 ปีที่แล้ว
Part 02 of this series. Next Part 03 Refactoring into C Classes: th-cam.com/video/PTHwzclSBGQ/w-d-xo.html Extra Credit Part 02a Debugging: th-cam.com/video/0HqKsLesZZE/w-d-xo.html Series Overview: The game we will make in this series is kind of like a simplified Pac-Man style game. You will be able to move a character around the window and "eat" food while avoiding the "enemies" and the boundar...
Simple C++ Game -- Part 01 -- Introduction, Project Setup and Opening an X11 Display Window
มุมมอง 3.8K2 ปีที่แล้ว
Simple C Game Part 01 Introduction, Project Setup and Opening an X11 Display Window
Introduction to C++ -- Simplest First Program C++ -- Explanation
มุมมอง 402 ปีที่แล้ว
Introduction to C Simplest First Program C Explanation
Quick Introduction to C++ on Linux -- Simplest First Program
มุมมอง 592 ปีที่แล้ว
Quick Introduction to C on Linux Simplest First Program
Tutorial -- How to Install Ubuntu 20.04 In VirtualBox 6.1 on Windows 10
มุมมอง 1012 ปีที่แล้ว
Tutorial How to Install Ubuntu 20.04 In VirtualBox 6.1 on Windows 10

ความคิดเห็น

  • @dotexe3301
    @dotexe3301 2 วันที่ผ่านมา

    I saw this video, and check other videos title and im impressed enough to subscribe, Keep it up, make some more on c/c++ development

  • @andrewminhnguyen9446
    @andrewminhnguyen9446 6 วันที่ผ่านมา

    One of the better ones -- thanks!

  • @user-wm4oe4kk7t
    @user-wm4oe4kk7t 6 วันที่ผ่านมา

    Useful!

  • @dhadveyash2268
    @dhadveyash2268 9 วันที่ผ่านมา

    Great tutorial man

    • @PunchedTape
      @PunchedTape 7 วันที่ผ่านมา

      Glad you liked it!

  • @MmmBopsPops
    @MmmBopsPops 15 วันที่ผ่านมา

    Yuck! Mechanical keyboard!! We can’t hear you over your stupid clickety clackety!!

  • @devanarayanababu1996
    @devanarayanababu1996 17 วันที่ผ่านมา

    cfbr

  • @theone5312
    @theone5312 19 วันที่ผ่านมา

    Condensed and informative, no BS Loved it

  • @muha0644
    @muha0644 29 วันที่ผ่านมา

    Yeah, I think i'll just stick to normal makefiles...

  • @ismbks
    @ismbks หลายเดือนก่อน

    14.07 this is why i have trust issues, why would you do that to me? what did i do?

    • @PunchedTape
      @PunchedTape หลายเดือนก่อน

      Well, maybe it was just a misunderstanding--7 seconds / 60 seconds = .12 minutes. See, now you can be 100% satisfied.

    • @ismbks
      @ismbks หลายเดือนก่อน

      @@PunchedTape hahaha ok, well done

  • @jking8272
    @jking8272 หลายเดือนก่อน

    great video, nice pace

    • @PunchedTape
      @PunchedTape 7 วันที่ผ่านมา

      Glad you enjoyed it

  • @ulyssis
    @ulyssis หลายเดือนก่อน

    thanks! great video. I came here because it says 14 minites, but I ended up watching 2 times and paused multiple times. I am fine with this clickbait.

  • @blutianirlp2927
    @blutianirlp2927 2 หลายเดือนก่อน

    Easily the clearest and most helpful explanation of this. I've been wanting to dive into C++ after a year of Python. I use Neovim and am reluctant to switch out of it, so every other resources pushing me toward JetBrains IDEs or Visual Studio was a real bummer. Thanks for the awesome tutorial. Really appreciated the "commands used" slide at the beginning.

  • @banamali143
    @banamali143 2 หลายเดือนก่อน

    Awesome 👍

    • @PunchedTape
      @PunchedTape 7 วันที่ผ่านมา

      Thanks 🤗

  • @debajyotimajumder472
    @debajyotimajumder472 2 หลายเดือนก่อน

    thanks! super helpful

    • @PunchedTape
      @PunchedTape 7 วันที่ผ่านมา

      Glad it helped!

  • @d3kuu_
    @d3kuu_ 3 หลายเดือนก่อน

    Thank you, it's very useful

  • @enfordert
    @enfordert 4 หลายเดือนก่อน

    sudo dnf install perl-IPC-Cmd sudo dnf groupinstall "Development Tools" sudo dnf install openssl-devel sudo setenforce 0 sudo dnf install kernel-devel sudo dnf install perl-FindBin sudo dnf install perl-File-Compare sudo dnf install perl-File-Copy sudo dnf install openssl-devel sudo dnf install cpr

  • @tutorialesdiamesa
    @tutorialesdiamesa 5 หลายเดือนก่อน

    Great, straightforward, direct, no BS, fast-paced tutorial.

    • @PunchedTape
      @PunchedTape 7 วันที่ผ่านมา

      I appreciate that! Glad you enjoyed it

  • @VoidloniXaarii
    @VoidloniXaarii 7 หลายเดือนก่อน

    Fantastic video, thanks so much 🙏

  • @1negroup841
    @1negroup841 8 หลายเดือนก่อน

    You really need more subs Dude. Great Video BTW! So can you link the xlib documentation your using and from the last video?

  • @SyzdykovNurgalym
    @SyzdykovNurgalym 9 หลายเดือนก่อน

    Underrated, one day you'll become popular. Your content is incredibly good. Waiting for your video about RAII. Just keep going!

  • @ahmedmohamedmostafa7483
    @ahmedmohamedmostafa7483 ปีที่แล้ว

    Thanks for this great tutorial.

  • @mikhailselyuzhenkov7450
    @mikhailselyuzhenkov7450 ปีที่แล้ว

    Wonderful Tutorial!

  • @marcusmors8485
    @marcusmors8485 ปีที่แล้ว

    Hey, i like your videos, i would like to appreciate them in my cellphone too. It would be great to have a bigger font size in your videos. (the screen in my laptop is somewhat small too)

    • @PunchedTape
      @PunchedTape ปีที่แล้ว

      Thanks for bringing this up. It's something I've wondered about. I'll keep in mind the font-size for cell-phone usage in the future.

  • @marcusmors8485
    @marcusmors8485 ปีที่แล้ว

    I watched the other vidoes, good explanations I have to say, but this one doesn't have the audio. Am glad your code compiled in wsl2 ubuntu. This is what i needed

    • @PunchedTape
      @PunchedTape ปีที่แล้ว

      Glad you found these helpful. Yes, these should all work with wsl2. Hmmm, I'm not sure what's happening with the audio. I just watched part of it and I heard the audio. Maybe there was some glitch with youtube at the time you watched it. Let me know if there are still audio issues.

  • @darius2955
    @darius2955 ปีที่แล้ว

    This is irrelevant and you can barely see it, it's like you showing off instead of teaching and you doing a bad job at it ✌️🤦🤷

  • @Awwe12675
    @Awwe12675 ปีที่แล้ว

    Thank u I’m looking for GUI implementation Did u have any idea how it’s working How can Qt or GTK implementation looks like It’s from X11 or OpenGL or X server or library glibc ?

    • @PunchedTape
      @PunchedTape ปีที่แล้ว

      If you’re interested in GTK, keep watching this mini series. We’ll cover topics on GTK. Message me on Discord: discord.gg/Qq5sAH3nPA and we can talk through what else you’re interested in.

  • @alvinbee6194
    @alvinbee6194 ปีที่แล้ว

    Awesome, I'm learning a lot. Keep up the vim commentary as well. I notice you doing math in your head for the number of lines to yank I would :set relativenumber in vim unless you like the mental exercise 👍

    • @PunchedTape
      @PunchedTape ปีที่แล้ว

      Thanks for bringing up relativenumber! That’s handy.

  • @intjengineering
    @intjengineering ปีที่แล้ว

    Fascinating!

  • @abdousmandous1851
    @abdousmandous1851 ปีที่แล้ว

    Very informative.

  • @JoseLopez-zn6jd
    @JoseLopez-zn6jd ปีที่แล้ว

    Thanks for the video bro 😃

    • @PunchedTape
      @PunchedTape ปีที่แล้ว

      You’re very welcome. Thanks for stopping by.

  • @presauced
    @presauced 2 ปีที่แล้ว

    Also, you should probably fix the discord server link.

    • @PunchedTape
      @PunchedTape 2 ปีที่แล้ว

      Thank you! I didn't realize it was broken. It should be fixed now.

  • @presauced
    @presauced 2 ปีที่แล้ว

    Hey! Just a question. Do you think it's actually a good idea to make a game with X11? Considering we've got Wayland, you know. Some distros are beginning to use Wayland as their default graphics layer.

    • @PunchedTape
      @PunchedTape 2 ปีที่แล้ว

      Great question. There's a lot there. Simple answer, probably not if you're serious about making real games. I'd go with Vulkan. I certainly like Wayland better for security and performance reasons. That being said, Xlib is really easy to use and still a lightweight library. For learning to program C++, I think it's a good option (and more fun than std::cout, std::cin...).

    • @PunchedTape
      @PunchedTape 2 ปีที่แล้ว

      Meant to mention that Xlib still works with Wayland.

  • @sonu-rd4ts
    @sonu-rd4ts 2 ปีที่แล้ว

    can you upload your code to google drive or something

    • @PunchedTape
      @PunchedTape 2 ปีที่แล้ว

      Thank you for asking. I added a link in the description to the source code.

    • @sonu-rd4ts
      @sonu-rd4ts 2 ปีที่แล้ว

      @@PunchedTape do u have the code for the whole game please?

    • @PunchedTape
      @PunchedTape 2 ปีที่แล้ว

      I posted a link in the description to the entire source code. Enjoy!