Timeline for How to make objects move continuously while a key is pressed in pygame?
Current License: CC BY-SA 4.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 12, 2022 at 3:32 | comment | added | Command_Blocks | I don't think you will ever use this but this website has some great programming books, 100% free. I have been using it for a while now: z-lib.org P.S: It might crash frequently, but ignore these errors and try again. | |
| Jan 12, 2022 at 3:11 | comment | added | Command_Blocks | Oh the c family... I tried c++ but the loops are very confusing. I managed to make a calculator tho. Anyway good luck | |
| Jan 12, 2022 at 3:10 | vote | accept | Command_Blocks | ||
| Jan 11, 2022 at 19:23 | history | edited | liggiorgio | CC BY-SA 4.0 |
Minor grammar fixes, removed whitespaces
|
| Jan 11, 2022 at 15:32 | comment | added | YoloWex | It's about 2 years I'm learning python, but I'm moving on to C family because it is more efficient and faster in game developing .@Command_Blocks | |
| Jan 11, 2022 at 13:24 | vote | accept | Command_Blocks | ||
| Jan 12, 2022 at 3:10 | |||||
| Jan 11, 2022 at 13:24 | comment | added | Command_Blocks | you were right. I just saw some "beginner code" in a book and I'm lost for words. So I have a question, for how long are you doing python now? | |
| Jan 11, 2022 at 13:21 | comment | added | Command_Blocks | *questions his choices * Well... if you have done java before and it is very clear you are extremely talented in programming, surely you will know more than me... while other people programming journey starts when they pick up a language, become good at it and then go to the other, mine is entirely different. First HTML for 1.3 yrs. Then python for 2 days. Then c++ for 1 day. then renpy for some months. Then python, again. Then pygame, renpy then java then python then now, java. So I think I will take your word for it and stick to python for a while. | |
| Jan 11, 2022 at 12:56 | comment | added | YoloWex | Hey @Command_Blocks, I personally think learning python/pygame is a much better choice to improve you'r programming skills. as it only requires pure code in python to conclude you'r project. but in java ( especially in android studio ) You tend to include/import a thousand of packages which you don't you know nothing about what they're actually doing.(happened for me) . If you want to be a Pro game developer You need experience to make games from scratch . And pygame is a very good option for that. | |
| Jan 11, 2022 at 10:49 | comment | added | Command_Blocks |
Hey @YoloWex . I am just a new programmer (i stopped using python, learning java now). But thanks for the answer. I found a way too. It required less code, and it worked perfectly. So I used True and False to find a solution. All I did was check if the down key was held. If held, Set a variable for the down key to True. If not held/released, set down to False. Then I added if move_down: and added the movement speed. Anyway thanks for the answer, I am sure it will help out a lot of people!
|
|
| S Jan 11, 2022 at 9:43 | review | First answers | |||
| Jan 11, 2022 at 19:23 | |||||
| S Jan 11, 2022 at 9:43 | history | answered | YoloWex | CC BY-SA 4.0 |