#๐Ÿ”’ Trying to make a little Stream Thing and need help

66 messages ยท Page 1 of 1 (latest)

obsidian cedarBOT
#

@sonic widget

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.

sonic widget
#

im using pygames and tk

#

block data is like this:

sonic widget
# sonic widget

dont ask why i commented out deepslate redstone and deepslate emerald i didnt have the texture for it!

#

and the code is only 72 lines atm its still in work

karmic wyvern
#

What you need help on?

sonic widget
#

im tryna make the pickaxe but idk how

#

i want the pickaxe to work and be able to break block but also have physic like touch a block and fly a bit

#

im currently trying to figure it out

#

and the pickaxe texture in png dont work good

#

also i code in 2d so it isnt very good

#

there aint many blocks in it yet

karmic wyvern
#

No one here would make the practically the entire code of pickaxe for you. Do you have some more specific question that need help on?

sonic widget
#

and the generation is a mess

#

idk how i even got it to work but it works

#

some of the images load but give error

#

even if the png is there

#

tkinker is really weird

karmic wyvern
#

Are you sure it is completely correct?

sonic widget
#

i am checking the code it is defined the pic

#

let me check if the pic is in the right folder

mild mulch
#

!paste

karmic wyvern
#

I mean the filename

obsidian cedarBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

karmic wyvern
#

Are you sure it is PNG?

sonic widget
karmic wyvern
#

Do you mind go to the directory, open powershell and run ls, and send the result

sonic widget
#

oh wait

mild mulch
#

powershell

sonic widget
#

powershell

#

yep just noticed

mild mulch
#

and can you paste the error in a codeblock?

#

!code

obsidian cedarBOT
#
Formatting code on Discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

sonic widget
#

anyone can take my code if i share it right?

mild mulch
#

of course

sonic widget
#

i mean it doesnt work but i want my code to be my code

mild mulch
sonic widget
#

the code is 72 lines atm

#

not much

#

but it works

karmic wyvern
#

You don't have the two file there apparently, you need to check where you put them ๐Ÿฅด

sonic widget
#

yes bc 2 are commented out bc i couldnt find the texture

#

the texture is imposible to find on the internet

#

aka google

#

i searched for the textures couldnt find it

mild mulch
#

do you not own Minecraft?

sonic widget
#

what?

#

i did code the python game

mild mulch
#

you can just look in the files if you have the Java edition of Minecraft

#

the textures are in a folder

sonic widget
#

ik but idk what folder

mild mulch
#

pretty sure the game links to the folder

karmic wyvern
#

Nvm, way too blurry

sonic widget
#

Hello what did i just miss i went to quickly recode stuff

#

im tryna fix the code and make a pickaxe

mild mulch
#

you were gone for 1 minute??

sonic widget
#

yes but i could miss anything in that minute

mild mulch
#

you literally sent a message 3 above

obsidian cedarBOT
#
Python help channel closed using Discord native close action

This help channel has been closed. 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.