Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
pygame
- Page 1
Re: pygame 4 Ubuntu
Programming
Software Development
14 Years Ago
by griswolf
…[/B], if I understand what they are saying. At the
pygame
site, there is also pgreloaded which is a rewrite of…
pygame
. Only alpha quality, they say, but it does work with …Python 3.1. [url]http://
pygame
.org/wiki/pgreloaded[/url] These are all things that you…
Re: Pygame? Useful for anything else?
Programming
Software Development
16 Years Ago
by Ene Uran
PyGame
isn't very useful as a typical GUI toolkit, but …: [code=python]# draw random circles with module
pygame
#
pygame
free from: http://www.
pygame
.org/ import
pygame
as pg import random as rn # color…
Re: pygame info
Programming
Software Development
16 Years Ago
by lllllIllIlllI
Pygame
can be what you make of it. It is very …. Just make the right classes and start of with some
pyGame
tutorials to learn the basics of it and there you… would be able to do a slide bar game in
pygame
as well, as i said. Just learn the basics first…
Re: Pygame for Python 3 in Ubuntu
Programming
Software Development
12 Years Ago
by vegaseat
Pygame
uses the SDL library (written in C++). Looks like one of your SDL files is corrupt or missing. On my Windows box the image handling file is called **SDL_image.dll** There should be a Unix/Linux equivalent.
Pygame
Programming
Software Development
18 Years Ago
by chris99
…original = self.image
pygame
.init() screen =
pygame
.display.set_mode((468, 60))
pygame
.display.set_caption('Monkey Fever')
pygame
.mouse.set_visible(0) background =
pygame
.Surface(screen.get_size…background = background.convert() background.fill((250, 250, 250)) if
pygame
.font: font =
pygame
.font.Font(None, 36) text = font.render("Pummel…
Re: Pygame
Programming
Software Development
18 Years Ago
by bumsfeld
…;"" #Initialize Everything
pygame
.init() screen =
pygame
.display.set_mode((468, 60))
pygame
.display.set_caption('Monkey Fever')
pygame
.mouse.set_visible(0) #Create …, 250)) #Put Text On The Background, Centered if
pygame
.font: font =
pygame
.font.Font(None, 36) text = font.render("…
Pygame help
Programming
Software Development
16 Years Ago
by tomtetlaw
…main():
pygame
.init() screen =
pygame
.display.set_mode((468, 60))
pygame
.display.set_caption('Monkey Fever')
pygame
.mouse.set_visible(0) background =
pygame
.Surface(…background.convert() background.fill((250, 250, 250)) if
pygame
.font: font =
pygame
.font.Font(None, 36) text = font.render("…
Pygame help
Programming
Software Development
13 Years Ago
by Dann0
… and right. ''' import
pygame
pygame
.init() screen =
pygame
.display.set_mode((600,480)) background =
pygame
.Surface(screen.get_size()) background …radius, width) if event.type ==
pygame
.KEYDOWN: if event.key ==
pygame
.K_RIGHT: direction = "right"…
pygame help
Programming
Software Development
15 Years Ago
by hazyvisions
… so far: #pong import os, sys import
pygame
from
pygame
.locals import * if not
pygame
.font: print "Warning, fonts disabled"…background = background.convert() background.fill((250,250,250)) if
pygame
.font: font =
pygame
.font.Font(None, 36) text = font.render("0…
Pygame help
Programming
Software Development
15 Years Ago
by pymatio
…30,i)) i += 50 for event in
pygame
.event.get(): if event.type == QUIT: … == K_6: return 6 if retur: return
pygame
.display.update() class map1: def __init__(self… score screen =
pygame
.display.set_mode((600,480), 0, 32)
pygame
.init() back =
pygame
.image.load("…
Re: Pygame help
Programming
Software Development
13 Years Ago
by Tech B
… = False# if event.type ==
pygame
.KEYDOWN: if event.key ==
pygame
.K_RIGHT: direction = "right" if event.key ==
pygame
.K_LEFT: direction = "left… pos = x,y = 100,200 radius = 20 width = 0 circle =
pygame
.draw.circle(background, color, pos, radius, width) [/CODE] ... above the…
Pygame
Programming
Software Development
14 Years Ago
by MUFC4life
… my game? [CODE]# -*- coding: cp1252 -*- import
pygame
,
pygame
.mixer , sys from
pygame
.locals import * ballimg = 'c:/Python/images/segment.png… 0, 0 speed = [0 , 1]
pygame
. init () screen =
pygame
. display . set_mode ( screen_size )
pygame
. display . set_caption ( caption ) ball =
pygame
. image . load ( ballimg ). convert ()…
Pygame
Programming
Software Development
14 Years Ago
by MUFC4life
…much appreciated. [CODE]# -*- coding: cp1252 -*- import
pygame
,
pygame
.mixer , random, sys from
pygame
.locals import * ballimg = 'c:/Python/images/segment…random.randint (0, 590), random.randint(0, 590))
pygame
. init () screen =
pygame
. display . set_mode ( screen_size )
pygame
. display . set_caption ( caption ) appleimage = Surface…
Pygame Help
Programming
Software Development
12 Years Ago
by vickim360
…;NO!" # Basic GUI stuff size = [500,500] screen =
pygame
.display.set_mode(size)
pygame
.display.set_caption('Wind Simulator V 0.5') clock…,255) white = (255,255,255) black = (0,0,0) font =
pygame
.font.SysFont("comicsansms", 15) # Main print "Started…
Re: pygame help
Programming
Software Development
14 Years Ago
by wanna_develop
… a solution to this? More specifically, the problem is that
pygame
wont load any images. none at all. please dont tell… on mac and windows, using different versions of python and
pygame
. still nothing. I have read the entire internet. yes, the…
Re: Pygame help
Programming
Software Development
15 Years Ago
by fallopiano
you know,
pygame
has it's own rect collision system: [CODE=python]g=Rect(0,0,50,50) h=Rect(30,30,60,60) if Rect.colliderect(g,h)==1: print "g and h have collided!" else: print "g and h have not collided yet" [/CODE] hope that helps!
Re: Pygame
Programming
Software Development
13 Years Ago
by Tech B
predator78 is right. Also, I don't know if it's the website, your IDE, or format errors from copying and pasting; most of your object methods are spaced which will throw exceptions. I.E.: [code] #your code
pygame
. display . flip() #should be
pygame
.display.flip() [/code] That goes for most all of it.
Re: pygame help
Programming
Software Development
15 Years Ago
by snippsat
… write to open the
pygame
window is it import
pygame
?[/QUOTE] No "import
pygame
" you only make
pygame
libary available This code…/bin/env python import
pygame
screen =
pygame
.display.set_mode((640, 400)) while True: event =
pygame
.event.poll() if event.type ==
pygame
.QUIT: break [/CODE…
pygame help
Programming
Software Development
15 Years Ago
by srk619
… out. ive installed python 2.5 and
pygame
. the code starts like this: [CODE]import
pygame
#,
pygame
.mixer , sys if __name__ == "__main__…
Re: pygame
Programming
Software Development
14 Years Ago
by griswolf
…FrequentlyAskedQuestions#Does%20Pygame%20work%20with%20Python%203?[/url] [QUOTE]Does
Pygame
work with Python 3? Release 1.9.0 does….
Pygame
from SVN builds as is with Python 3.0 … should be available when NumPy is itself ported. The
Pygame
successor, pgreloaded (
Pygame
Reloaded) also supports Python 3.[/QUOTE]
Re: pygame help
Programming
Software Development
15 Years Ago
by srk619
dint work anyway what code should i write to open the
pygame
window is it import
pygame
?
Re: pygame help
Programming
Software Development
15 Years Ago
by jlm699
[QUOTE=srk619;1023357]dint work anyway what code should i write to open the
pygame
window is it import
pygame
?[/QUOTE] What "dint work"?
Re: pygame
Programming
Software Development
14 Years Ago
by griswolf
[QUOTE=SgtMe;1230635]Unfortunately,
PyGame
is now being made for JavaScript. While you can still … updates to Python in the future. While some versions of
PyGame
[U]may[/U] work with updates to Python, there will… closely at the date of the posting that mentions translating
PyGame
to JavaScript. (Don't be [B]too[/B] embarrassed: I…
Re: Pygame
Programming
Software Development
14 Years Ago
by emorjon2
it's really simple. go to [URL="http://www.
pygame
.org/wiki/tutorials"]http://www.
pygame
.org/wiki/tutorials[/URL] and you will find all documentation . I never learned
pygame
by this tutorial, but it's from the website itself, so I think it will work.
Re: pygame
Programming
Software Development
14 Years Ago
by SgtMe
Unfortunately,
PyGame
is now being made for JavaScript. While you can still learn it now, there will be no support for major updates to Python in the future. While some versions of
PyGame
[U]may[/U] work with updates to Python, there will not be full support. But hey, its awesome so let's use it while it's here.
PYGAME
Programming
Software Development
16 Years Ago
by ratperson
I am programming for the first time...trying to make a game in
pygame
. I need to know how to design a really good background. All I can do at the moment is draw lines and change the background colour. Please help!! I am making this for my boss and I need it to be really good..
Re: PYGAME
Programming
Software Development
16 Years Ago
by k.wiseman
You don't have to draw your background in
PyGame
. In fact, it's inadvisable to do so. In my …
Pygame help
Programming
Software Development
15 Years Ago
by njam
hey guys I'm kine a new to
pygame
and i want to make a space game but i dont know how to make the screen folow my ship. if you have any info on this plz let me know. Thanks :)
pygame
Programming
Software Development
14 Years Ago
by lewashby
I use Ubuntu Linux and I'M running python 3. How do I know what version of
pygame
to get for python 3? And could someone point me to it? Thanks.
Pygame
Programming
Software Development
14 Years Ago
by FAITH2011
[B]Hi, Could someone tell me where to find a good tutorials on
pygame
1.9.1 for beginner thanks[/B]
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC