Company of Heroes


ChatLog

First Previous 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 Next Last

user name /\ message

pythonista24x7

This should draw it a different co-ordinate

pythonista24x7

Okay try this. screen.blit(player.surf, (50, 50))

simply_coh

What are you working on there doctor x?

007bionicalman

Ok

007bionicalman

The tutorial said to

pythonista24x7

screen.blit(sprite1, rect)

007bionicalman

@pythonista24x7 Thanks for the help

pythonista24x7

Try googling \"Pygame sprite not moving when key pressed [duplicate]\" find a stack overflow post

pythonista24x7

Try this: https://stackoverflow.com/a/65258397/549520

pythonista24x7

blit method is used to draw a object on the script

007bionicalman

Floats that’s html or css isn’t it

007bionicalman

I did so much research and problem solving I have no answers

pythonista24x7

You need to \"translate\" the player's x co-ordinate when left and right keys are pressed

pythonista24x7

Nope, it wont

pythonista24x7

The `blit` method need to be updated when key is pressed

007bionicalman

Oh

007bionicalman

What wasn’t called

007bionicalman

New family loop

007bionicalman

I’ve been so busy that it’s so nice just to lay in bed and listen and get your help but I will have to get moving and listen to you at some time

007bionicalman

Isn’t that the best one you said

007bionicalman

That one

sucantien_

yes you have made my day by making my eyes not turn orange

sucantien_

github desktop and light mode? what kind of reality is this

007bionicalman

Why is it glitch and not moving the sprite

007bionicalman

I wish it didn’t have a glitch

007bionicalman

Thank

sucantien_

actually they forgot the trailing newline lol

007bionicalman

Routine and normality helps

sucantien_

and then you go insane after forgetting the trailing newline for the 804412th time

007bionicalman

That might help me so much if I looked through it

First Previous 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 Next Last