Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Time based loops
Post: RE: Time based loops

Thanks a lot! really helpful
Owenix General Coding Help 4 3,750 Sep-20-2018, 05:37 PM
    Thread: Time based loops
Post: RE: Time based loops

(Sep-20-2018, 03:37 PM)nilamo Wrote: Could you show a runnable code snippet? It looks fine, but it's also an infinite while loop. Do you ever leave the loop? Or call win.flip()? Also, is win a p...
Owenix General Coding Help 4 3,750 Sep-20-2018, 03:43 PM
    Thread: Time based loops
Post: Time based loops

Having a hard time figuring out how to make timeloops. The goal is having a text flicker on screen every even number of seconds (2,4,6 etc..) This is the code i have so far: intro = True x = ...
Owenix General Coding Help 4 3,750 Sep-20-2018, 03:34 PM
    Thread: Game doesn't work after pause
Post: Game doesn't work after pause

Hi there, i'm new to python and just started Pygame this week, learning via working on a Pong project. Long story short, i have the pong game working and i have a menu before that, all working as i wa...
Owenix Game Development 2 3,175 Sep-19-2018, 04:27 PM
    Thread: Checking if the user is IDLE
Post: RE: Checking if the user is IDLE

(Sep-18-2018, 12:31 PM)metulburr Wrote: The only methods i can think of are checking for mouse movement, keyboard input, or just a timeout. What's a timeout? and can't i make a loop based on prerequ...
Owenix General Coding Help 3 3,235 Sep-18-2018, 12:41 PM
    Thread: Checking if the user is IDLE
Post: Checking if the user is IDLE

Hey guys, I'm trying to make a function that detects if the user is "afk" for about 5 seconds, and than exits the code. would like some help :) import random import time import math def Dice(): ...
Owenix General Coding Help 3 3,235 Sep-18-2018, 12:27 PM
    Thread: Replacing letters on a string via location
Post: Replacing letters on a string via location

Hey guys, I was wondering if there is a way to replace a letter on a string via location, and if i can do it if there are multiple locations. I'm working on a hangman simple python code def game_sta...
Owenix General Coding Help 2 2,465 Sep-16-2018, 07:54 AM
    Thread: [Help] Beginner's code
Post: RE: [Help] Beginner's code

Thanks dude! helped alot
Owenix General Coding Help 3 2,758 Sep-15-2018, 05:17 PM
    Thread: [Help] Beginner's code
Post: [Help] Beginner's code

Hey there, started learning today and i'm currently trying to make an '8 ball' from a challenge online. I'm trying to make it so when the player says NOT to terminate the program, and keep the game go...
Owenix General Coding Help 3 2,758 Sep-15-2018, 04:47 PM

User Panel Messages

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