Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #4K
~25.1K People Reached
Favorite Tags
Member Avatar for Darkangelchick

Hey guys I'm attempting to make a super mario like platform game and need help with making images move. Like instead of moving the little man, just having the background moving with the corresponding button movement. Can anyone hint at how to do this? Or is moving the little man …

Member Avatar for shadwickman
0
146
Member Avatar for besktrap

Hi all. Is there any way that if I give python a string, it can convert it into code? Example, say I am given this string: [CODE=python]string = "Class( 0,100 )"[/CODE] Now I want to convert it into code: [CODE=python]Class( 0,100 )[/CODE] Any ideas? Thanks.

Member Avatar for abhigyan91
0
11K
Member Avatar for tomtetlaw

Is there a module for a camera in PyGame, because I want the camera to follow an image, thanks.

Member Avatar for shadwickman
0
121
Member Avatar for pupspark

[CODE]print "INSERT QUIZ INTRO" choices1(); def choices1(): print "The SNES Star Fox games ran off of/was used to advertise what advancement?" print "1: 32 Bit color" print "2: Argonaut's Super FX Chip" print "3: Voice-like sound effects" print "4: Higher Frame rates" 001();[/CODE] There's code past this but I imagine …

Member Avatar for siddhant3s
0
203
Member Avatar for besktrap

Any one know where I can find the pygame code to create a screen where you can draw simple lines by click and dragging the mouse? I know how to create lines with the pygame.draw.line(screen, (0,0, 0), (3,200), (9, 200)) script (using that as an example), but am looking for …

Member Avatar for world123space
0
310
Member Avatar for besktrap

hi everyone! I have two files, main.py and sprite_class.py. sprite_class.py is in a separate folder called lib. here's a quick diagram: ------------------------------------ /folder engine/ main.py /folder lib/ sprite_class.py ------------------------------------ ...sprite_class.py contains a class called Sprite: [CODE] # sprite class class Sprite(): def __init__( self, start_x, start_y, image_path ): self.x = …

Member Avatar for besktrap
0
10K
Member Avatar for besktrap

Hi everyone. I'm having a little trouble trying to understand what argument passing really is. I know that it 'passes' arguments, but what does that actually mean and how can you use it to my advantage? ex: [CODE] def New(spam,n=1): [/CODE] so what does that actually do?

Member Avatar for besktrap
0
117
Member Avatar for besktrap

Hi everyone! I am currently creating somewhat of a platformer/puzzle game in pygame and ran into a problem with creating levels. I really don't want to take the time to program collisions with the player and each platform on the game, because that would obviously take forever. I was thinking …

Member Avatar for besktrap
0
142
Member Avatar for besktrap

hey everyone. i am writing a program in python w/ Tkinter and ran into a problem with padding. So, i have a Label object named DataPool_Text. when I run it (side=TOP), it goes to the top middle of the screen. I know how to use padx, but what would I …

Member Avatar for woooee
0
68
Member Avatar for besktrap

Hello all. I'm working with pygame and are trying to implement some type of server.

Member Avatar for besktrap
0
102
Member Avatar for besktrap

does anyone know how to shutdown a computer on windows XP (using python of course ;) given the IP address and the computer name (probably don't need it, though)? I don't want to use os commands like os.system("shutdown -i"). Thanks in advanced!

Member Avatar for mn_kthompson
0
107
Member Avatar for besktrap

Hi everyone. I'm currently working on a Tic Tac Toe game, and I am having a little trouble with, well, I'm not even sure what to call them. They are a variable with brackets like so below. Anyway, I have this variable: [CODE]char Line_One[3] = { ' ', ' ', …

Member Avatar for VernonDozier
0
102
Member Avatar for besktrap

Hi y'all. I'm just starting to learn HTML and just had a few questions. I was using some tutorials from w3schools.com, and I came across Event Attributes. So I have this textbox, and I want it, when clicked, to clear the the text box of it's value, and change the …

Member Avatar for Walkere
0
144
Member Avatar for besktrap

Hopefully this is the correct place to post this, so here ya go. I'm learning HTML and just had a few questions. I was using some tutorials from w3schools.com, and I came across Event Attributes. So I have this textbox, and I want it, when clicked, to clear the the …

Member Avatar for essential
0
1K
Member Avatar for besktrap

hello everyone, just a quick question about pygame rotations. If i have an image, say "image.bmp", how would I zoom in on that image? Thank in advanced

Member Avatar for vegaseat
0
61
Member Avatar for besktrap

Sorry about the second thread, I forgot to include this on my first one. Anyways, is it possible for someone to use the "echo %text here% >> %location of file here%" command to save some text to a file in a different folder? I did it, but got a message …

Member Avatar for mittelgeek
0
122
Member Avatar for besktrap

Hi everyone! I am making a simple chat program in batch (it doesn't use the net send command). It consist of a main DOS window that you chat with called PM, a .txt file called Log that stores what you say, and a DOS window called PM LOG that prints …

Member Avatar for mittelgeek
0
180
Member Avatar for besktrap

I everyone! I'm having a little math trouble with a simple physics program I'm writing in python w/ pygame. If you notice in the code where it says: "((-ballSpeed[1]/4*3))", my ball on the screen just sits there and does nothing!! Whats wrong with my program? [CODE] import sys import pygame …

Member Avatar for besktrap
0
221
Member Avatar for besktrap
Member Avatar for besktrap
0
189
Member Avatar for besktrap

So, I'm making a simple program that can edit text files. I have a text input that says "Please enter the name of the file, followed by a '.txt'. ". Although, whenever I enter a name, it will only show you the first character of what you entered. So, how …

Member Avatar for VernonDozier
0
92
Member Avatar for besktrap

how would I tell python (using pygame code) to do an event after a certain amount of time? Would I use pygame.time.Clock()?

Member Avatar for Scuppery
0
63
Member Avatar for besktrap

I'm writing a gravity simulation in python and pygame, and had a quick question. Say I have an object that I can move. Lets call it "square". Then I created a line like so... [CODE] pygame.draw.line(screen, (0, 0, 0), (84, 368), (510, 368)) [/CODE] How would I tell python not …

Member Avatar for besktrap
0
111
Member Avatar for besktrap

OK, so on my program, whenever I enter in incorrect selection (when I am actually running it), it goes back to the main loop and continually loops! what's wrong with it? here's the code: [CODE]/* Copyright: 2008 Author: Besktrap Date: 13/07/08 09:19 Description: a short buggy calculator I made */ …

Member Avatar for Narue
0
79
Member Avatar for besktrap

Hi everyone! I'm new here, so just letting you know that. Anyway. I'm currently writing somewhat of a game in pygame and had a few questions for anyone who would be able to help me. I have created a python program that moves and object in a window, and I …

Member Avatar for besktrap
0
101