Creating Minecraft in Python [with the Ursina Engine]

  Рет қаралды 1,754,249

Clear Code

Clear Code

Күн бұрын

Пікірлер: 1 800
@mixlaproduction
@mixlaproduction 4 жыл бұрын
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 4 жыл бұрын
It's not C, it's Python
@_alfie_phillips_2058
@_alfie_phillips_2058 4 жыл бұрын
@@LtdJorge He wasn’t referring to the programming language C, the youtubers name begins with C
@hrushikeshkale68
@hrushikeshkale68 4 жыл бұрын
@@_alfie_phillips_2058 understand the code
@sangramjitchakraborty7845
@sangramjitchakraborty7845 4 жыл бұрын
@@_alfie_phillips_2058 yes. That's the joke.
@JupiterVortex
@JupiterVortex 4 жыл бұрын
@@LtdJorge C is the first letter of this channel name..
@LoganMeyers03
@LoganMeyers03 4 жыл бұрын
Dear KZbin 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!
@IunahYT
@IunahYT 3 жыл бұрын
69 likes 😎
@LoganMeyers03
@LoganMeyers03 3 жыл бұрын
@@IunahYT lol yea
@kremlinbasement7768
@kremlinbasement7768 3 жыл бұрын
69: 💩📉 Stack and 5: 😀📈
@ShiroCh_ID
@ShiroCh_ID 3 жыл бұрын
agreed here
@tariqs.111
@tariqs.111 3 жыл бұрын
Yeah KZbin has some great, high quality content, it just takes some time to find it
@potayto2271
@potayto2271 4 жыл бұрын
This channel is criminally underrated
@pizzapie2071
@pizzapie2071 4 жыл бұрын
For real god
@yusufnusrat
@yusufnusrat 4 жыл бұрын
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 4 жыл бұрын
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.
@china0018
@china0018 3 жыл бұрын
"Mom can I buy minecraft?" "No" "Fine. I'll do it myself."
@mehakbrar3944
@mehakbrar3944 3 жыл бұрын
Lmao 🤣 🤣
@parthacodes5893
@parthacodes5893 3 жыл бұрын
Right I have might mine carft without money I was a hacker front before only
@limeedhot
@limeedhot 3 жыл бұрын
@@parthacodes5893 ur grammar is so good im proud of you
@funwithalbi2425
@funwithalbi2425 3 жыл бұрын
why would you ask someone if you can buy something with YOUR money
@funwithalbi2425
@funwithalbi2425 3 жыл бұрын
@@parthacodes5893 you don’t know how hacking is really. i know cyber security
@mkglory2410
@mkglory2410 4 жыл бұрын
my snake game project had 250+lines, and he created a "minecraft" in 90 lines, well life aint easy.
@akgang602
@akgang602 4 жыл бұрын
🤣🤣 Lamao
@LtdJorge
@LtdJorge 4 жыл бұрын
Using an engine tho
@sauliustb
@sauliustb 4 жыл бұрын
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 4 жыл бұрын
@@sauliustb Agree with you on the first part, not sure if i do on the last though.
@mariocamspam72
@mariocamspam72 3 жыл бұрын
in python 250 or 90 lines can be the exact same speed because interpreter (and by exact same speed i mean very slow)
@MrWinotu
@MrWinotu 2 жыл бұрын
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.
@Concon-bu4bp
@Concon-bu4bp 3 жыл бұрын
This is by far the coolest thing ive seen in coding so far. Especially with how simple it is
@LeonTVRyt
@LeonTVRyt 2 жыл бұрын
I've*
@alzeay204
@alzeay204 3 жыл бұрын
Making Minecraft... Him: 'So lets first begin with a circle' Me: *visible confusion*
@skindedream9293
@skindedream9293 3 жыл бұрын
**confused screaming**
@GelleSzebasztian
@GelleSzebasztian 3 жыл бұрын
So let's make a square.. Let's type uhm.. Circle! Then a circle is drawn on the screen!
@Cynadyde
@Cynadyde 3 жыл бұрын
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 жыл бұрын
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!
@pauliuscernius5820
@pauliuscernius5820 4 жыл бұрын
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!
@i_am_Vengence
@i_am_Vengence 3 жыл бұрын
yeah me too a bit basic
@samehoodie
@samehoodie 3 жыл бұрын
*starts coding Minecraft from a circle* Mojang: "Understandable, have a good day."
@parthgupta4850
@parthgupta4850 4 жыл бұрын
Sir this is the only video to make Minecraft with python, this video will get million views, I can bet.
@sanderdrack
@sanderdrack 4 жыл бұрын
You bet wrong at least for now
@parthgupta4850
@parthgupta4850 4 жыл бұрын
@@sanderdrack yes but only for now
@zyugyzarc
@zyugyzarc 3 жыл бұрын
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 жыл бұрын
@@zyugyzarc yeah
@ionrael
@ionrael 3 жыл бұрын
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
@kavinbharathi
@kavinbharathi 4 жыл бұрын
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...
@nightfallalicorn4246
@nightfallalicorn4246 Жыл бұрын
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.
@beatpapes
@beatpapes 4 жыл бұрын
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!
@IsaacWilsonIsaac
@IsaacWilsonIsaac 3 жыл бұрын
About 8 years ago, there was a guy named fogleman made a Minecraft “clone” in python with the pyglet library.
@SateLight
@SateLight 3 жыл бұрын
A very nice tutorial! I never thought you can make a 3D game so simple in Python using Ursina
@Shadow-sc8tn
@Shadow-sc8tn 4 жыл бұрын
I‘ve learned flappy bird, snake game, GTA2 car in this channel, and now I'm learning create 3d objects in python !
@MichaelJaikaran
@MichaelJaikaran 3 жыл бұрын
I really apprecaite your tutorials. Often creators make a tutorial and don't explain what the key functions do. This was so helpful.
@gondola3465
@gondola3465 4 жыл бұрын
Luv how this video is both a tutorial and a demonstration for ursina
@Ziad_Agamy
@Ziad_Agamy 3 жыл бұрын
Minecraft java edition: ❌ Minecraft python edition: ✅
@ionrael
@ionrael 3 жыл бұрын
*LAG INTENSIFIES*
@blylzz
@blylzz 3 жыл бұрын
🤣🤣
@eliewilhelm
@eliewilhelm 3 жыл бұрын
Well... there is Minecraft Pi.
@JayRain
@JayRain 3 жыл бұрын
how 2 get 3 FPS on good GPU's simulator
@kaan732
@kaan732 3 жыл бұрын
Minecraft pi edition is that
@akshayc4145
@akshayc4145 4 жыл бұрын
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..
@AntonioLatronicoDeveloper
@AntonioLatronicoDeveloper 3 жыл бұрын
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!
@benaissadjer5599
@benaissadjer5599 4 жыл бұрын
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
@aymancassim8944
@aymancassim8944 3 жыл бұрын
Is it me or this man's voice makes you wanna stay and learn? Great vid man!
@samixpunch9678
@samixpunch9678 4 жыл бұрын
I am so glad I found this channel I learned a lot of stuff from it. I hope you make another ursina tutorial
@AleksanderFimreite
@AleksanderFimreite 3 жыл бұрын
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
@kahwigulum
@kahwigulum 2 жыл бұрын
Ursina comes with it's own sky function. Sky() does everything you have here without having to create a custom class for it.
@KweenAhlem
@KweenAhlem 3 жыл бұрын
please do more video on the Ursina Game Engine pleaaaase
@balaji.n7819
@balaji.n7819 3 жыл бұрын
yeah ursina is better than pygame...
@sarthakarora2897
@sarthakarora2897 3 жыл бұрын
@@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 жыл бұрын
@@sarthakarora2897 yep
@DroidZed
@DroidZed 4 жыл бұрын
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 жыл бұрын
Hey, Do you know how to get the 'assets/block' file? I dont see it on the github
@supansup
@supansup 3 жыл бұрын
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 3 жыл бұрын
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 Жыл бұрын
@@supansup actually the block file is Grass_block.blend
@sedeyoung
@sedeyoung Жыл бұрын
I’d love to show my support for these videos. Thank you for this amazing, engaging, and informative content!!
@whoami6107
@whoami6107 3 жыл бұрын
Finally someone shedding more light to ursina
@espio3364
@espio3364 3 жыл бұрын
That Block Placing and Destroying Sound is really satisfying for some reason
@RohanKumar-zd3pc
@RohanKumar-zd3pc 4 жыл бұрын
NO WAY i didnt knew we can create anything 3d in Python
@ruchi727
@ruchi727 4 жыл бұрын
yah!
@safi3968
@safi3968 4 жыл бұрын
Ever heard of Opengl binding? There is opengl binding for almost every language.
@pixeltochi4961
@pixeltochi4961 4 жыл бұрын
@@safi3968 People judge a programming language on how it looks and how popular is it sadly :(
@grimm5751
@grimm5751 4 жыл бұрын
You can basically create anything in Python, albeit it's a bad idea to.
@pixeltochi4961
@pixeltochi4961 4 жыл бұрын
@@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.
@pack1206
@pack1206 3 жыл бұрын
Amazing! I finished the entire program! God bless you and god bless your channel :D
@simon_aviation
@simon_aviation 2 жыл бұрын
To everyone, who doesn't know how to close ursina: app = Ursina() def input(key): if key == "escape": quit() put that in you code and press esc in the game
@zandgall1837
@zandgall1837 3 жыл бұрын
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
@uncannypronkstudios
@uncannypronkstudios 4 жыл бұрын
Ursina looks more like an advanced version of turtle
@abualasif
@abualasif 4 жыл бұрын
what did he sayyyyyyy
@seamuskills
@seamuskills 4 жыл бұрын
accept turtle isnt a game engine
@primalaspid7197
@primalaspid7197 4 жыл бұрын
😂😂
@apurvakumardani172
@apurvakumardani172 3 жыл бұрын
It is a child version of panda3d
@hacker64xfn99
@hacker64xfn99 3 жыл бұрын
@@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
@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
@seven.v5
@seven.v5 3 жыл бұрын
Me: Mom, can we get Minecraft? Mom: We have Minecraft at home. Minecraft at Home:
@shelby255
@shelby255 3 жыл бұрын
Hahahhaha funny omg comedy 100
@seven.v5
@seven.v5 3 жыл бұрын
@@shelby255 :)
@Hypcronite
@Hypcronite 3 жыл бұрын
Me: Mom, can we get Minecraft? Mom: Yeah, sure. Minecraft at the store:
@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 :)
@shrick69
@shrick69 3 жыл бұрын
i love that you do random coloring to blocks. this need to the real minecraft too. :)
@ghosthitthose8681
@ghosthitthose8681 3 жыл бұрын
This is probably the best tutorial you will get online
@ZenoDovahkiin
@ZenoDovahkiin 4 жыл бұрын
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.
@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! :)
@jac278
@jac278 3 жыл бұрын
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)
@gligoradrian784
@gligoradrian784 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
@@byojuwon the core of the engine was written in c++
@leya73
@leya73 3 жыл бұрын
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.
@nostalgia5031
@nostalgia5031 4 жыл бұрын
HOLY I DIDN'T REALIZE THAT URSINA WAS THIS POWERFUL :O
@sinistergeek
@sinistergeek 4 жыл бұрын
same here!! I realized it rn!!hahaa
@mlgsupergamer948
@mlgsupergamer948 3 жыл бұрын
ITS OVER 9000!!!!!!!!!!!!!!!!
@ikryxxdev4756
@ikryxxdev4756 3 жыл бұрын
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 3 жыл бұрын
Then.. -add naturally spawning structures -add mobs -add the nether -add the end -add more bloks
@HomeofLawboy
@HomeofLawboy 4 жыл бұрын
A bit late, but that color.color() probably expects HSV values, first is Hue, second is Saturation, third is Brightness
@valentinewiggin9705
@valentinewiggin9705 3 жыл бұрын
100% recommend following this tutorial, the explanation is great :)
@parthgupta4850
@parthgupta4850 4 жыл бұрын
22:17 what I was not believing that it was so easy!!!
@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)
@eranbroide3003
@eranbroide3003 4 жыл бұрын
Names it test_Square, makes the shape a circle
@aw1lt
@aw1lt 4 жыл бұрын
*im about to do whats called a pro gamer move*
@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
@Deadshot-sq5pc
@Deadshot-sq5pc 4 жыл бұрын
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 4 жыл бұрын
how would you make the mouse visible for the inventory?
@DiamondsBattle
@DiamondsBattle 4 жыл бұрын
There is a tutorial on making an inventory on the official ursina engine site : www.ursinaengine.org/inventory_tutorial.html
@ohtych1004
@ohtych1004 4 жыл бұрын
@@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 4 жыл бұрын
@@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 4 жыл бұрын
@@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.
@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 :)
@insertcoolnamehere7168
@insertcoolnamehere7168 4 жыл бұрын
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 4 жыл бұрын
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 4 жыл бұрын
@@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 4 жыл бұрын
@@bigsyxthy9603 ikr, but still, it would be nice if it works in some way.
@archlinus5066
@archlinus5066 4 жыл бұрын
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 4 жыл бұрын
@@archlinus5066 nice idea!
@1_and_only_Crjase
@1_and_only_Crjase 3 жыл бұрын
You don't know how grateful I am for this video. Thank you.
@raidedcluster
@raidedcluster 3 жыл бұрын
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.
@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
@Uroboros303
@Uroboros303 3 жыл бұрын
Python is an easy language, I almost learned it
@jakubfrei3757
@jakubfrei3757 3 жыл бұрын
You almost learnt it? What does it mean ?
@TheSnsdgood
@TheSnsdgood 3 жыл бұрын
i swear this is the best tutorial i have ever seen
@mirohn8917
@mirohn8917 3 жыл бұрын
This is a good video. Only one thing I am still confused about-Where can the assets/block be downloaded?
@kebbikins1684
@kebbikins1684 3 жыл бұрын
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
@Flashisgreatfr
@Flashisgreatfr 2 жыл бұрын
yo bro u explain this so nicely tbh u r very underrated
@simonwinther1285
@simonwinther1285 4 жыл бұрын
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 4 жыл бұрын
I was like Wait- hold up when I read your comment xd
@simonwinther1285
@simonwinther1285 4 жыл бұрын
@@JupiterVortex hahaha 😄😄
@nostalgia5031
@nostalgia5031 4 жыл бұрын
I remember seeing that, "Minecraft in 5 seconds" lol.
@grimm5751
@grimm5751 4 жыл бұрын
and minecraft turns out to be a C library :P
@JupiterVortex
@JupiterVortex 4 жыл бұрын
@@grimm5751 Exactly *MISSION FAILED SUCCESSFULLY*
@ProEpicGuya76c007
@ProEpicGuya76c007 4 жыл бұрын
DUDE you are amazing
@dhyanvyas6219
@dhyanvyas6219 3 жыл бұрын
Nice game pragz
@Aieou472
@Aieou472 2 жыл бұрын
I'm definitely using ursina for all of my python game projects from now on.
@kavyaagrawal2013
@kavyaagrawal2013 3 жыл бұрын
Can someone please explain why KZbin 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 жыл бұрын
Man i hope the Samsung Smart Fridge is gonna be a good game engine.
@kavyaagrawal2013
@kavyaagrawal2013 3 жыл бұрын
@@fwoompdotexe5225 lmao
@fentables
@fentables 3 жыл бұрын
hippity hoppity, your code is now *presses ctrl+v* my property!
@kavyaagrawal2013
@kavyaagrawal2013 3 жыл бұрын
test square = *C I R C L E* Ah yes, this is my jam.
@DJStompZone
@DJStompZone 3 жыл бұрын
In regards to the thing with `Button()` requiring `parent=scene` while `Entity()` doesn't, here's a fun fact! The `scene` parent attribute tells an entity that it lives in 3d space, `Entity` just happens to have `scene` as the default value for `parent`. Here's the fun part: `scene` isn't the only available parent! Whether you're instantiating an Entity or a Button, you can pass `parent=camera.ui` instead to use 2D (UI) space! Buttons are more commonly used in this way, which is why the constructor leaves it up to you to specify which parent to use (but Entity's doesn't). For the record: I learned about ursina from this video, earlier today, so I've gotta say... Definitely 6/5 stars for the good tip and great tutorial! +subscribed
@HYKANTUS
@HYKANTUS 3 жыл бұрын
...I just searched up how to make Minecraft in python as a joke...
@vedasharma2634
@vedasharma2634 3 жыл бұрын
And I searched for how to make mortal combat 11 in Idea
@prashantsrivastav3172
@prashantsrivastav3172 3 жыл бұрын
After seeing all the comments I guess this could be transformed into a series of videos in which u can develop this to be a very nice game :) Hats off to your work... keep coding :)
@ClearCode
@ClearCode 3 жыл бұрын
It is going to be!
@prashantsrivastav3172
@prashantsrivastav3172 3 жыл бұрын
@@ClearCode Hella excited!! 🤩🤩
@shivankitss8396
@shivankitss8396 4 жыл бұрын
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
@optimisticenigma283
@optimisticenigma283 3 жыл бұрын
I was looking for a fun code to do with Python. This seems dope, THANKS!!
@bwiebertram
@bwiebertram 3 жыл бұрын
So you just recreated minecraft bedrock ?
@kodd10
@kodd10 3 жыл бұрын
Wow! So simple! Ursina is beautifully clean!
@secretunknown2782
@secretunknown2782 3 жыл бұрын
Alternate title : how to impress an gamer girl
@04F
@04F 3 жыл бұрын
Code goes brrrrr
@MrCalf18
@MrCalf18 3 жыл бұрын
Incredible!! this was so didacted, so cool man tnx from Mexico, it was funny to practice in this way
@scaffus
@scaffus 3 жыл бұрын
You are the Brackeys of python, love it !
@justinhair7268
@justinhair7268 3 жыл бұрын
This is awesome! I love it when it works!
@OrangeDied
@OrangeDied 3 жыл бұрын
Just learned Python basics and was like "Damn, what do I do now?" and this came in my recommended. Its about time I learn an actual skill that's useful, ha.
@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
@narikoshi4377
@narikoshi4377 2 жыл бұрын
its one of my favorite explicative video in youtube
@Lestro
@Lestro 2 жыл бұрын
This is something interesting I have watched. good job man love it ✨.
@leobozkir5425
@leobozkir5425 3 жыл бұрын
Congrats on 10K man! I had subbed when you had like 300 subs lol :)
@SkyFly19853
@SkyFly19853 3 жыл бұрын
Thank you so much for this tutorial! Ursina and Panda3d has so much potential!
@zyugyzarc
@zyugyzarc 3 жыл бұрын
27:25 those argunents seem like the HSL or HSV color parameters, which is quite unusual to the typical RGB everything else uses but HSV/HSL/HSB is pretty good too the color (0, 0, random(0.9, 1)) gives a color with 0% hue (red), 0% saturation (the hue is ignored here) , and a random of 90% to 100% of brightness.
@kalashshah1049
@kalashshah1049 3 жыл бұрын
A really great tutorial and very nice explained!!!
@MuhammadAli-eb2tk
@MuhammadAli-eb2tk 3 жыл бұрын
YOU DESERVE WAYYYYYY MORE SUBS DUDE
@blaster6984
@blaster6984 3 жыл бұрын
Appreciate your hardwork man
@shourya9998
@shourya9998 4 жыл бұрын
This channel deserves more subs!
@shivershajj7044
@shivershajj7044 3 жыл бұрын
Note regarding the color.color(...) method call, this call takes arguements int HSV color space, first argument is basically the color, goes form 0 to 360, second is saturation,from0 to 1, third is value, from 0 to 1. If you prefer RGB or RGBA colors you can just use color.rgba(...) instead.
@cgcube7342
@cgcube7342 3 жыл бұрын
This channel is so UNDERRATED!!!😕😕😕
@IvanSedov-i7f
@IvanSedov-i7f 3 жыл бұрын
Thanks you, man. Its amazing tutorial! You make big work.
@robytoby1544
@robytoby1544 3 жыл бұрын
everybody gangsta until clear code makes minecraft in less than 100 lines
@ninilac
@ninilac 2 жыл бұрын
27:20 the color here probably uses the hsv format: hue, saturation, value. Hue dictates which color in the visible spectrum it is, saturation dictates how vibrant the color is and value dictates how dark/bright the color is
@koreanese
@koreanese 4 жыл бұрын
36:25 me watching : "dude, don't use semicololon, it's illegal" 37:19 ..and he got errors me watching : "i have told you" edit : ursina is so powerful, and thanks a lot for the tutorial christian, now i can make a simple game in 90 lines of code! Now i should subscribe your channel.
@aavalos163
@aavalos163 Жыл бұрын
Great Tutorial. Thank you for sharing. It works for me on Linux and Windows.
I made full color Minecraft in Minecraft with redstone!
5:39
ModPunchtree
Рет қаралды 116 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
I Made a 32-bit Computer Inside Terraria
15:26
From Scratch
Рет қаралды 4,2 МЛН
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,3 МЛН
Can You Beat Minecraft if the Whole World is Water?
16:07
EnderSkull
Рет қаралды 370 М.
I Made a Powerful Redstone Computer!
8:20
mattbatwings
Рет қаралды 401 М.
Making My Own Programming Language and Coding a Game in It
10:19
AstroSam
Рет қаралды 1,3 МЛН
Inside the V3 Nazi Super Gun
19:52
Blue Paw Print
Рет қаралды 1,9 МЛН
Is 8-Bit Minecraft Possible?
12:58
Inkbox
Рет қаралды 1,4 МЛН
Training an unbeatable AI in Trackmania
20:41
Yosh
Рет қаралды 15 МЛН
I made maps that show time instead of space
10:44
Václav Volhejn
Рет қаралды 979 М.
I Created a Game Engine Just to Optimise This
4:50
Vercidium
Рет қаралды 1,2 МЛН