[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] blit image
- To: pygame-users@xxxxxxxx
- Subject: [pygame] blit image
- From: Nathan BIAGINI <nathan.open@xxxxxxxxx>
- Date: Wed, 1 Dec 2010 22:10:45 +0100
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Wed, 01 Dec 2010 16:10:54 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=hpbliH+RA8U+ayvj4M3L7sfQjFm6uBBk6mIvAafYXzc=; b=XYa42o9eTdXYCEgf0u1A6LiNnfkjO0W1rku8smsll8fOx4TjDkz46VmVnRDkU4xa1j dEfm7sW7vDE5tVyTIHitkLgTV0SbwHo1JvLbS2+ePaqrdu6tBSFrNIHngaxGsVfLxqdC avPCfn3P/ykh7ZhFhc7d6vPvCe49Uj4Zy29Pc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=wYRFK86ukHn9h3RjeUKy1uXzeZEs09fpN0/AUdIcBYpcQXKcidimDP72sst5pHZ+RR zw3K2v7BclLipEC6lbWFMMSiKEEzQ/oUaia/7GuwqfNsM+HcxeX1z2smCJ8wq1AT7sLH UHaOkFjEhH537IssRLKqP56+RK1qztKF0ViFE=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi everyone,
i currently have a really weird problem. I want to blit a background image on my screen. It s a really simple operation and i ve done it so many times in this case, the image only appear when i move the screen with my mouse cursor... I definitively don't understand...
Here is the paste of the concerned source code :
http://bpaste.net/show/11826/
The image to print is loaded in the map instance of Map class. I get the whole path of the image from a file and then i load the image and blit it in the main. The image should be properly loaded because it appears when i move the window, maybe i ll paste you the concerned part of my class :
http://bpaste.net/show/11827/
i use those two print call to check if the image do no take a while a be loaded but it s not the case.