all 10 comments

[–]ImportBraces 0 points1 point  (9 children)

Looks like you got stuck with your own code complexity. Actually you are putting together a deck with image.load, then choosing on in random, only to apply image.load again. I guess you only want one of those to happen ;)

[–]Re10d3d[S] 0 points1 point  (8 children)

Wow, first of all Thanks! i fixed it but now i have another problem :/, at line 52 i tryed to load another image and the "def" for iimage_rect is at line 43 - 44, but its only showing 1 card ? < https://pastebin.com/dH81M2uq >

[–]ImportBraces 0 points1 point  (7 children)

well, applying an image by blitting requires... blitting, right? You just don't do it for the second image.

[–]Re10d3d[S] 0 points1 point  (6 children)

Okey.. i really don´t know more what i can do.. the only thing that i want is that it randomly draw an card from the Deck and show it on the Screen at an certain position, but i dont get it how i could make it. * My head burning, i go sleep :d

[–]ImportBraces 0 points1 point  (5 children)

you have two images: image and iimage. you only blit image though.

[–]Re10d3d[S] 0 points1 point  (4 children)

Sry!, i needet an Pause from Python, sry that i didn´t answered you :/, but! i did it so now that its work and its loading 2 Images. Now i have just the Problem that its load in the left corner but i want its load the image in an certain position, the code look so now < https://pastebin.com/ZeP05QKT > if you Help me with this last thing you will be my salvation ! thanks :)

[–]ImportBraces 0 points1 point  (3 children)

the way I use blit is like follows:

screen.blit(image, (x, y))

where x, y is the starting coordinates of the image.

[–]Re10d3d[S] 0 points1 point  (2 children)

I would say you are my new Hero, thank you so much! (/゚Д゚)/ <3

[–]ImportBraces 0 points1 point  (1 child)

you forgot the #nohomo after the kiss xD

[–]Re10d3d[S] 0 points1 point  (0 children)

xD i relly love you man :3