Hi guys I was wondering how to make a button that revealed one textblock on the first press, another on the second press, and a third on the third press. Also on the fourth press I want the button to change to another form. Is this possible?

Member Avatar
+0 forum 0

Hello I'm working on this final project. I need to create an ATM program with a unique pin code. However every time I run the p I have done 3 hours of researching and I've decided to just ask. What am I doing wrong that it's just running the do while 3 times whenever I enter a 4 digit pin? void Pin() { do { printf("\n\t Please enter your 4 digit PIN \n "); scanf_s("%[^\n]\n", &pin); *Count = *Count + 1; if (*Count >= 3) { printf("Sorry you can't continue, contact your bank for assistance!\n"); } }while(strlen(pin) != 4 && …

Member Avatar
Member Avatar
+0 forum 4

I need help creating a pause screen for my pong game. Also if you could make a way to make the game fullscreen that would be great. Here is the code: import pygame, sys, random, os from pygame.locals import * import screen import screem os.environ['SDL_VIDEO_CENTERED'] = '1' # Pygame init pygame.init() screen = pygame.display.set_mode((640,360),0,32) clock = pygame.time.Clock() pygame.key.set_repeat(20,1) pygame.display.set_caption('DuBstep PoNg') # Farben BLACK = (0,0,0) WHITE = (255,255,255) # Schriftart basicFont = pygame.font.SysFont(None, 48) startFont = pygame.font.SysFont(None, 28) playerFont = pygame.font.SysFont(None, 20) punktFont = pygame.font.SysFont(None, 72) #Win Loose Text winText = basicFont.render('WIN', True, WHITE, BLACK) looseText = basicFont.render('LOSE', True, WHITE, …

Member Avatar
Member Avatar
+0 forum 1

For My basic programming are using python. I want to create a game called rocket race where two rockets are racing side by side dodging meteroids. I just need some help knowing where to start. I made the rockets and the meteroids in paint already. So could you give me any code to start with? -Thanks, Bungie

Member Avatar
Member Avatar
+0 forum 1

The End.