ForlornU
ForlornU
  • 26
  • 142 262
Can I Learn Raylib In Just 48 Hours?
I really wanted to try raylib, so when I found I had a weekend all to myself and nothing else to do, I took the chance!
We can't really 'learn' or 'master' something like raylib or C in such a short time. What actually matters to a developer is being able to create. Are we able to create something?
Video Content:
----------------------------------
0:00 - Intro, what is raylib
1:09 - Setup
8:45 - Start coding
47:55 - Start of Day 2
1:28:37 - Outro
------
No open source this time, I want to improve it first, will return in a later video!
My other repositories:
github.com/ForlornU
Kenneys Icons:
kenney.nl/assets/game-icons
You can buy me a coffee to make me code faster at:
www.buymeacoffee.com/forlornu
#coding #raylib #vscode #C #gamedev
Переглядів: 338

Відео

I Created A Simple Pomodoro Timer In Godot!
Переглядів 1,2 тис.2 місяці тому
This is a semi-serious desktop pomodoro-timer that is supposed to help with productivity. Created in Godot with gdscript. Video Content: 0:00 - Intro 1:29 - Overview 2:50 - Details 4:20 - Creating Profiles 4:58 - Outro Source: github.com/ForlornU/Gomodoro itch: forlornu.itch.io/gomodoro-productivity-timer Kenneys Icons: kenney.nl/assets/game-icons You can buy me a coffee to make me code faster ...
Topdown Starterkit 1.5 Update (Godot)
Переглядів 2953 місяці тому
My topdown starterkit has just been updated for Godot 4.3 with some smaller improvements Link to the project: github.com/ForlornU/TopdownStarter Try it on Itch: forlornu.itch.io/topdown-starter-project #coding #learning #godotengine #gamedev #starterkit
Random Walk Procedural Generation in Unity3d & Godot!
Переглядів 7164 місяці тому
We discuss how the RandomWalk algorithm works, there are some examples and code that you can check out if you're interested. But this is mainly an overview. My Unity3d project is both big and messy, showing only the relevant parts to still make sense is difficult. I only show the godot procedural library for a little bit as I had already explained how the random walk works largely, I felt no ne...
Recreating Fishy in Godot! Beginner starter project
Переглядів 2 тис.5 місяців тому
Just a silly little starterproject I made thats similar in style to games like Fishy, Feeding Frenzy or even agar.io. Hopefully you can watch and learn something here, or otherwise use the project to make something new, its available for you to download and use however you wish! Links further down Please forgive the repetetive background music :) Video Content: 0:00 - Intro 1:15 - Player 4:11 -...
WIP Procedural Generation Project Update Video
Переглядів 3708 місяців тому
Finalizing this might take me a bit, so here's a preview of something I'm working on right now! I started experimenting with procedural generation a few days ago, I believe this system of random walk generation could work quite well with more work. You can buy me a coffee to make me code faster at: www.buymeacoffee.com/forlornu Follow me: ForlornUDev #coding #learning #unity #unity3...
1.4 Update of the topdown-starter project | Quests, Combat, Animations | Godot Engine
Переглядів 6679 місяців тому
(Reupload, audio issues) Welcome back everyone. So I just released version 1.4 of the topdown starter project and I havent done a video in a long while, so I wanted to explain some of the changes. Video Content: 0:00 - Intro 0:48 - Quests 4:12 - Combat 5:14 - Animations 8:21 - Outro Github: github.com/ForlornU/TopdownStarter Asset library: godotengine.org/asset-library/asset/2397 #coding #learn...
Finite State Machines in Godot | Godot Starter Kit FSM
Переглядів 37 тис.11 місяців тому
Video Content: 0:00 - Intro 1:01 - State Class 2:51 - FSM Class 5:25 - Signals 6:08 - Summary 6:22 - Transitions 7:52 - Force Change State 9 :00 - Outro In this video I discuss how FSM's work in general, sort of the typical layout but also more specifically how it's set up in my Godot Top-down starter project The second part of the video focuses more heavily on the project itself, its transitio...
I made a starter kit in Godot!
Переглядів 9 тис.11 місяців тому
This is just a short little overview for the Topdown starter kit on the Godot asset library I hope you will stay tuned for future updates and more projects like this one In the coming weeks I will create short tutorials/explanations for the different mechanics present. Such as the Finite State Machine, inheritance, tilemaps, animations, timers, tweening etc etc. Github: github.com/ForlornU/Topd...
Interfaces vs Abstract Classes / Inheritance | Programming concept overview
Переглядів 2,4 тис.Рік тому
Video Content: 0:00 - Intro 1:12 - Pseudocode Problem 2:39 - Inheritance Solution 4:21 - Interface Solution 5:36 - Differences 6:08 - Polymorphism 6:50 - Unity Example 10:51 - Abstract Functions 11:59 - Outro While still learning and working in Godot, I decided to scratch this topic of my bucket list of programming topics. In this video I discuss the differences between interfaces and inheritan...
Don't Fall For The Anchor Technique | Unity Pricing
Переглядів 3,8 тис.Рік тому
We are all still waiting for an announcement from Unity Articles: New Plans - gameworldobserver.com/2023/09/19/unity-revenue-based-fees-pricing-model-changes-plans www1.salary.com/Unity-Software-Inc-Executive-Salaries.html IronSourceMerger - investors.unity.com/news/news-details/2022/Unity-Announces-Merger-Agreement-with-ironSource/default.aspx unity.com/unity-ads-ironsource#:~:text=Unity and i...
Unity pricing update | Don't Panic
Переглядів 3,1 тис.Рік тому
Regardless if you want to stay with Unity or move on to another game engine, I can only encourage you to move forward and find the best solution for you. Here's hoping they revert these changes ASAP.
Leverage advanced Targeting and Path Prediction to Take Your Unity3D Game to the Next Level
Переглядів 1,8 тис.Рік тому
Unity (Arrow) Launch Solver! 🏹 Video Content: 0:00 - Intro 2:51 - Scene 5:16 - Simple Targeting 6:39 - Tracking Targeting 8:39 - Advanced Targeting 10:49 - Outro This Unity Archery Project is all about achieving precision and realism in projectile simulations. This does not simply predict the trajectory of a projectile that will be fired, instead it calculates the exact path that it will have t...
How To Download Files From Github | Get Open-Source Unity Projects And Files From GitHub
Переглядів 4,2 тис.Рік тому
I remember when I first started coding and developing, following along tutorials on UA-cam would take me to download creators code from GitHub which I thought then was a confusing website. It's much more than a website to download code from, it's something that every developer should look into. In this video I give a rather brief description of how to download mine and other developers code fro...
Slow Motion | Bullet Time | Time Control in Unity3d
Переглядів 1,7 тис.Рік тому
Video Content 0:00 - Intro 1:30 - Time Scale 2:11 - Physics 4:33 - Audio 5:21 - Animation 5:54 - Unscaled Time 6:44 - Outro Here is a small project to help you control time in your Unity3d projects, it showcases some common issues when trying to change timescale and how to solve them Download the project here: github.com/ForlornU/TimeManipulation I hope this can be of some use to you, please li...
Projectile Trajectory Predictor - Unity Physics & Coding Tutorial
Переглядів 36 тис.Рік тому
Projectile Trajectory Predictor - Unity Physics & Coding Tutorial
Camera Shake in unity3d based on distance!
Переглядів 715Рік тому
Camera Shake in unity3d based on distance!
A* Pathfinding in Unity3d
Переглядів 11 тис.Рік тому
A* Pathfinding in Unity3d
Generating AI voices with Eleven Labs
Переглядів 430Рік тому
Generating AI voices with Eleven Labs
(BFS) Tactical Turn-Based Pathfinding, Breadth First Search in Unity3d
Переглядів 6 тис.Рік тому
(BFS) Tactical Turn-Based Pathfinding, Breadth First Search in Unity3d
Generating A Grid In Unity3d
Переглядів 9772 роки тому
Generating A Grid In Unity3d
Exploring space, planets and faux gravity gravity In Unity3d! | orbital movement | faux gravity
Переглядів 3,9 тис.2 роки тому
Exploring space, planets and faux gravity gravity In Unity3d! | orbital movement | faux gravity
Exporting from Blender to Unity3d without scaling issues!
Переглядів 4012 роки тому
Exporting from Blender to Unity3d without scaling issues!
Weapon Sway In Unity3d | New Unity Input System
Переглядів 14 тис.2 роки тому
Weapon Sway In Unity3d | New Unity Input System
Speedmodel Low Poly Rifle | Blender
Переглядів 1302 роки тому
Speedmodel Low Poly Rifle | Blender
Low-Poly Revolver Speed modeling | Blender Timelapse
Переглядів 6232 роки тому
Low-Poly Revolver Speed modeling | Blender Timelapse

КОМЕНТАРІ

  • @jacknight3690
    @jacknight3690 5 днів тому

    Good you fucking explained what inherited means and how to do it, im sooo fucking glad

  • @justinspearlord
    @justinspearlord 7 днів тому

    Thank you for the well made and explained video!

  • @миииц
    @миииц 10 днів тому

    Your voice and idea to combine samples so awesome :D nice video, thanks for effort

  • @tonymax7503
    @tonymax7503 11 днів тому

    There is something wrong with CalculateNewVelocity() method because *= Mathf(1f - drag * increment) cause velocity to be 0f in cases where object have drag > 1 / increment

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

    MouseLook.cs is confusing af

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

    This video deserves WAY MORE VIEWS. This is one of the best explanations for anything coding I've seen! WELL DONE

  • @ひなた-m5v
    @ひなた-m5v Місяць тому

    It was very helpful! Thank you very much! I am planning to make a game using this system for a game contest. Are the materials available for download from this project copyright free? Sorry if it's hard to read in Google Translate.

  • @MandeepSingh-xn3vb
    @MandeepSingh-xn3vb Місяць тому

    hii i downloaded your project it is succesffuly import in unity but when i fire balls are not going to designated area how i fix this pls tell me asap

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

    great video thanks!

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

    Very helpful, thank you!

  • @ManavShah-ph8qr
    @ManavShah-ph8qr Місяць тому

    how can I use the code as a template for my own unity space

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

      I think what you are asking is forking. Forking gives you a copy of the repository, you can both make changes and receive updates from the original creator

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

    I squished over 10hrs of footage together to be as short as possible, I hope it's still coherent!

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

    Good video, gonna jump into raylib soon :D

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

      Yeah do it! Was fun 👍

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

    such a nice video actually

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

    Nice! I will learn with you.

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

    This looks like a very organized way to do it. I just throw all of the states in a switch function in my player’s script, and each state gets its own function, and then each state’s function has logic for the other states it can switch to… I like this idea though!

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

      Hey as long as it works that's what matters!

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

    I cannot change the focus time, even if is 20 minutes in the "configurations", the timer itself is for 30 minutes

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

      Thank you, good catch! I had accidentally forgot to change a variable name, will upload a quick patch

  • @SiddhantaGhosh-q1o
    @SiddhantaGhosh-q1o 2 місяці тому

    so i am using godot 4.2 can it work platformer

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

      Grab the 1.4 release for Godot 4.2. Yes you can make it into a platformer, just add gravity basically :)

    • @SiddhantaGhosh-q1o
      @SiddhantaGhosh-q1o 2 місяці тому

      when i downlorded it i shows godot 4.3

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

      This is 4.2 Compatible, but I would also suggest just upgrading :) : github.com/ForlornU/TopdownStarter/tree/1.4

  • @SiddhantaGhosh-q1o
    @SiddhantaGhosh-q1o 2 місяці тому

    which code is connected to which?

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

    wow, for such a small app i think you really nailed the UX and SFX. the SFX mainly was good for people with ADHD to pay attention on it

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

    Looks like a good exercise for godot UI

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

    It would be cooler if you improved the ui

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

      i actually like the ui

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

      ​@@mariobatguy I mean it works but not really my cup of tea, I would prefer it to be much more minimalistic considering it is a productivity tool

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

      That's totally fair! It could be more minimalistic and probably smaller

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

    Not what you would normally expect for someone to make with the Godot engine. But it works just fine. Thanks for sharing!

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

      True! It has most of the things you would need for normal non-gamedev applications as well

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

    You should write something like that in zig/c/c++ with raylib. They binary will be a lot smaller.

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

    That realy cool I gonna download

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

    nice il try and use this as a starting point trying to get back into game dev. Mutch respect

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

      Hope it help!

  • @DariusK-f5e
    @DariusK-f5e 3 місяці тому

    :( State_Machine.gd:16 - Parse Error: Cannot call non-static function "Enter()" on the class "State" directly. Make an instance instead.

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

      It's telling you to call the 'Enter()' function on one of the states, not the 'State' superclass itself. Are you trying to make new states?

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

      @@ForlornU sorry for lack of context in my comment, it throws me error in 2:58 part in statemachine main script in func _ready > initial.state.Enter() i guess i missed something.

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

    This was really useful, thanks! I just have one question... Where do you use the Exit function? I was looking for an example of it in your GitHub and didn't find.

  • @8BEATER1
    @8BEATER1 3 місяці тому

    Good code, but bad video. I managed to understand the algorithm only after opening the source. If only the video has shown more than two lines at a single time, so that I could get the bigger picture.

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

      I will keep this in mind for future videos, thank you

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

    Very high quality video ! Awesome ! I was wondering how to do a localized "time bubble" where time would slow down for every object that enters. Maybe you would have some ideas?

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

      You can't change timescale for that since that would affect everything, this is more complicated and you have to track each objects custom timescale, manually update controller animation speed, variables etc. It requires you build an entire system for it I think

  • @boxboy9000-f7r
    @boxboy9000-f7r 4 місяці тому

    it keeps saying could not find type state in the current scope!

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

    One of those tutorials where the maker is trying to look cool instead of making a tutorial. Don't Bother

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

    goood, what i needed

  • @fuzzy-02
    @fuzzy-02 4 місяці тому

    Any tips on how to combine this with composition (stuff like making components and composing entities from them, like VelocityComponent, HealthComponent, WanderAroundComponent, etc)

  • @fuzzy-02
    @fuzzy-02 4 місяці тому

    Is this the same as Finite State Automata? Where you have a Deterministic Finite Automaton, DFA, a Non Deterministic one, NFA, an Epsion Non Deterministic one, e-NFA, and you work on reducing whatever automata you have into a minimal deterministic one? I took this as part of an introductory course to compilers and it seems awfully similar

  • @fuzzy-02
    @fuzzy-02 4 місяці тому

    That punch animation was personal

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

    It is the worst and most complicated tutorial on earth!!!!!

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

    what if it is a package file like ultimate 2d controller

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

    Interesting, thanks 🙂

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

    This video is structured as something in-between a step-by-step, follow along tutorial and a devlog. I apologize for the confusion, i recomend anyone interested in the project to get it straight from the source rather than following along the video, download here: github.com/ForlornU/Fishy-example-game

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

      Thank you for your honesty, this takes courage and you definitely get respect points for this. If you have the energy and time, it could be possible to still make the video usable as a tutorial by adding a few overlays to the video to add what is missing or clarify what is vague. I guess at worse it was a learning experience in tutorial video making 😃

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

    I'm sry I understand how a statemachine works in theory, but I can not make sense of this line: child.state_transition.connect(change_state)

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

    amazing video, but i feel it's definitely important to show and explain how to use state_transition and explain what it does, and how it connects the scripts. great otherwise though, i needed someone to explain FSM to me like i'm 5 lmao

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

      Noted, sorry I didn't explain that more clearly! Glad it was still helpful :)

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

    How would you get AI and objects to be attracted toward the center of the planet rather than just a character controller? Like imagine, pushing a box around the planet and the box doesn't fly off into space or fall off

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

      I should have shown this more clearly, one of the controllers in the video is a rigidbody just like a physics object and it works the same way. Create a rigidbody, turn off its gravity and add the same code to have it be attracted towards the planet but without the forced rotation. For AI you would have to write a custom pathfinding script I suppose, but then they should work just the same as the player here

  • @CodingWithUnity-k3q
    @CodingWithUnity-k3q 5 місяців тому

    Hello, how would you be able to add a height variable like the one in your archer video to the prediction curve in this exact setup?

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

    I'm only 12 minutes into this video and I find the tutorial extremely frustrating to follow. There's a lot of jumping around and often changes are made to the script, nodes, or options without being said in the narration and if you're not focused like a hawk you might miss it. Feels almost like a devlog instead of a tutorial. This is my 3rd or 4th Godot tutorial, and I don't think I'm going to finish this one, which is unfortunate.

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

      The kicker is 40:46 the code just simply breaks down and doesn’t work

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

      @@ThaAftrPartie Welp… glad I stopped early then 😅

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

      I'm sorry for the confusion caused by the video's structure, it doesnt really work as a step-by-step despite being made like one. I'll make sure to clarify this with a stickied comment. Thank you for the feedback

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

    7:02 I get an error "Invalid set index 'velocity' (on base: 'Nil') with value of type 'Vector2'." Anyone else?

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

      Fixed it. At 6:26, the player is renamed to player_body so we have to re-select the CharacterBody2D in the inspector.

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

    Unironically i have a personal project like feeding frenzy I’ll be working on(already started and have a fsm for moving animation kinda) after the game jam im in.

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

    Great to see your back with more content! Keep up the great work!

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

      Thanks! Will do!

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

    Gosh this was a real lesson for me! The lesson was mostly good but there were some parts that were *so* hard to follow, you tend to click around the screen so quickly it I guess it implies that I'm meant to know where those things are... the screen settings at 21:36 or when you changed the gradient I had to actually slow down the speed of the video to see what you were doing (and you started doing it before you started talking about it) so that was really hard to follow, I haven't been able to finish the whole thing and I think I'm going to have to finish this just by myself and using chat gpt because there are too many things that when I copied your code exactly they just do not work in the same way, I think there are a few instances where things were changed/ renamed outside of the tutorial, overall it is good and when you explain things they are clear, the whole segment with the spawner was great, but I wasn't able to follow beginning to end unfortunately and I tried really hard!! I'm very new to godot this is my second video that I'm following.

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

    nice video, very well teaching. can i request more beginner project

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

      Thank you, of course!