Can someone help. I have got to 6:05 and when I try to run it, it says; local variable 'clicking' referenced before assignment Can someone help me with this please.
Thanks for the tutorial! I'm wondering, how did you get so knowledgeable about Pygame? I've noticed through my own investigating that resources dedicated to Pygame are so scarce compared to engines like Godot or Unity. Did you learn mostly through trial and error?
For me i usually always used something like this for mouse button input: mouseleft, mousemiddle, mouseright = pygame.mouse.get_pressed(). Anyways, nice vid, im glad there is someone else who also uses pygame and python for making games :)
@@thomascasasnovas4372 The difference is that pygame.mouse.get_pressed() repeats every frame the button is held down so it will behave similarly to the left mouse button in this example. This is more efficient if you only need this behavior because it does not do some boolean toggling but it also does not respect order of events like the pygame event queue
My friends, search for your life purpose, why are we here?? I advise you to watch this series and this video 👇 as a beginning to know the purpose of your existence in this life.., ruclips.net/p/PLPqH38Ki1fy3EB-8xmShVqpbQw99Do2B- ruclips.net/video/7d16CpWp-ok/видео.html
I mean, something like league of legends or dota wherein when you righ click somewhere in the map, your hero follows at a certain speed. I'm making an adventure mmo using pygame but only knows keyboard events. I hope you or anyone can help.
My friends, search for your life purpose, why are we here?? I advise you to watch this series and this video 👇 as a beginning to know the purpose of your existence in this life.., ruclips.net/p/PLPqH38Ki1fy3EB-8xmShVqpbQw99Do2B- ruclips.net/video/7d16CpWp-ok/видео.html
You are so awesome for making these! I enjoy watching your series! This channel is a pure gem
akr
Can someone help. I have got to 6:05 and when I try to run it, it says;
local variable 'clicking' referenced before assignment
Can someone help me with this please.
what if I would like to drop thatimage and be able to select another one in the screen and make this new one follow my mouse movements?
Thanks for the tutorial! I'm wondering, how did you get so knowledgeable about Pygame? I've noticed through my own investigating that resources dedicated to Pygame are so scarce compared to engines like Godot or Unity. Did you learn mostly through trial and error?
Trial and error + documentation.
Hey, I used this method but found the mouse wheel scrolling is really bad at datection, any other method you suggest?
Would be kind enough to help me on how to get collisions from touch screen input
anyone know how to check if an image is clicked?
What does this offset word mean in games?
Just got here and I am already thanking you!
Bruh this guy only has 8k subs he deserves at least 100k.
Nice vid bro.
Did you mean at least 1M?
For me i usually always used something like this for mouse button input: mouseleft, mousemiddle, mouseright = pygame.mouse.get_pressed().
Anyways, nice vid, im glad there is someone else who also uses pygame and python for making games :)
Same (: But now I wonder if one of the two is faster or more efficient than the other...
@@thomascasasnovas4372 The difference is that pygame.mouse.get_pressed() repeats every frame the button is held down so it will behave similarly to the left mouse button in this example. This is more efficient if you only need this behavior because it does not do some boolean toggling but it also does not respect order of events like the pygame event queue
Generally I like to work from a lower level so I can have more options easily available to me.
can this work with bouncing balls?
i need help doing mouse interaction for bouncing balls
hey fluffy can you help me out to upload a .png image as the cursor image for pygame...and thanks in advance.
i am trying to make a charachter slowly follow my mouse how do i do that?
My friends, search for your life purpose, why are we here?? I advise you to watch this series and this video 👇 as a beginning to know the purpose of your existence in this life.., ruclips.net/p/PLPqH38Ki1fy3EB-8xmShVqpbQw99Do2B-
ruclips.net/video/7d16CpWp-ok/видео.html
Which code editor are u using
Can you male a video about the GUI?
Hi bro, how can you make the image follow to the current mouse position instead of the immage following it around?
I mean, something like league of legends or dota wherein when you righ click somewhere in the map, your hero follows at a certain speed. I'm making an adventure mmo using pygame but only knows keyboard events. I hope you or anyone can help.
Do you think that relatively large projects(2d) can be done with this library(py game)????
wich vs code theme are you using?
i believe he's using atom not vs code
Thanks,I was looking for this for weeks.I was not able to do left clicking on the image in the program.
Hey thanks for tutorial but i have a question, how can i make it so the mouse cursor is in the middle and not the top left?
My friends, search for your life purpose, why are we here?? I advise you to watch this series and this video 👇 as a beginning to know the purpose of your existence in this life.., ruclips.net/p/PLPqH38Ki1fy3EB-8xmShVqpbQw99Do2B-
ruclips.net/video/7d16CpWp-ok/видео.html
make a rect:
rect = surface.get_rect(center=(x, y))
and then blit it:
screen.blit(surface, rect)
Thanks for the video. do you recommend to use pymonk library for physics in 2D games?
thanks man i thought it's impossible make good games with python but you make me believe thank so much
which editor/engine are you using,cant understand what is that
looks like sublime text
It’s Atom
Why you don’t use OOP?
It’s a waste of time for some stuff.
@@DaFluffyPotato Understand)
Yo did you participate in GMTK jam?
No
Increase the font size for god sake
Do you recommend using pypy?
I’ve never used it
Love your videos, just subscribed.
U teach me a lot, keep going ;)
You help me a lot , thank you
I gave the 500th like! 😄
AWESOME!!!
Love it
Yes
dieng is portnt so yeeaas
mmm
well said