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 Наука
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).
I can definitely do that!, I think because I have a large monitor, I kinda forget that most people are probably watching on laptops
I followed the video and the code works perfectly
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.
Nice vid, but I have one request, please zoom in while you are coding
You can do ctrl and scrool your mouse yo zoom In
@@parthacodes5893 that won't really increase the size of the text that I see
thank you bro for this tutorial
My pleasure
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.
how do you get the first pdf in the begining, can u show it to me?:)
i have an error and idk why this "if hit_info.entity in bricks:
TypeError: argument of type 'Entity' is not iterable"
where link?
Any plans to post the code ? Looks good but I'm having trouble reading it
Give me a couple days. I should be able to it this weekend
@@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.
Now it is more than 1 year and we see no code. In my opinion, videos without links to code are nearly useless.
Is it possible to upload games made with ursina on steam?
i think so, you have to just make the .py file into an .exe file if you are on windows
@@heythere1623 Pretty sure you are right, but I don't yet know of any Ursina games on Steam
why i can´t use time.dt and why isn´t info about?
Bro I have an error in vs code it's like:-
Know pipe type :
WglGraphicsPipe
(3 aux display module not yet loaded)
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)
As of me seeing this, it has exactly 9,000 views.
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
I am not sure, maybe you imported time and this is contradicting with the time function that is built into Ursina?
@@SanjinDedic I only imported "from Ursina import*"
@@jabberbinkibria7688 I get that error too, but I can still run the program. (I use PyCharm for an IDE)
@@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
@@SanjinDedic i´m not imported time
okay let me do u a favour :-) u seem to have forgotten to code and rather learned to copy
I look forward to seeing your tutorial :)