Level Setup | C Game + Engine From Scratch 15

Поділитися
Вставка
  • Опубліковано 27 січ 2023
  • Code used in recording: github.com/Falconerd/engine-f...
    Pixel art for this series is custom made by Presley Carvalho. Check out his website here: perigic.com/
    Background pixel art for this series is Kings and Pigs by Pixel Frog. Check it out here: pixelfrog-assets.itch.io/king...
    Music for this series is from Breezy's Mega Quest by RyanAvx. Check it out here: ryanavx.itch.io/breezys-mega-...
    ➤ Website: dylanfalconer.com
    ➤ GitHub: github.com/Falconerd
    ➤ Discord: / discord

КОМЕНТАРІ • 18

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

    amazing series , love your videos, and thank you very much !

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

    Amazing as usual!

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

    Hi Dylan, please reply, I'm going to start following along this series tomorrow, I love this game you've built here, I just wanted to ask if this 15th video is the last one or are you going to upload more?

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

    Hi Dylan, just curious, i have 0 knowledge about game programming, if I want get started, which language are you recommended? should I go straight with U3D? or is there any better one?

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

      That depends on what kind of game you want to make. And you should be very realistic about that goal... When I started I kept trying to make "the next Skyrim" all by myself and it just didn't work out.
      If you want to make a 2D game with little programming knowledge then I'd recommend GameMaker or Construct 3. If you want to learn a bit of programming, there's a really nice engine called Defold that uses the Lua language. Lua is very simple and clean - great for beginners imo.
      If you want to build an engine from scratch, then I actually would not recommend using C. Maybe Python, using something like pygame - DaFluffyPotato has some videos about that.
      If you want to make a 3D game - then Unreal is your best bet - it's got top notch 3D capabilities out of the box and a visual scripting language that is quite powerful.
      Of course if you want the best community support and answers to all your questions, then pick Unity. It's by far the most popular - you'll need to learn a bit of C#, but not too much.
      I hope that helps!

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

    whats the software you are using to write those notes/diagrams ?

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

      It's excalidraw! It's pretty new and very nice - I won't be surprised if it gets bought by Atlassian or someone and ruined within a year or so

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

    Hii Dylan please reply
    Is this series finished or still more videos are coming?

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

      Sorry, been busy with my newborn baby. Series is almost finished - just a couple of eps to go I suspect.

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

    Hi Dylan Im getting opengl version 2.1 (2.1 Metal - 83) on my arm based mac. But only 3.+ supports glGenVertexArrays. Do you know what I should do?

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

      Hi Guo, I'm unsure of what options are available to you. Are you using Core or Compatibility? I know that using Compatibility profile will enable 2.1 on OSX

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

      @@DylanFalconer I tried both core and compatibility profiles but glGenVertexArrays is still not defined
      SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE);
      SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 3);
      SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 3);

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

      oops forgot I cant put links in my comment but I solved it
      src/engine/render/render_init.c
      SDL_Window *render_init_window(u32 width, u32 height) {
      if (SDL_Init(SDL_INIT_VIDEO) < 0) {
      ERROR_EXIT("Cloud not init SDL: %s
      ", SDL_GetError());
      }
      SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE);
      SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 3);
      SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 3);
      basically I need to run SDL_Init before SDL_GL_SetAttribute
      thanks again Dylan!

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

      @@guozhangliew7302 Right, I must have made a mistake if my code says to put the attributes first :( Glad you got it sorted!

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

    Where did you learn about GLSL?