Introduction to Ursina (by coding the Breakout Game)

Поделиться
HTML-код
  • Опубликовано: 13 июл 2024
  • In this video you will find out all about the new Python Game Engine called Ursina. Ursina is not exactly overflowing in features but it is SUPER POWERFUL. You can make playable games with less than 100 lines of code!
    So watch on to see how I create the classic Breakout Game with just 60 lines of code
    SOCIAL:
    Twitter: / sanjindedic
    Facebook Page: / headstartacademyau
    WEBSITES
    www.headstartacademy.com.au/
    robotix.com.au/
    About me
    I have been a technology enthusiast from as long as I can remember with a special love for robots. I completed my Robotics degree at A.N.U and majored in Computer Vision. In 2012 after 5 years working as a Design Engineer, I decided to get into education. My first passion was bringing Arduino Programming and 3D printing to schools but I as the years went by Python became my new favourite toy for creating text based applications like chatbots and 2D games. Since 2015 I have been teaching part time while authoring books and online courses used by tens of thousands of students across Australia as well as doing extensive teaching training in collaboration with Digital Learning and Teaching Victoria.
    About Head Start Academy
    I believe that coding is an extremely useful and universally valued skill. Today most students in Australia experience some coding in school or in after school programs. Some students enjoy it immensely and are left wanting more, these are the students I want to help. My goal is to build on that enthusiasm, introduce them to like minded peers and help them learn the skills and habits that will set them on a path to excellence in Computer Science.
    In our classes students will experience the following:
    • Small group learning: 6 - 12 students
    • Instruction from an educator who has university level qualifications in both education and Digital Technologies
    • Minute by minute peer and instructor feedback on their code
    • Lifetime access to learning materials (videos + pdf guides) for all the content covered
    • Research skills and best practice use of coding websites like Stack Overflow and GitHub
    #Python, #Ursina, #UrsinaEngine, #GameEngine
  • НаукаНаука

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

  • @prog_demos
    @prog_demos 3 года назад +5

    Thanks for the video.
    Piece of friendly advice: make the code larger. You can also retract the left pane and make more bigger code fit the screen (in that case you could move your box in the lower right part of the screen).

    • @SanjinDedic
      @SanjinDedic  3 года назад

      I can definitely do that!, I think because I have a large monitor, I kinda forget that most people are probably watching on laptops

  • @jongwonjohnlee
    @jongwonjohnlee 3 года назад +1

    I followed the video and the code works perfectly

  • @Blinkers2007GameDev
    @Blinkers2007GameDev 2 года назад +1

    thanks. Even though my game is gonna be 3D, this is gonna help a lot. Especially the game statements(i.e You win/ lose and application freezing) and the ball rotation when it collides.

  • @ananthramvijayaraj4554
    @ananthramvijayaraj4554 3 года назад +13

    Nice vid, but I have one request, please zoom in while you are coding

    • @parthacodes5893
      @parthacodes5893 2 года назад

      You can do ctrl and scrool your mouse yo zoom In

    • @ananthramvijayaraj4554
      @ananthramvijayaraj4554 2 года назад

      @@parthacodes5893 that won't really increase the size of the text that I see

  • @gamingghost7335
    @gamingghost7335 3 года назад +2

    thank you bro for this tutorial

  • @cprn.
    @cprn. 3 года назад +4

    That's easy. How do you import a fully rigged character from blend file and animate it with invert kinematics? ;) I'm kind of joking but also I'm not, it'd be a hell of an interesting video.

  • @copicism4077
    @copicism4077 2 года назад

    how do you get the first pdf in the begining, can u show it to me?:)

  • @spyros92
    @spyros92 3 года назад

    i have an error and idk why this "if hit_info.entity in bricks:
    TypeError: argument of type 'Entity' is not iterable"

  • @BorNation
    @BorNation 3 года назад +1

    where link?

  • @keith819
    @keith819 3 года назад +3

    Any plans to post the code ? Looks good but I'm having trouble reading it

    • @SanjinDedic
      @SanjinDedic  3 года назад +1

      Give me a couple days. I should be able to it this weekend

    • @godfather7339
      @godfather7339 2 года назад +1

      @@SanjinDedic have you posted a link somewhere? I cant find it in the description, or in any of the comments. would be great if you could provide that.

    • @micha_lietavec
      @micha_lietavec Год назад +1

      Now it is more than 1 year and we see no code. In my opinion, videos without links to code are nearly useless.

  • @Zmunk19
    @Zmunk19 3 года назад +4

    Is it possible to upload games made with ursina on steam?

    • @heythere1623
      @heythere1623 3 года назад +1

      i think so, you have to just make the .py file into an .exe file if you are on windows

    • @SanjinDedic
      @SanjinDedic  3 года назад +4

      @@heythere1623 Pretty sure you are right, but I don't yet know of any Ursina games on Steam

  • @jayl1756
    @jayl1756 Год назад

    why i can´t use time.dt and why isn´t info about?

  • @RajPatel-lq9br
    @RajPatel-lq9br Год назад

    Bro I have an error in vs code it's like:-
    Know pipe type :
    WglGraphicsPipe
    (3 aux display module not yet loaded)

    • @SanjinDedic
      @SanjinDedic  Год назад

      Try this
      pip uninstall ursina
      then
      pip install ursina
      after you confirm that you have the latest version.
      If that does not work remove all the loaded textures and see
      If that does not work run the Python file outside of VSCode (maybe its not finding the path)

  • @mohiuddinsyed1684
    @mohiuddinsyed1684 2 года назад

    As of me seeing this, it has exactly 9,000 views.

  • @jabberbinkibria7688
    @jabberbinkibria7688 3 года назад

    When I use time.dt I get this error " Cannot find reference 'dt' in 'time.pyi | time.pyi' ". I'm using pycharm. Can you please tell me why... Thank you

    • @SanjinDedic
      @SanjinDedic  3 года назад

      I am not sure, maybe you imported time and this is contradicting with the time function that is built into Ursina?

    • @jabberbinkibria7688
      @jabberbinkibria7688 3 года назад

      @@SanjinDedic I only imported "from Ursina import*"

    • @justinhair7268
      @justinhair7268 3 года назад +1

      @@jabberbinkibria7688 I get that error too, but I can still run the program. (I use PyCharm for an IDE)

    • @GBGSK
      @GBGSK 3 года назад +1

      @@jabberbinkibria7688 try to copy paste the same code in a text editor like atom, see if that works. in case it does, you have made a bad config oin your IDE

    • @jayl1756
      @jayl1756 Год назад

      @@SanjinDedic i´m not imported time

  • @itseasygaming2097
    @itseasygaming2097 3 года назад +3

    okay let me do u a favour :-) u seem to have forgotten to code and rather learned to copy

    • @SanjinDedic
      @SanjinDedic  3 года назад +2

      I look forward to seeing your tutorial :)