7 Topics

Member Avatar for
Member Avatar for Nether_1

I have a simple pygame code that doesn't seem to be functioning correctly, check it out: import pygame, time active = True screen_size = (1052, 700) pygame.init() DISPLAY = pygame.display.set_mode(screen_size) firstimg = pygame.image.load('firstimage.png') secondimg = pygame.image.load('secondimage.png') clock = pygame.time.Clock() def WHITESCREEN: DISPLAY.fill(255, 255, 255) def DisplayFirstImg(): DISPLAY.blit(firstimg, (1, 1)) def …

0
161
Member Avatar for Start4me

I have a list box, with an item "Math". When I click on the Math item, I want a new collection of items to be added to the listbox after removing the current Math item, and make a back button to appear to return Math item back in case I …

Member Avatar for Start4me
0
244
Member Avatar for c3r3alki113r

# Source Code # robo.h - http://pastie.org/3698136 main.cpp - http://pastie.org/3698145 functions.cpp - http://pastie.org/3698148 # Glitches # When ever i try to create more than 2 instances of the class Robots the program will compile but crash it is crashing during construction right after the first while loop, i would think …

Member Avatar for c3r3alki113r
0
197
Member Avatar for HelloPeople1

Hi guys I'm writing a top down shooter game in pygame and wanted to use sprites for my object. I got a character sprite working fairly well except I have two problems. 1. When I rotate my character the point of rotation is changing. This causes a uneven rotation in …

0
102
Member Avatar for Pinchanzee

I've come across a strange glitch with my website: [URL="pinchweb.com"]pinchweb.com[/URL] I've managed to make it so as to not require any browser-specific code so it's relatively generic. All except one strange glitch on the navigational bar while using the Opera browser. About the top quarter of the navbar image is …

0
156
Member Avatar for Nick Evan

I was looking at [URL="http://www.daniweb.com/code/snippet237803.html"]this snippet[/URL] by Ancient Dragon and I saw that it had received 7 downvotes. I found this odd, because the snippet was actually quite good, so I upvoted it. I expected to be -6 after my upvote, but it went from -7 to +1. This is …

Member Avatar for Nick Evan
2
264
Member Avatar for cwarn23

I have noticed that since the upgrade, when previewing the text that we are about to post, the previewed text is smaller than it should making the number of words per line misleading and at times hard to read. Also in this same preview area, code boxes with a line …

Member Avatar for cwarn23
0
958

The End.