Let's try a FlyingBird MicroPython game on PicoDisplay and Pi Pico #micropython #pipico

preview_player
Показать описание
Again working on the new things we have learnt, lets try a better graphic for a game and write something maybe a little more familiar.

The inefficiency of drawing the bird here bothers me. I will try and find a better, faster way to do this in a later video if I can work this out.

Links (not sponsored / affiliate)

Pimoroni PicoDisplay:

Raspberry Pi Pico:
Рекомендации по теме
Комментарии
Автор

Quite interesting project! Thanks for that. Can't wait to receive my pico & its display!
Side note, purely about Python: There is a lot of code that would probably be better inside the classes themselves (inside Bird and Pillar for instance), like you should leave them the burden to initialize themselves, calculate their position, check whether they've collided, etc. It makes updating the code much more easy.Like if you were to space the pillars differently when the game advances, or make the openings smaller, or make variations (like pillars that are attached only on one side), there is way less code to update this way. (I know, it's not exactly a video about Python or even MicroPython. Take the advice if you want it, leave it otherwise)

briceparent
Автор

hi can i use this as a tutorial for my own game on here

Aceplanes
Автор

Can you explain what you meant by 'gravity' in the original game? I have an idea what you mean but a brief explanation would be appreciated.

gartmorn
Автор

Your work is awsome :) I have off topic question. If I hit that "Run cureent script" (green arrow) everthing work perfect, but onece i unpluged it and pluged power back on, it wont run program by itself, is there any posible wat to do that some easy way? Thanks

krejcadaniel
Автор

You've probably noticed by now, but your reset needs to also set score to 0 again

StephanLiebenberg
visit shbcf.ru