Minecraft clone in Python tutorial EP6: Handling inputs

preview_player
Показать описание


Further reading:

Chapters:

0:00 Intro
0:07 Capturing the mouse
0:21 Creating the camera class
0:40 Refresher on angles
1:22 Camera vectors
2:05 Creating camera object
2:15 Getting mouse motion
2:50 First person camera
3:02 Keyboard input
3:50 Getting movement angle with atan2
5:04 Moving based on angle
5:22 Résultat final
Рекомендации по теме
Комментарии
Автор

when you mentioned how to change the camera from an orbit to a first person perspective i was like "why is that? maybe he'll explain" and then i realized exactly why lol. im just a bit spoiled by game engines i guess ;P

junkeyz
Автор

Dear god that compression on the dark parts

obiwac
Автор

hi, i have a question, what i have todo if the program drops my this problem AttributeError: module 'texture_manager' has no attribute 'Texture_manager',
i coppied every thing rigth but it alwais says that

nicoosorio