Calling images in pygame

Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Oct 2006
Posts: 71
Reputation: mruane is an unknown quantity at this point 
Solved Threads: 1
mruane mruane is offline Offline
Junior Poster in Training

Calling images in pygame

 
0
  #1
Sep 27th, 2008
I have been looking for ways to call images and to move them around the screen, but I see many different ways exist. What is the best way to call images?
And, does it matter where the image is? If the images filepath is usr/bin/local/sprite_fantasy
will that affect how I call the image?
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 4,025
Reputation: vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice 
Solved Threads: 932
Moderator
vegaseat's Avatar
vegaseat vegaseat is offline Offline
DaniWeb's Hypocrite

Re: Calling images in pygame

 
0
  #2
Sep 28th, 2008
This pygame sample code at:
http://www.daniweb.com/forums/showpo...&postcount=146
might help you.

As long as you give the full path name of your image file, I dont think it makes much of a difference in which directory it is.
May 'the Google' be with you!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Python Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC