Это видео недоступно.
Сожалеем об этом.

Creating Minecraft in Python [with the Ursina Engine]

Поделиться
HTML-код
  • Опубликовано: 12 авг 2024
  • A basic tutorial on how to create Minecraft in Python by using the Ursina Game Engine. This also includes a general introduction to the engine itself.
    Timestamps:
    0:00 - Intro
    1:24 - The basics of Ursina
    15:49 - Creating Minecraft style blocks
    35:25 - Creating a sky, a hand and adding sounds
    Project files are available here:
    github.com/clear-code-project...
    Artwork from Kenney:
    opengameart.org/content/simpl...

Комментарии • 1,8 тыс.

  • @mkglory2410
    @mkglory2410 3 года назад +2000

    my snake game project had 250+lines, and he created a "minecraft" in 90 lines, well life aint easy.

    • @akgang602
      @akgang602 3 года назад +21

      🤣🤣 Lamao

    • @LtdJorge
      @LtdJorge 3 года назад +188

      Using an engine tho

    • @sauliustb
      @sauliustb 3 года назад +156

      quality of a project can't be measured in number of lines. If you have a different coding style you can easily create more lines without reducing or even improving readability.
      Also, (still at the start of the video, so not sure what's in the Pynecraft game), snake needs quite a bit of logic that a minecraft clone doesn't need, whereas snake also needs a world to move in...

    • @grimm5751
      @grimm5751 3 года назад +24

      @@sauliustb Agree with you on the first part, not sure if i do on the last though.

    • @mariocamspam72
      @mariocamspam72 3 года назад +24

      in python 250 or 90 lines can be the exact same speed because interpreter (and by exact same speed i mean very slow)

  • @mixlaproduction
    @mixlaproduction 3 года назад +1589

    WOW, I wasn't expecting this at all! With a few more key features you can make this game pretty gameable. Keep it up, C!

    • @LtdJorge
      @LtdJorge 3 года назад +110

      It's not C, it's Python

    • @_alfie_phillips_2058
      @_alfie_phillips_2058 3 года назад +43

      @@LtdJorge He wasn’t referring to the programming language C, the youtubers name begins with C

    • @hrushikeshkale68
      @hrushikeshkale68 3 года назад +7

      @@_alfie_phillips_2058 understand the code

    • @sangramjitchakraborty7845
      @sangramjitchakraborty7845 3 года назад +37

      @@_alfie_phillips_2058 yes. That's the joke.

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

      @@LtdJorge C is the first letter of this channel name..

  • @china0018
    @china0018 2 года назад +729

    "Mom can I buy minecraft?"
    "No"
    "Fine. I'll do it myself."

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

      Lmao 🤣 🤣

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

      Right I have might mine carft without money I was a hacker front before only

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

      @@parthacodes5893 ur grammar is so good im proud of you

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

      why would you ask someone if you can buy something with YOUR money

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

      @@parthacodes5893 you don’t know how hacking is really. i know cyber security

  • @LoganMeyers03
    @LoganMeyers03 3 года назад +611

    Dear RUclips Algorithm,
    You have FINALLY given me a good suggestion, one that has actually had a high value to it, one that I actually really enjoyed.
    No but actually this is a great tutorial, and I really like it! Thanks!

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

      69 likes 😎

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

      @@_lun4r_ lol yea

    • @kremlinbasement7768
      @kremlinbasement7768 3 года назад +8

      69: 💩📉
      Stack and 5: 😀📈

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

      agreed here

    • @tariqs.111
      @tariqs.111 2 года назад +1

      Yeah RUclips has some great, high quality content, it just takes some time to find it

  • @alzeay204
    @alzeay204 3 года назад +598

    Making Minecraft...
    Him: 'So lets first begin with a circle'
    Me: *visible confusion*

    • @skindedream9293
      @skindedream9293 3 года назад +30

      **confused screaming**

    • @GelleSzebasztian
      @GelleSzebasztian 3 года назад +9

      So let's make a square.. Let's type uhm.. Circle! Then a circle is drawn on the screen!

    • @Cynadyde
      @Cynadyde 3 года назад +9

      first i started with a circle, then i erased some of the details, and tada, minecraft

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

      *_-yeah-_*

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

      Bro you are one of the people on youtube who makes comments that are not copied from other videos. This is the type of comment that makes me have a little laugh. If I could pin this comment then I would!

  • @potayto2271
    @potayto2271 3 года назад +412

    This channel is criminally underrated

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

      For real god

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

      agree i think he is going well in 3 days he got 140 subs which is great for small channels and i am sure one day this channel will be great and have more subs :-)

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

      Its because he doesnt post often, if he posts often then he would get hundreds of thousands of subs

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

      Lol the video has 1.4 m visits, do you want us to make him a party or something?

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

      @@Pirater666l gee, I wonder if those views happened after I commented that more than a year ago.

  • @Ziad_Agamy
    @Ziad_Agamy 3 года назад +2345

    Minecraft java edition: ❌
    Minecraft python edition: ✅

    • @ionrael
      @ionrael 3 года назад +200

      *LAG INTENSIFIES*

    • @blylzz
      @blylzz 3 года назад +12

      🤣🤣

    • @eliewilhelm
      @eliewilhelm 3 года назад +44

      Well... there is Minecraft Pi.

    • @JayRain
      @JayRain 3 года назад +39

      how 2 get 3 FPS on good GPU's simulator

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

      Minecraft pi edition is that

  • @samehoodie
    @samehoodie 3 года назад +54

    *starts coding Minecraft from a circle*
    Mojang:
    "Understandable, have a good day."

  • @Shadow-sc8tn
    @Shadow-sc8tn 3 года назад +36

    I‘ve learned flappy bird, snake game, GTA2 car in this channel, and now I'm learning create 3d objects in python !

  • @parthgupta4850
    @parthgupta4850 3 года назад +95

    Sir this is the only video to make Minecraft with python, this video will get million views, I can bet.

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

      You bet wrong at least for now

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

      @@sanderdrack yes but only for now

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

      there are other videos of how to make cubes with pyopenGl and pyglet but this is the best one.
      yes i had to search for this, it didnt pop up in my recs

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

      @@zyugyzarc yeah

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

      There were other minecraft clones made in phyton, but i can't remember who did it, but I remembered to watch it a couple of years ago

  • @Concon-bu4bp
    @Concon-bu4bp 3 года назад +28

    This is by far the coolest thing ive seen in coding so far. Especially with how simple it is

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

    This channel has advanced and skyrocketed with unexpected great tutorials from you, I've never expected minecraft to be replicated with python until now thanks to you!

  • @pauliuscernius5820
    @pauliuscernius5820 3 года назад +57

    I was searching for graphic libraries while ago for python (as pygame feels a bit too basic) and was unlucky for some time, but month later your video popped up almost accidently and showed this awesome library that i had no idea about, so thank you kind sir for showing this to us!

  • @kavinbharathi
    @kavinbharathi 3 года назад +55

    You can never know everything, I was just getting bored of pygame and this pops out of nowhere, and btw your channel is extremely underrated, and by that I mean *EXTREMELY* underrated...

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

    I really apprecaite your tutorials. Often creators make a tutorial and don't explain what the key functions do. This was so helpful.

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

    My 9 year old child wants to learn programming because of this movie! He believed it's possible to do it and wants to create a game like Minecraft. Yo are amazing! Thanks a lot.

  • @gondola3465
    @gondola3465 3 года назад +7

    Luv how this video is both a tutorial and a demonstration for ursina

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

    A very nice tutorial! I never thought you can make a 3D game so simple in Python using Ursina

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

    This is quite fascinating. I like how this engine simplifies the process of making a game in an easy-to-learn language like Python with very little code. It removes the complicated parts of 3D Math, collusion, player camera, etc while just leaving the programmer just attaching the objects (Entity) and setting up their properties. I hadn't seen anything this light. I think this engine has great future potential.

  • @jjeeff248
    @jjeeff248 3 года назад +54

    When using the color = color.color(h, s, v)
    h = hue
    s = saturation
    v = value
    You can look up HSV Color Model to learn more

    • @0rd3r
      @0rd3r Год назад

      rgb better

  • @akshayc4145
    @akshayc4145 3 года назад +16

    It is top grade, top class content you are delivering...with the most humble way possible..
    You are gonna make it like the Fat dino channel..I'm one of his early subscribers..
    But he is more of an entertainment oriented(I didn't make games with unreal)..your's is truly amazing, with explanations to every single step..
    I can't imagine the amount of effort you're taking...
    What to say, if I'm starting a channel in youtube, this will be the benchmark..
    Millions of love..

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

    Ursina comes with it's own sky function. Sky() does everything you have here without having to create a custom class for it.

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

    I’d love to show my support for these videos. Thank you for this amazing, engaging, and informative content!!

  • @samixpunch9678
    @samixpunch9678 3 года назад +6

    I am so glad I found this channel I learned a lot of stuff from it. I hope you make another ursina tutorial

  • @RohanKumar-zd3pc
    @RohanKumar-zd3pc 3 года назад +351

    NO WAY i didnt knew we can create anything 3d in Python

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

      yah!

    • @safi3968
      @safi3968 3 года назад +52

      Ever heard of Opengl binding? There is opengl binding for almost every language.

    • @pixeltochi4961
      @pixeltochi4961 3 года назад +30

      @@safi3968
      People judge a programming language on how it looks and how popular is it sadly :(

    • @grimm5751
      @grimm5751 3 года назад +49

      You can basically create anything in Python, albeit it's a bad idea to.

    • @pixeltochi4961
      @pixeltochi4961 3 года назад +25

      @@grimm5751
      Nah there are big names who uses python a lot and the low speed of python doesn't matter that much in most cases.

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

    I created the same structure in FTEQW and it took over a month and.. with Ursina you did it in less than an hour! This engine, if the developer will keep adding vital features(skeletal animations, particle emitters, pool system, etc.) from Panda3d, it will become my engine of choice. Thanks A LOT for sharing this tutorial, keep it up the great work!

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

    That Block Placing and Destroying Sound is really satisfying for some reason

  • @KweenAhlem
    @KweenAhlem 3 года назад +246

    please do more video on the Ursina Game Engine pleaaaase

    • @balaji.n7819
      @balaji.n7819 3 года назад +3

      yeah ursina is better than pygame...

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

      @@balaji.n7819 Yes really it is very difficult in pygame

    • @balaji.n7819
      @balaji.n7819 3 года назад

      @@sarthakarora2897 it's very tough to open a window, and add entity

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

      @@balaji.n7819 Are you talking about pygame??

    • @balaji.n7819
      @balaji.n7819 3 года назад +1

      @@sarthakarora2897 yep

  • @uncannypronkstudios
    @uncannypronkstudios 3 года назад +171

    Ursina looks more like an advanced version of turtle

    • @abualasif
      @abualasif 3 года назад +8

      what did he sayyyyyyy

    • @seamuskills
      @seamuskills 3 года назад +21

      accept turtle isnt a game engine

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

      😂😂

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

      It is a child version of panda3d

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

      @@apurvakumardani172 Child version ? That makes no sense, it is just programming in 2D, I bet it would take u 7 weeks to complete a full snake game u sloww

  • @DroidZed
    @DroidZed 3 года назад +61

    Small update on the new version of Ursina and this video : if you want to specify a color and change the shading do as follows:
    color = color.Color(color.hsv(hue,saturation,random.uniform(.9,1.0))) # the third parameter is value , check the HSV color system for more info .... if you also question as this is only a tuple with 3 elements : check the Color class and you can see that there is a forth default argument a = 1 ! No need to meedle with that only if you know what you're doing.
    The cause of this if you did like in the vid there would be an error thrown just before the game renders anything and yall get confused : the constructor of the Color class expects a Vec4 (as Color enhreits from Vec4 basically) and you can notice this in the init function of Color.
    Hope it helps !

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

      Hey, Do you know how to get the 'assets/block' file?
      I dont see it on the github

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

      Hello, can anyone help me? I am trying to download the block thing from github and there are 2 files for the block and they are both code and not images or textures. How would I go about downloading them?

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

      Hi @@aerotics8775. Have you figured it out yet? I am having this same problem. I If you have figured it out can you please help me?

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

      @@supansup actually the block file is Grass_block.blend

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

    This is incredible the game engine is so easy (as you said much more than pygame even the sound is easy) also the voice timing and the method of teaching is great

  • @benaissadjer5599
    @benaissadjer5599 3 года назад +8

    man u're awesome i'm broke asf and i want to learn this things to see u showing this info free u're great keep going all love and respect to u sir

  • @damnitseven
    @damnitseven 3 года назад +28

    Me: Mom, can we get Minecraft?
    Mom: We have Minecraft at home.
    Minecraft at Home:

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

      Hahahhaha funny omg comedy 100

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

      @@shelby255 :)

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

      Me: Mom, can we get Minecraft?
      Mom: Yeah, sure.
      Minecraft at the store:

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

    Is it me or this man's voice makes you wanna stay and learn?
    Great vid man!

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

    Love this tutorial it helped me alot in learning python and about ursina I was so so bored on making basic games so I decided to make a little advanced game so here it is such an excellent tutorial on creating minecraft in python Love it! :)

  • @nostalgia5031
    @nostalgia5031 3 года назад +33

    HOLY I DIDN'T REALIZE THAT URSINA WAS THIS POWERFUL :O

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

    To supply a possible answer to what confused you at around 27:18...
    It's most common to define colors in the RGB color space. But there are quite a lot of other popular color spaces also.
    This one looks like it might be using one called HSV. (Hue, Saturation, Value)
    Hue is a range of 0 - 256 (possibly 255), While Saturation and Value are both 0.0 - 1.0

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

    Thank you for this fantastic tutorial ! I realised all steps following your explanations and everything is clear
    I don't have errors and the game is working. Thank you :)

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

    I just started learning python and this seems so easy because you are a wonderful teacher! I'm going to finish the course so I can do this.

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

    I think the colour values are HSV:
    Hue changed the colour but with no saturation it didn't change,
    The Hue was 0 which is usually red when you changed saturation,
    And the grey change was the Value (or Lightness)

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

    i love that you do random coloring to blocks. this need to the real minecraft too. :)

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

    Amazing! I finished the entire program! God bless you and god bless your channel :D

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

    Wow! So simple! Ursina is beautifully clean!

  • @eranbroide3003
    @eranbroide3003 3 года назад +36

    Names it test_Square, makes the shape a circle

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

      *im about to do whats called a pro gamer move*

  • @gligoradrian784
    @gligoradrian784 2 года назад +6

    This was beautiful.
    When I saw the title, I expected 1FPS, since PETHON SLOW.
    But now I found an awesome coding channel. Good luck!
    😁

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

      The engine probably runs off c extensions, otherwise it would be too slow

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

      @@byojuwon 🤣🤣

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

      yeah, obviously it breaks down when you're loading too many blocks, but even java minecraft has to load by chunks, I wonder if you can compile this and make it even faster

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

      @@byojuwon the core of the engine was written in c++

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

    I was looking for a fun code to do with Python. This seems dope, THANKS!!

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

    So regarding the thing at around 9:50, I don't know Ursina, so I don't know if it caches loaded textures in some way, but loading a texture from file at each call could otherwise create a new texture instance every time at runtime. For textures that are reused very often, this might have a performance impact, so unless Ursina handles this already, I would advise people to do as the video does and use one variable for the texture unless you need to make instance specific modifications.

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

    A bit late, but that color.color() probably expects HSV values, first is Hue, second is Saturation, third is Brightness

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

    100% recommend following this tutorial, the explanation is great :)

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

    You don't know how grateful I am for this video. Thank you.

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

    22:17 what I was not believing that it was so easy!!!

  • @raidedcluster
    @raidedcluster 3 года назад +26

    The only thing I know in Python: print("Hello World")

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

      @@NoobieYT You assumed that print is only in lua??

    • @йцукен5959
      @йцукен5959 3 года назад

      but here is writed(modifered):
      from ursina import *
      from f11func import *
      xlay=int(input('X plate size? '))
      zlay=int(input('Z plate size? '))
      tl=(xlay+zlay)*4
      print('Total blocks:',tl)
      ylay=int(input('Y layers? '))
      tl=tl*ylay
      print('Total blocks:',tl)
      v=input('Not flat? [1/0] ')
      input('Any enter...')
      BP = 0
      k = color
      from ursina.prefabs.first_person_controller import FirstPersonController
      class Hand(Entity):
      def __init__(self):
      super().__init__(
      parent=camera.ui,
      model='square'
      )
      class BVoxel(Button):
      def __init__(self, position=(0, 0, 0), texture='grass.png', colr=255, colg=255, colb=255, alpha=255, sc=(1,1,1), model='cube'):
      super().__init__(
      parent=scene,
      position=position,
      model=model,
      origin_y=0.5,
      texture=texture,
      color=rgb(colr,colg,colb,alpha),
      scale=sc)
      def input(self, key):
      if self.hovered:
      if key == 'left mouse down':
      voxel = BVoxel(position=self.position + mouse.normal, texture='download.png', colr=255,colg=255,colb=255,alpha=255)
      if key == 'right mouse down':
      destroy(self)
      if held_keys['z']:
      BVoxel(position=self.position + mouse.normal, texture='cg.png', colr=100,colg=100,colb=100,alpha=120)
      if held_keys['f']:
      BVoxel(position=self.position + mouse.normal, texture='fb.png', colr=255,colg=255,colb=255,alpha=255)
      if held_keys['x']:
      BVoxel(position=self.position + mouse.normal, texture='glowium.png', colr=random.randint(0,255),colg=random.randint(0,255),colb=random.randint(0,255),alpha=255)
      if held_keys['c']:
      BVoxel(position=self.position + mouse.normal, texture='grass.png', colr=random.randint(0, 200),
      colg=255, colb=random.randint(0, 200), alpha=255)
      if held_keys['v']:
      BVoxel(position=self.position + mouse.normal, texture='brick.png', colr=255,colg=255,colb=255,alpha=255)
      if held_keys['q']:
      app.saveCubeMap('ss32_#.png', 0)
      app.save_cube_map()
      app.saveSphereMap('ss32_#.jpg', 0)
      app.save_sphere_map()
      if held_keys['e']:
      app.loader()
      app = Ursina(
      )
      for z in range(-zlay, zlay):
      for x in range(-xlay, xlay):
      for y in range(0,ylay):
      if v=='1':
      if y==0:
      grs = BVoxel(position=(x, y+random.uniform(0.6, 0.9), z), texture='grass.png')
      if y >= 0:
      stn = BVoxel(position=(x, y-(ylay-0.8), z), texture='download.png')
      if v!='1':
      if y == 0 or y == 1:
      grs = BVoxel(position=(x, y, z), texture='grass.png')
      if y >= 1:
      stn = BVoxel(position=(x, y-(ylay-1), z), texture='download.png')
      player = FirstPersonController()
      app.run()

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

      I know a lot of Python.

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

    DUDE you are amazing

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

    This is awesome!
    I love it when it works!

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

    Nice game pragz

  • @Uroboros303
    @Uroboros303 3 года назад +6

    Python is an easy language, I almost learned it

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

      You almost learnt it? What does it mean ?

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

    This is probably the best tutorial you will get online

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

    Thank you so much for this tutorial!
    Ursina and Panda3d has so much potential!

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

    Please do more ursina tutorials

  • @kavyaagrawal2013
    @kavyaagrawal2013 3 года назад +11

    test square = *C I R C L E*
    Ah yes, this is my jam.

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

    I'm definitely using ursina for all of my python game projects from now on.

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

    I like your voice, the way you make the tutorial going step by step, liked and subscribed, really looking forward to your channel :)

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

    This is a good video. Only one thing I am still confused about-Where can the assets/block be downloaded?

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

      in the description of the video he has the project files, click there

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

      Yes that’s the problem! How to download??!!

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

      Did anyone got the solution of this problem

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

    Are you going to do a part 2? I'd really like to see how can we do inventory, main menu, and most importantly the chunk system work.

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

      The way he did the blocks is really weird ,its not like minecraft where its made via the code instead its a .obj which can lag if you make it infinite and via chunks.

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

      @@morewinxdoesplaygames2074 i didnt understand how he made block textures on each side. if it's not a problem for you, can you explain it?

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

      @@bigsyxthy9603 ikr, but still, it would be nice if it works in some way.

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

      The chunk system is pretty simple, just load/unload voxels depending on the player's position, and save the world chunks in a variable or file

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

      @@archlinus5066 nice idea!

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

    Finally someone shedding more light to ursina

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

    This is something interesting I have watched. good job man love it ✨.

  • @Deadshot-sq5pc
    @Deadshot-sq5pc 3 года назад +9

    Can you pls do a tutorial series on this and how to make 3d games with it and also a series on how to expand this game and make a inventory and all that kinda stuff

    • @origin-panda5439
      @origin-panda5439 3 года назад

      how would you make the mouse visible for the inventory?

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

      There is a tutorial on making an inventory on the official ursina engine site : www.ursinaengine.org/inventory_tutorial.html

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

      @@origin-panda5439 I guess you would have to make your own first-person controller, or use the pause function in Ursina to pause the game

    • @origin-panda5439
      @origin-panda5439 3 года назад

      @@ohtych1004 I tried, but I couldn't get it to resume. I think it wouldn't detect my keypress after paused but maybe I'm just stupid

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

      @@origin-panda5439 you could put the update function and everything in an if or while statement, so:
      if resume == True:
      # game code, update, and everything in here
      else:
      # Inventory code
      I tried that but something weird happens, where the color.red or color.blue thing stops working somehow, but if you color it inside of blender then it should work fine.

  • @simonwinther1285
    @simonwinther1285 3 года назад +18

    LOL. I did this in one line of code:
    from minecraft import game
    It is python at the end of the day, you know :P

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

      I was like Wait- hold up when I read your comment xd

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

      @@JupiterVortex hahaha 😄😄

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

      I remember seeing that, "Minecraft in 5 seconds" lol.

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

      and minecraft turns out to be a C library :P

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

      @@grimm5751 Exactly
      *MISSION FAILED SUCCESSFULLY*

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

    yo bro u explain this so nicely tbh u r very underrated

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

    i swear this is the best tutorial i have ever seen

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

    Can someone please explain why RUclips keeps recommending me new Game Dev Engines? First Unity, then Godot, then Unreal, now Ursina. What's next, Samsung Smart Fridge?!
    Great video, though!

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

      Man i hope the Samsung Smart Fridge is gonna be a good game engine.

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

      @@fwoompdotexe5225 lmao

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

    But does it have ray tracing.

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

      Just use RayTracingMode = on
      ¿
      Just kidding but who knows, you have to know advanced maths to make raytracing

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

    Really love the engine and your videos

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

    Incredible!! this was so didacted, so cool man
    tnx from Mexico, it was funny to practice in this way

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

    Alternate title : how to impress an gamer girl

    • @04F
      @04F 3 года назад

      Code goes brrrrr

  • @HYKANTUS
    @HYKANTUS 3 года назад +8

    ...I just searched up how to make Minecraft in python as a joke...

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

      And I searched for how to make mortal combat 11 in Idea

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

    Wooow. As game developer i didn't know about python engine like this.. wow man thank you very much for this powerful engine 😊 you made my day

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

    A really great tutorial and very nice explained!!!

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

    Now Lets Create A square Named ..... *SANS*
    me: *CONFUSED SCREAMING*

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

    Fun fact: Minecraft python edition actually exist.

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

    Congrats on 10K man! I had subbed when you had like 300 subs lol :)

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

    Tips if you want to expand this:
    -implement chunks
    -after chunk implementation, add infinite world
    -give blocks tags, for example, what sound is played when you punch them
    -show what item is selected
    -implement transparent blocks
    -the basic ui stuff. Pause and settings menu, Inventory slots f.e.

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

      Then..
      -add naturally spawning structures
      -add mobs
      -add the nether
      -add the end
      -add more bloks

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

    You are the Brackeys of python, love it !

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

    28:00 it is hue, saturation, brightness. Hue is an angle on the color wheel, saturation is percent of that color instead of white, and brightness is a final multiplier. Black is (h,s,0), grey and white are (x,0,brightness), and for any kind of pink or red you use (0,x,1)

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

    Wow this makes 3d so easy! Will definitely have to check it out.

  • @user-qh5qo2tr7l
    @user-qh5qo2tr7l 3 года назад

    Thanks you, man. Its amazing tutorial! You make big work.

  • @Potato-ff9ms
    @Potato-ff9ms 3 года назад

    didnt expect a ursina tutorial, but wow thanks i learned unrisa now and i think its better than pygame, you got a new subscriber

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

    its one of my favorite explicative video in youtube

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

    Appreciate your hardwork man

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

    Great Tutorial. Thank you for sharing. It works for me on Linux and Windows.

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

    This texture pack looks cool!

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

    27:21 it's probably HSV or HSL so changing the first value doesn't do anything unless it's saturated; which also explains the last value controlling it's greyness

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

    Thank you! This has been an amazing video!

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

    Nice work! So easy to follow!

  • @NoahCraftYT.
    @NoahCraftYT. 2 года назад

    This is so cool i'm impressed

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

    Really clear code + tutorial 💪

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

    This is a great gamedev tutorial

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

    It's crazy how this engine is so simple and intuitive

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

      pls help I am not able to get the grass block

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

    Nice, congrats for finish result

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

    Awesome! Works perfectly! Thank you :)