3D Game Development in Python with Ursina

Поделиться
HTML-код
  • Опубликовано: 12 авг 2024
  • Today we learn how to easily develop 3D games in Python using the Ursina game engine.
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    📚 Programming Books & Merch 📚
    🐍 The Python Bible Book: www.neuralnine.com/books/
    💻 The Algorithm Bible Book: www.neuralnine.com/books/
    👕 Programming Merch: www.neuralnine.com/shop
    🌐 Social Media & Contact 🌐
    📱 Website: www.neuralnine.com/
    📷 Instagram: / neuralnine
    🐦 Twitter: / neuralnine
    🤵 LinkedIn: / neuralnine
    📁 GitHub: github.com/NeuralNine
    🎙 Discord: / discord
    🎵 Outro Music From: www.bensound.com/
    Timestamps:
    (0:00) Intro
    (0:45) Ursina Engine Basics
    (13:45) Tic Tac Toe Demo
    (15:04) Inventory Demo
    (15:52) 2D Platformer Demo
    (16:57) Minecraft Clone Demo
    (18:04) Settings UI Demo
    (18:58) Outro
  • НаукаНаука

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

  • @scaffus
    @scaffus 2 года назад +30

    I saw this library a few months ago, didn't feel like digging into it, but you made a video, very nice, thanks!

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

    Unbelievable. don't know how I didnt know this existed. Thanks for the tutorial

  • @Victor-ev3vu
    @Victor-ev3vu 2 года назад +90

    Want more videos on this topic

  • @GamesMorocco
    @GamesMorocco 2 года назад +7

    Thank you so much for all these tutorials bro. So much valuable knowledge

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

    Been waiting for more videos to cover Ursina

  • @mrkaro7468
    @mrkaro7468 Год назад +2

    Best python channel on youtube. Thanks man

  • @jizosgoescrazy
    @jizosgoescrazy 2 года назад +8

    Hey! Great video! I was just wondering how you got the little rectangle selection icon... On my PyCharm i have the line icon for the selction.

  • @chikaBurton
    @chikaBurton 2 года назад +9

    nice. I was wondering if there is a way to mix ursina window with something like OpenCV, or doing some overlaying on a video window

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

    man I'm excited for this video!!!

  • @hoschiareljas1834
    @hoschiareljas1834 2 года назад +4

    Great job It was very helpful, thanks

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

    thats insane bro!;o look amazing

  • @costelinha1867
    @costelinha1867 2 года назад +28

    When drawing a 3d cube in Ursina already sounds more intuitive than drawing a 2d rectangle in PyGame.

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

      true

    • @LiberalEntrepreneur
      @LiberalEntrepreneur 6 месяцев назад +1

      Cuz Ursina is more of a engine and Pygame is mostly a framework

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

    Thanks so much this video is great and helped alot

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

    i'd REALY like to be that a serie

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

    Very cool demos

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

    LOL I had stoped the video on 9:12 and then i clicked " , " by mistake, wich made the video jump one frame back.
    now normal and all, but it just so happen that the frame before the one i was on had a " , " high lighted. like what are the odds.
    It made me so confused for a moment as i thought i had somehow unlucked a feature of highlighting text inside the video iteself.
    anway, thanks alot for the tutorial, really love your vids. clean and simple and easy to follow.

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

    Well, now I know how to make 3D stuff!😊😊

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

    What is the version of the python & pycharm you are using? cuz i tried with pycharm 2019 3.3 and python 3.7 it does not work. when I run the code its literally doing nothing ahah

  • @emmanuelibiyemi5607
    @emmanuelibiyemi5607 Месяц назад

    ❤❤love your vids man

  • @YuckFou0x0FFFF
    @YuckFou0x0FFFF Год назад +14

    You need like 38 lines in C++ to write a piece of code that would take like 8 in Py. Considering that Py has been around since the early 90's, you'd think more game devs and game libraries would've moved over to Py by now.
    Edit: I recant this statement. Py is really only good for building small games like cellphone games or a top down/side scroller.

    • @jaydenwilson9522
      @jaydenwilson9522 10 месяцев назад +1

      why?
      5x less code.... added with a better and more simplistic mathematical system should be WAY better?
      I was just gonna start self-studying Python for 3d games... why is it bad?

    • @YuckFou0x0FFFF
      @YuckFou0x0FFFF 10 месяцев назад

      @@jaydenwilson9522An an interpreted language with a garbage collector, Py apps are too bulky and too slow for complex games. Modern computers can barely handle modern games anymore without heavy optimization.

    • @artieschmidt3039
      @artieschmidt3039 10 месяцев назад

      @@jaydenwilson9522 I assume python is slower

    • @mathewtodd474
      @mathewtodd474 10 месяцев назад

      @@jaydenwilson9522 Primary reason C++ is preferred is performance. Python is not one of the fastest languages so with too much running on it can bog down its speed.

    • @InverseOfficial
      @InverseOfficial 7 месяцев назад

      @@jaydenwilson9522 python is horrendously slow, so you would have to use something like DirectX or OpenGL anyway which is easier done in languages like c++

  • @Lithium59
    @Lithium59 2 месяца назад

    Wow. Unbelieveable. You can create a basic clone of minecraft in just 48 lines of code.

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

    I figured out how to add sky grass and different blocks super easy

  • @ko-Daegu
    @ko-Daegu 2 года назад +1

    this is only useful I can imagine in 2 cases:
    1-if it can compile to WebGL as easily as UE, so people can build tiny games for their portfolio.
    2-if this can work with micropy so we can run games in embedded devices maybe build a GameBoy clone then run those games in it or something, or maybe run interfaces for tiny SBC
    hard to see why i opt for this other than that & I dunno if the above 2 cases are even possible

  • @SkyFly19853
    @SkyFly19853 2 года назад +4

    That's exactly what I plan to do!
    Python has so much potential!
    Even there is a Diablo like game made in Panda3d.

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

      What’s the name of the game?

    • @SkyFly19853
      @SkyFly19853 2 года назад +2

      @@priyazu4000
      Avolition RPG.

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

    Vielen Dank dafür

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

    Awesome Vid!

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

    I like that!

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

    Copying the code from 3 minutes in exactly, it doesn't seem to work. It opens up the window and I see the cube but it doesn't spin.
    Maybe an update changed something. Still an alright tutorial.

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

    LIKED and SUBBED!

  • @AdamAdam-uy2nq
    @AdamAdam-uy2nq 2 года назад

    thanks

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

    How would you publish these games though? is it just going to be a .py script? what if you want this game to be published in steam be downloadable as .exe file

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

    I like your videos!!

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

    You are awesome 🙂

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

    More on this topic

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

    Pls can u tell how to write a code to save a game in python ursina library

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

    Do I really need to create textures myself?

  • @sw-code6027
    @sw-code6027 2 года назад

    More videos on this please 😭😭😭

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

    what i must do if python gives an error message in if self.hovered: ?

  • @romijnsteens3621
    @romijnsteens3621 8 месяцев назад

    how can you move in First Person Controller?

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

    Wow I am your fan you teach me 3d game programming

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

    Does it support OpenGL rendering via GPU like Kivy?

    • @atibyte
      @atibyte 2 года назад +2

      Ursina was built on top of Panda3D, which uses the OpengGL graphics backend. So, yes Ursina uses OpenGL under the hood.

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

    like every minute I ask from where to get these images?

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

    cool!

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

    Okay I give up. Where can I find downloadable Ursina game objects you said around 5:48. I've looked all over!

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

      they're just 3d models, there are different types: fbx, gltf, obj

  • @user-lq8if8wd4d
    @user-lq8if8wd4d 2 месяца назад

    blud really forgot about += for the cube rotation

  • @mr.whiteboard6357
    @mr.whiteboard6357 2 года назад +4

    Bro can you provide the respective source codes of the projects shown in the video.

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

    how do I download that model.obj..??

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

    Great

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

    Minecraft Clone Example, how could I remember the placements so I can make buildings and stuff? hmm?

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

    Nice vid, how to open inventory.py in test.py (so the game yo made) when you click esc?

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

    I like this......................great posting................you are solid.........kid............:) ..............bye

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

    Good!

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

    what is the title of your intro, I like it

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

    First! So excited to use another engine than unity......

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

    i keep getting this error: :pnmimage:png(warning): iCCP: known incorrect sRGB profile

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

    Why not make own library engine

  • @gamer-gamer
    @gamer-gamer Год назад

    but i want to know how to know how to not do wild card

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

    wow...

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

    Can you tell me which softwere you use to run python codes pls

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

    Please make a tutorial on 3D Game Development without a game engine.

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

    Why is it that python isnt best suitable for game developing? Why is C# better for example? I wanted to start learning programming and gamedevoloping (as a hobby, but would want to in the end actually make a game.) and was recommended Python. But as you said that in Unity its best to use C#.

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

      How has your journey of learning Python been going?

    • @orangerazzz
      @orangerazzz Год назад +3

      @@AwareNessD I have a lot of problem as a beginner to get started. Looking into many youtube videos and at first I think I know what route I wanna go, but then another video makes me question my first plan. So as a beginner I feel like im stuck at a crossroad and dont know what path to take if you understand me. And that is taking away a lot of motivation. I want it to be as "free" as possible. I thought about, Blender and Krita for graphics. Assets and stuff. But I wanted to program in Python because of open source and how good everyone says it is for beginners. (As a total noob you trust everyone else)
      But yeah so im stuck right know. And I like to draw so I just sketching on ideas everyday, to not forget about my long term projecr. and I have been to anoyed on myself for not knowing yet what programming language and engine to go for (I liked Unity but all guides online dont use Python so think I have to start over). As you might understand the solution is probobly to just change Python for C# or something else and im just biaz and have been brainedwashed to think Python is the best route.

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

      @@orangerazzz use ursina for tiny projects!

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

      @@ruan9631 thanks I might check it out

    • @Zero-wl7oe
      @Zero-wl7oe 11 месяцев назад

      @@orangerazzz Im in the exact same boat as yourself. Have you tried any of the No code platforms? There are a lot of them like Construct 3, G develop and buildbox for instance. I think buildbox is the best of them all tbh you should try it.

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

    Please make kivy tutorial

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

    ba - NaN - a, baNaN - a, baNaNa, banana.

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

    hey, this video ws interessing but you showed us how to make a game using ursina but you didn't explain how ursina works , so it will be nice of u if you wonder to do a video where you explain each step just like we are learning something new, thank's in advance(sorry for some error )

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

    3D py game endless runner it will help to learn making pygames

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

    What is parent = scene ?

    • @AAlgeria
      @AAlgeria Месяц назад

      Why are you trying to learn a game engine if you don't know what parent and child classes are?

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

    thanks man i hope i make money
    LOL

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

    source code?

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

    im falling when game started. Why?

  • @MNE-yk8vp
    @MNE-yk8vp 2 года назад

    bro doesnt blink whatsoever

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

    What software is used?

  • @storage50kb
    @storage50kb 8 месяцев назад

    10:50🤣

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

    is there anything else i need to add the codes are not working on my side

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

    i've installed ursina but when i wrote "from ursina import*" it underlined "ursina" and didn't work

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

    But... it will take you 10 times longer to develop a game in C/C++/C# than Python...
    Python even has a C/C++/C# extension for this purpose.

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

      Can you help me with what are the c/c++ extensions?

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

      If that was so, Unity and Unreal would have Python as scripting language, but they don't.

    • @kimeg7294
      @kimeg7294 2 года назад +4

      It depends on the complexity of the game you're trying to develop. You will start to see the diminishing returns when using python's libraries to build systematically more complex games.

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

      @@kimeg7294
      There is a video game made in Panda3d and it works like Diablo 2/3... it is complex, but works. The name is Avolition.

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

    People say python can’t make games;
    It’s too slow- false, can be compiled also and optimised with semi compilers
    No game engines- false,
    The truth is, when we start using it to make good games then the devs will step up in the use for that, we just need to step up. I’m going to make my game with python, I have started and it’s working well.

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

      it cant actually compile its supposed to be script language not like C++ etc, pytoexe takes too many MB for hello world program i tried nuitka compiler and it will only work with ur pc plus any python .exe program very easy to reverse engineer

  • @kaihookins3273
    @kaihookins3273 11 месяцев назад

    does anyone know how to get ursina?

    • @esdraslov
      @esdraslov 3 месяца назад

      pip install ursina
      just it

    • @joopy191
      @joopy191 2 месяца назад

      @@esdraslov doesnt work

  • @3DUniverseGamer
    @3DUniverseGamer 7 месяцев назад

    3:52

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

    How to install ursina?

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

    It doesn't have enough community support

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

    it came up with an error saying that ursina was not defined
    edit:
    now it says that an error came up in the problems section saying "ursina is not defined"
    I'm using visual studio code btw

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

    where i can found all commands for this liberty?

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

      and, if i just start but want make a games, first l python its better to understand ? and after i can jump to c#?

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

      @@jaanekborodajev5654 is game development is your aim then go for c++ or c# directly brother

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

      @@aadarsh_chaurasia in same time i like to do telegram bots and websites maybe. i mean i have idea and want to do this section to. but mostly games. because c# looks so hard 😀 i scare to lose motivation

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

    python syntax best, any other sux D

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

    1051 that's a voxel game, not a minecraft clone.

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

    13:13

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

    the cube doesnt appear

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

    i can't bro 10:50

  • @romijnsteens3621
    @romijnsteens3621 8 месяцев назад

    never mind

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

    The notepad :(((( its very visible

  • @nehasinha6366
    @nehasinha6366 4 месяца назад

    Mai scratch hu par kone Kalle mai 😢😢😅

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

    What the hell are you using it doesn't work in IDLE what's that app pls help

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

      you should learn python first

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

    Thanks but I am good with pygame 😂

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

    HOW HOW HOW HOW DOES IT COME THAT "PIP" IS WORKING FOR E V R E R Y O N E E L S E THAT IS NOT ME!!!! HOWWWWWWWWWWWWWW I HAVE TRIED REINSTAING ALL THIS SHIT LIKE FIFTY TIMES ALSO TO MANUALLY PUT IT TOGETHER I T D O N T W O R K!!!!!!!!!!!!!!!!!

    • @esdraslov
      @esdraslov 3 месяца назад

      do you have pip installed on your computer??

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

    Hi brother what's up

  • @EduardoGarcia-sf6pg
    @EduardoGarcia-sf6pg 2 года назад +1

    I am a fan of Python. But gaming performance is better with languages like C/C++. Unity, Unreal Engine... There are very strong rivals. In this field Python has no future.

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

    'developing in python' but not using snake case...

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

    ☝️ P r o m o S M!!!

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

    Create an Ai sir

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

    With this i make 3d 18+ games YAMATE KUTASAI

  • @NicoTXT
    @NicoTXT 10 месяцев назад

    this is the worst tutorial ever.

    • @esdraslov
      @esdraslov 3 месяца назад

      depends, if you're in a linux, it's right

    • @esdraslov
      @esdraslov 3 месяца назад

      or in a codespace