#๐Ÿ”’ how to make a block detection?

36 messages ยท Page 1 of 1 (latest)

lunar kestrel
#

https://paste.pythondiscord.com/CMZA

I dont know if this link works, but if u can review it, please do so
And if u can, PLEASE PLEASE add a block detection so that i can replace that with inputting "z" manually

Controls - leftclick(to flap)
"Z"(to toggle game_over)
If u cross or pass the window screen, youll die so goodluck ๐Ÿ˜”

odd spruceBOT
#

@lunar kestrel

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

thin seal
#

Could you start by explaining what you mean by "block detection"?

lunar kestrel
#

You have reviewed the code right?

#

So its basically flappy bird

#

Theres blocks

#

Each divided into 4 for upper and lowed

grizzled perch
#

Why use turtle?

lunar kestrel
#

Cuz my dad wont allow me to download external media

#

So i couldnt download pygame

grizzled perch
#

yikes

lunar kestrel
grizzled perch
#

That should help convince him to get you into game dev properly

lunar kestrel
#

I have told him about 3 times now ๐Ÿฅฒ
He keeps saying "theres important work files in here, i dont want viruses" typical asian dad for you

grizzled perch
#

oh... no that makes sense

#

You're using his work PC for your game dev

lunar kestrel
#

Yea

#

I made this basically in mobile

grizzled perch
#

thats impressive, ngl

lunar kestrel
#

This is how it looks to me, i need a computer so that i can adjust this to my school computer

#

Thats why i asked for a review :>

grizzled perch
#

I don't know how to do the block detection thing in turtle

lunar kestrel
#

Oh

grizzled perch
#

Its easier in Unity or Godot

lunar kestrel
#

Yea no problem

#

Uh

#

If u could

#

See if the blocks are visble or too big for the screen

#

It would help me ALOT

grave brook
#

yeah, if you have your own device, transfer the file there, and install pygame you can install pygame via import os; os.system("py -m pip install pygame")

lunar kestrel
#

I need my dads perm to put a file inside his computer, that includes python files

odd spruceBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.