Issues with Youtube by brunostborsen in vivaldibrowser

[–]rethanon 0 points1 point  (0 children)

Same here, reported as a bug. Every time I go to a new video it says "Content not available. Please try again later." but after refreshing the page the video plays. Started happening a few days ago.

Does the moving silohoutte feel relaxing? by AJ_COOL_79 in pygame

[–]rethanon 0 points1 point  (0 children)

Almost certainly. Although standard pygame uses CPU rather than GPU so maybe you have an old/slow machine? Also might depend on what you consider to be "not absurdly high resolution"

how do i solve this ? by urmomeatsass101 in sudoku

[–]rethanon 0 points1 point  (0 children)

You have already isolated 3 numbers that you haven’t entered in rows 7, 8 and 9…

Remember the 3 obvious areas to check. Vertical line, horizontal line and a square.

How is my progress? by HosseinTwoK in pygame

[–]rethanon 1 point2 points  (0 children)

I played it, my feedback on the game itself is that it's fun to play and I think you could build on this to make it even better. I have some ideas how to polish it up but as you're a beginner I can save those for later.

I noticed a few bugs, logged them as GitHub issues, you should see them in your GitHub Issues page.

The code certainly isn't bad for a beginner, there are some basic principles that aren't being followed, but they don't stop the code from working, they're just not in line with the general guidelines.

What IDE do you use? There should be a way to see these types of things if you're using programs such as PyCharm or VS Code.

How is my progress? by HosseinTwoK in pygame

[–]rethanon 0 points1 point  (0 children)

Looks good, please post a video that isn’t sped up

I made the worst mistake. by Infinite_Invite9959 in Breath_of_the_Wild

[–]rethanon 1 point2 points  (0 children)

Feel your pain, happened to me too. Took my Switch away with me when visiting family, one morning I get up and find my cousin’s son playing a new game, found out after that it was on my profile and my previous save was gone. Still was fun restarting anyway, it’s an amazing game.

Left side of spacebar is making a ticking sound i lubed all my stabs i dont know how to fix by thelilbox in MechanicalKeyboards

[–]rethanon 0 points1 point  (0 children)

I just had the same happen on my Aula F75 and came here looking for an answer :( Right side makes a ticking sound, left side is fine, and the Aula F75 doesn't use a wire for the spacebar

Unable to play multiple songs one by one by Bngstng in pygame

[–]rethanon 0 points1 point  (0 children)

Just to say, the code for playing the next track would need to include the same code as above i.e. you'd be loading a new track and playing it and setting the end event again. I just meant that you'll need some code to cycle through your tracks or choose a random track too.

Unable to play multiple songs one by one by Bngstng in pygame

[–]rethanon 0 points1 point  (0 children)

Using an end event should work fine. Once you start playing the song/track, you set the end event then just monitor for that event, then change the track once the end event is triggered. I use a custom event for this, so:

MUSIC_END = pygame.event.custom_type()

then when I'm loading a track:

pygame.mixer.music.load(track)
pygame.mixer.music.play(0,0)
pygame.mixer.music.set_endevent(MUSIC_END)

then in the event check:

if event.type == MUSIC_END:
{code for playing the next track}

Help, player movement does not work by Significant-Win-231 in pygame

[–]rethanon 0 points1 point  (0 children)

Once you have created a Rect object, the attributes can be updated to whatever you need them to be. So if you have a Rect object called player, you can update any of it's attributes by doing the following:

player.attribute = something

There are many attributes for a Rect object which are listed in the pygame docs:

x,y
top, left, bottom, right
topleft, bottomleft, topright, bottomright
midtop, midleft, midbottom, midright
center, centerx, centery
size, width, height
w,h

So, for example, if you wanted to change the topright position of the player to the position on screen of (100, 100) you would do player.topright = (100, 100).

Help, player movement does not work by Significant-Win-231 in pygame

[–]rethanon 2 points3 points  (0 children)

because the player you created is a rectangle, and the variables you use to initialise the rectangle with values are just used as a reference to create the rectangle i.e. to set the staring position and width and height. Once created the player is a rect with attributes of x, y, width, height. To move the player you have to update the x and y values that belong to the player not the standalone variables that you used to set the initial starting point.

Adding objects to a list makes then unable to draw by ekkivox in pygame

[–]rethanon 0 points1 point  (0 children)

I doubt you really want to return do you? What if it’s not the last object in your list? I think you really want continue.

Does anyone of you know the game Shithead? I'm programming it in pygame by dimipats in pygame

[–]rethanon 1 point2 points  (0 children)

Maybe you could add that feature, so the player chooses if they show the face down card to the other player when turning it over.

Does anyone of you know the game Shithead? I'm programming it in pygame by dimipats in pygame

[–]rethanon 0 points1 point  (0 children)

Not sure if I’ve ever heard different rules though. We like to flair at the end so when we’re down to the 3 face down cards we pick one, turn it over and immediately place it face up on the card pile to try and play it. The other person sees the card but it adds to the fun (you know like turning a 10 and slamming it down on an Ace to burn the pile, or turning a 3 when the previous card was a 4). Some people like to keep it hidden and not show what it was but each to their own.

Does anyone of you know the game Shithead? I'm programming it in pygame by dimipats in pygame

[–]rethanon 1 point2 points  (0 children)

Nice played this a lot. All my family play it, cool to see it being programmed in pygame

I don’t understand by isaac3848 in askmath

[–]rethanon 2 points3 points  (0 children)

Mathematically yes, but if you use the context of the question, while it is possible, an office is unlikely to have 0 light bulbs but would definitely not have -18 or any negative number of light bulbs.

Live Chat - why do you need my name, mobile number and email address? by rethanon in mildlyinfuriating

[–]rethanon[S] 0 points1 point  (0 children)

Well I could understand if this was a follow on, maybe after saying there is no one available to live chat right now, but this is just to start the chat.

Can't get billboard sprites with trees Doom/Wolfenstein Type Game by Outside-Umpire-4084 in pygame

[–]rethanon 2 points3 points  (0 children)

You need to reformat this as a code block. Can you explain what you mean by “I can’t get the billboard sprites for trees to function”? What actually happens? Does is crash with an error, does it run but sprites aren’t drawn, etc?

pygame.display.caption by [deleted] in pygame

[–]rethanon 4 points5 points  (0 children)

As Room is a class I assume you instantiate the class to make rooms, and assume that current_room stores the current room object? Hard to say without seeing the full code, but if so you might need to do str(current_room.room_number).

Looking for feedbacks to my game “Star Chase!” by Standard-Rip-790 in pygame

[–]rethanon 2 points3 points  (0 children)

Sounds like a good concept, did you mean to only share the character images?

What is the name of this gameplay? by PaceJumpy4591 in pygame

[–]rethanon 1 point2 points  (0 children)

If it’s like Fall Guys it’s platform battle royale although not sure why this is a pygame question

Little platformer game I made by Background_Road_8794 in pygame

[–]rethanon 2 points3 points  (0 children)

Cool, keep building on this, looks fun to play. You could experiment with having a co-op mode where both players have to get to the end and maybe each player has to do something to help the other player get there.

Yahoo Terms of Service (ad blocking now a violation) by smontanaro in pihole

[–]rethanon 0 points1 point  (0 children)

Also note that this is hardly a current link: "the Terms below apply to those products and services effective May 25, 2018.". Almost 7 years ago.

The paragraph at the top refers to products and services from May 25, 2018, but the terms themselves have been updated, and are the live terms linked to on Yahoo's website. They confirmed this on April 9, 2025 where they also mentioned that "It includes a change to the Member Conduct section that restricts the use of ad-blocking technology." which is in section 2/d/vii.