This site requires JavaScript, please enable it in your browser!
Greenfoot back
Durau_Stefan
Durau_Stefan wrote ...

2025/1/15

i cant fit my backround in my game

Durau_Stefan Durau_Stefan

2025/1/15

#
i dont know how many pixels the png sould be so that it fits perfectily withouts dubbeling..im on my firsth project i have 3 weeks left of a 3 month program...
danpost danpost

2025/1/15

#
Durau_Stefan wrote...
i dont know how many pixels the png sould be so that it fits perfectily withouts dubbeling..im on my firsth project i have 3 weeks left of a 3 month program...
Your would dimensions are defined in the "super" statement. After which, you can, after maybe first filling the background with an opaque color, draw the image on the background. Scaling the image is also a possibility. But, unless you resize the actual ping, you won't be able to use the default class image feature.
You need to login to post a reply.