Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: What reason have you quit a job?
Post: RE: What reason have you quit a job?

I've quit before because a game was released and I don't have PTO and want play it for a week straight. I've quit my one job because I wanted to play Zelda breath of the wild. I quit another because o...
metulburr Bar 11 1,741 May-08-2022, 08:55 PM
    Thread: question about my pygame code for space shooter
Post: RE: question about my pygame code for space shoote...

There are no parentheses on QUIT
metulburr Game Development 4 610 Feb-07-2022, 03:55 AM
    Thread: breakout clone pygame
Post: RE: breakout clone pygame

Please post code in code tags instead of uploading an attachment. It makes it a pain to view in a phone Your traceback shows that lives is not an int as expected.Your move method returns an int only ...
metulburr Game Development 2 521 Feb-06-2022, 10:22 AM
    Thread: My game's code works but Python still freezes at random intervals.
Post: RE: My game's code works but Python still freezes ...

Glad you fixed it. You made it farther than some who assume python is too slow and switches languages before realizing their mistake. I'm sure they are out there now doing the same bottlenecks in C++ ...
metulburr Game Development 13 1,960 Dec-09-2021, 11:23 AM
    Thread: beginner needs PyGame advice
Post: RE: beginner needs PyGame advice

You can change pythons installation directory when you install python. Within python sub directories lies a location for 3rd party libraries such as pygame. I forgot the path in windows as I use Linu...
metulburr General Coding Help 4 787 Dec-04-2021, 01:51 AM
    Thread: beginner needs PyGame advice
Post: RE: beginner needs PyGame advice

The only thing you need to know is how to invoke pip. You do this from the system command prompt, not the python prompt. Python prompt will have >>>.pip will do the rest, find pygame, downloa...
metulburr General Coding Help 4 787 Dec-03-2021, 10:12 PM
    Thread: explosion-animation
Post: RE: explosion-animation

Thanks. I created those tutorials because I saw a lot of pygame tutorials were providing bad coding habits (multiple game loops, not using classes and file structure to organize, etc.) I wish I create...
metulburr Game Development 5 1,176 Dec-01-2021, 11:19 AM
    Thread: explosion-animation
Post: RE: explosion-animation

Its been an a couple years since i have programmed at all. So take my current advice with a grain of salt as it could be off. If i remember correctly...Sprite groups "basically" just automate the upd...
metulburr Game Development 5 1,176 Dec-01-2021, 01:10 AM
    Thread: My game's code works but Python still freezes at random intervals.
Post: RE: My game's code works but Python still freezes ...

You really should use github so people can run the code without having to downloaded every single file. as well as have access to the images. [email protected]:~/testing$ python3 pepe_pong.py pyga...
metulburr Game Development 13 1,960 Nov-25-2021, 02:33 PM
    Thread: How to make enemy chase me in pygame?
Post: RE: How to make enemy chase me in pygame?

Take a look at this code for pathfinding https://github.com/Mekire/find-a-way-astar-pathfinding
metulburr Game Development 3 1,096 Nov-22-2021, 10:30 PM
    Thread: Can't convert integer values to float values for Pong
Post: RE: Can't convert integer values to float values f...

True position added to velocity plus speed equals the new true position of the ball Here is my ball class in a pong game I made as an example. In one phase of the game, there are ghost balls which s...
metulburr Game Development 1 632 Nov-18-2021, 11:21 AM
    Thread: Components not working in my Game
Post: RE: Components not working in my Game

I would highly advise the use of classes for your sanity and ours.
metulburr Game Development 3 1,971 Nov-16-2021, 09:50 PM
    Thread: How to make an image move in relation to another in PYGAME
Post: RE: How to make an image move in relation to anoth...

Set the tiller offset to a fixed point off the boat. Then move the boat around. This can be done by creating a boat class. Which will make it a lot easier to pass data back and forth. Psuedocode... b...
metulburr Game Development 2 921 Nov-10-2021, 03:38 PM
    Thread: Why not allow users to offer paid bounties?
Post: RE: Why not allow users to offer paid bounties?

Based on your rant post I decided to post back here since it was about fees for service When I think about requiring paid service for help I think about the 8 year olds that are trying to learn pytho...
metulburr Board 5 1,524 Nov-09-2021, 12:03 PM
    Thread: How to loop music with pygame
Post: RE: How to loop music with pygame

Have a list of tracks and replay them indefinitely. Some psuedocode of python doing this process in a game I made that repeated songs https://github.com/metulburr/pong/blob/m...classic.py class Musi...
metulburr Game Development 2 1,115 Nov-09-2021, 10:54 AM
    Thread: sudo
Post: RE: sudo

There are some people that have a pi here. Run the your "error raspberry pi" in a search engine and you will get some ideas on things to try What things have you tried? Update is updating the repos...
metulburr General Coding Help 2 590 Nov-09-2021, 10:38 AM
    Thread: GPIO pins to RaspPi
Post: RE: GPIO pins to RaspPi

Are you running this program on a pi or just using the pi to attach the joystick?
metulburr Game Development 4 855 Oct-26-2021, 09:07 PM
    Thread: post error from cloudflare
Post: RE: post error from cloudflare

(Aug-16-2021, 12:28 AM)Skaperen Wrote: if you are using Firefox and get that on a post, again, do a right click on the tab and select "reload tab". it will tell you that it needs to resend, which is...
metulburr Board 8 2,278 Aug-20-2021, 08:29 AM
    Thread: Recommendations for LinkedIn
Post: RE: Recommendations for LinkedIn

I just saw some messages on linkedin for this For those that messaged me i just now saw the message and invitation and connected. Thanks again :)
metulburr Bar 8 2,056 Aug-17-2021, 08:45 PM
    Thread: post error from cloudflare
Post: RE: post error from cloudflare

i just lost a lot of edit post from a cloudflare error. I guess i will have to copy before posting a long post just in case. The forum crashing takes priority.
metulburr Board 8 2,278 Aug-13-2021, 11:05 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020