How to code game logic

Поделиться
HTML-код
  • Опубликовано: 31 янв 2025

Комментарии • 39

  • @GameDevBeginner
    @GameDevBeginner  13 дней назад +2

    The first 500 people to use my link skl.sh/gamedevbeginner01251 will get a 1 month free trial of Skillshare!

  • @captain02rex
    @captain02rex 13 дней назад +19

    It would be really cool if you made a video about data-oriented programming and/or Unity Dots. Really nice video again, good work!

    • @GameDevBeginner
      @GameDevBeginner  12 дней назад +3

      I'll see what I can do 👍🏻

    • @curtis1397
      @curtis1397 12 дней назад +2

      As someone currently working with DOTS, it's not beginner friendly. It's definitely something you should avoid until you are really good at OOP.

    • @ardhenismuhammadaflah7818
      @ardhenismuhammadaflah7818 12 дней назад +2

      Yeah, i need that tutorial!!

  • @WebRoosterWebPros
    @WebRoosterWebPros 12 дней назад +2

    the most underrated dev channel, youve made these concepts very easy to follow, thank you!'

  • @johnabielnicolas7672
    @johnabielnicolas7672 11 дней назад +1

    your contents are knowledgeable and clear. Hope you do a lot more videos!

  • @anthonydrakefordshadow
    @anthonydrakefordshadow 9 дней назад

    This is a very well constructed resource. I personally use Python and the pie game library to code. Options like unreal, unity, and even godot required much higher processing power than I had available to me at the time. Pygame offered the perfect level of entry for my needs. Though I have updated my system I have become attached to the python game library and it’s community. That being said, even though I am not using an engine and using a entirely different language, the information that you provided is still very helpful and has a universal appreciation, thank you ❤

    • @doodocina
      @doodocina 8 дней назад

      lol you are using python and talking about processing power? you should consider using proper programming language, not school toy language

    • @anthonydrakefordshadow
      @anthonydrakefordshadow 8 дней назад

      @ I am just starting so if my language is not advanced I am not offended. I am very proud of myself all the same 😇

    • @doodocina
      @doodocina 8 дней назад

      @ you can't learn basics of programming when you use language that do not provide capabilities to use them

    • @anthonydrakefordshadow
      @anthonydrakefordshadow 8 дней назад

      @ I am sure there are greater heights to come but for now I am ok learning to crawl before I walk. I start making games a year ago and I only used RUclips videos, books I read, and chap gpt to learn on my own. Now that I am becoming confident in python I am sure I will try other languages at some point 😊

    • @doodocina
      @doodocina 8 дней назад

      @ you are running fast... you don't know many aspects of what you're doing. python gives you illusion of knowledge.
      at some point you either would start from complete beginnings to understand how lower level langs work or just stick to python, cuz complex basic things are not easy to learn when you already can program everything in python.

  • @themcnetwork
    @themcnetwork 12 дней назад +1

    Really good video, made me understand a couple things better.

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

    good video. channel deserves more activity

  • @gigantetelles6409
    @gigantetelles6409 4 часа назад

    Vídeo legal, explicou bem

  • @brutosmomentos7355
    @brutosmomentos7355 12 дней назад +2

    Perhaps the best source for learning gamedev/unity/c#. You have no idea how much I have appreciated your videos and blogs. Always easy to follow and understand, always concise and high quality. Thanks so much for the amazing work you put out!

  • @hsjwvs
    @hsjwvs 9 дней назад

    3:39 you forgot to put . 0f after that 100.

    • @GameDevBeginner
      @GameDevBeginner  9 дней назад

      You only need to add f to a decimal literal, because the implicit type is double, not float. It works fine if it's a whole number though

    • @hsjwvs
      @hsjwvs 9 дней назад

      ​​@@GameDevBeginner Its a type-mismatch since the compiler will implicitly convert the hundred into double but you are storing *it* as a float.

    • @doodocina
      @doodocina 8 дней назад +1

      @@hsjwvsno. conversion of constants is done in compile time. since this is initialization, 100 will be represented as float

    • @GameDevBeginner
      @GameDevBeginner  8 дней назад

      @@hsjwvs in Unity C# this hasn't been a problem (compiles fine and works as expected) unless I perform a calculation when assigning, in which case I need to specify the type. I realise that this might not be the same in other languages though.

    • @hsjwvs
      @hsjwvs 8 дней назад

      ​@@GameDevBeginnerI see now, I mixed it up with C/C++. I always write it 100.0f if im using float or any other native data type. Wow they're so simillar that I thought both apply for the same thing...

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

    You gonna tell us the lore of souls like games, lol

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

    I wish I had seen this video sooner

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

    Could someone identify the code theme used in the vid?

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

      It kiiinda looks like Gruvbox but not quite.

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

      @@panagosu yeah it’s Gruvbox, but I think it’s a little different to most gruvbox themes. I haven’t been able to find the same theme for VSCode

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

      @@GameDevBeginner is this Unity’s in-engine code editor? I am not a Unity dev.

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

      @@panagosu I've been using Visual Studio, but that's now deprecated on Mac. VS Code is the closest alternative but I can't find a Gruvbox theme that matches my old one

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

    What is the source of the website at 8:39??

    • @GameDevBeginner
      @GameDevBeginner  12 дней назад +2

      Here you go: docs.unity3d.com/6000.0/Documentation/Manual/execution-order.html

  • @vusanimatshinge9508
    @vusanimatshinge9508 12 дней назад +2

    Dude this isnt even your video, stole this from Game Makers ToolKit
    very disappointing

    • @GameDevBeginner
      @GameDevBeginner  12 дней назад +2

      We do sound alike. But no, if he has a video like this it’s news to me.

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

      You'd be foolosh to expect any originality from youtube devs.