How to make particles in pygame in under 10 minutes!

  Рет қаралды 1,904

ScriptLine Studios

ScriptLine Studios

Күн бұрын

Пікірлер: 26
@CreamyBagel
@CreamyBagel 3 жыл бұрын
This is the best! I really learned a lot from this, thanks a bunch!
@ScriptLineStudios
@ScriptLineStudios 3 жыл бұрын
No problem man. I am glad this tutorial was helpful 👍
@david_ouro
@david_ouro 10 ай бұрын
Incredible Kid have a bright future ahead
@TooManyNulls
@TooManyNulls 4 жыл бұрын
This is avery good tutorial, its pretty simple. it helped me understand classes a bit more!
@ScriptLineStudios
@ScriptLineStudios 4 жыл бұрын
Glad I was able to help! :)
@vagdrak6575
@vagdrak6575 4 жыл бұрын
thank you for the awesome tutorial!liked and subbed
@ScriptLineStudios
@ScriptLineStudios 4 жыл бұрын
Thanks man! Appreciate the sub :)
@HabiburRahman-eq5tb
@HabiburRahman-eq5tb 4 жыл бұрын
brooooo! Never give up bro! You are great!
@ScriptLineStudios
@ScriptLineStudios 4 жыл бұрын
Thank you so much! :)
@joshuadavis7425
@joshuadavis7425 4 жыл бұрын
Epic
@TheCaptainMoo
@TheCaptainMoo 4 жыл бұрын
Very simple and easy to follow. Overall good video
@ScriptLineStudios
@ScriptLineStudios 4 жыл бұрын
Glad you liked it! Thanks for the feedback :)
@sireye_0
@sireye_0 4 жыл бұрын
I was wondering how could I change it to a square class particle: def __init__(self,x,y): self.x = x self.y = y self.x_vel = random.randrange(-10,13)*1 self.y_vel = random.randrange(-10,-1)*1 self.lifetime = 0 def draw(self,window): self.lifetime += 1 if self.lifetime
@ScriptLineStudios
@ScriptLineStudios 4 жыл бұрын
Instead of using pygame.draw.circle you should use pygame.draw.rect(window, (255, 255, 255),(self.x, self.y, 16,16)) the two 16s that come after the x and y represent the width and height of the square. I hope this helps :)
@johnstarfire
@johnstarfire 4 жыл бұрын
Nice, just remember that conventionally classes names are written in capital letters
@ScriptLineStudios
@ScriptLineStudios 4 жыл бұрын
Thanks! I didn't actually know that :)
@johnstarfire
@johnstarfire 4 жыл бұрын
ScriptLine Studios the first letter
@canecorso3538
@canecorso3538 4 жыл бұрын
your google play games were created with python?
@ScriptLineStudios
@ScriptLineStudios 4 жыл бұрын
No, they were created with unity, I believe there is a way to create android games with pygame but I haven't done any research on it
@jaysanprogramming6818
@jaysanprogramming6818 3 жыл бұрын
You earned a sub. You make minor mistakes but it is very interesting. I advise to use pygame.math.Vector2 for position and velocity.
@johnbrowning1071
@johnbrowning1071 3 жыл бұрын
I'm getting line 248, in main for particle_ in Particle(): TypeError: __init__() missing 2 required positional arguments: 'x' and 'y' help pls reply ☕
@blueflamegaming7591
@blueflamegaming7591 2 жыл бұрын
maybe try for particle_ in particles: instead of calling the class i'm still a beginner so im not sure
@pyco374
@pyco374 2 жыл бұрын
I know this was posted 3 months ago. The reason you are getting an error is you are trying to index the particle class instead of the list containing the rest of your particles
@mihailogostiljac2198
@mihailogostiljac2198 3 жыл бұрын
Pygames particle system
@ScriptLineStudios
@ScriptLineStudios 3 жыл бұрын
🤣🤣
How to Code (almost) Any Feature
9:48
DaFluffyPotato
Рет қаралды 688 М.
Get Started in Pygame in 10 minutes!
10:19
Coding With Russ
Рет қаралды 344 М.
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 25 МЛН
Бенчик, пора купаться! 🛁 #бенчик #арти #симбочка
00:34
Симбочка Пимпочка
Рет қаралды 3,1 МЛН
ДЕНЬ УЧИТЕЛЯ В ШКОЛЕ
01:00
SIDELNIKOVVV
Рет қаралды 4 МЛН
How to Create PARTICLE EFFECTS in Python - Pygame Tutorial
14:54
Ork Slayer Gamedev
Рет қаралды 4,4 М.
Oh, wait, actually the best Wordle opener is not “crane”…
10:53
Creating particle effects in pygame
35:44
Clear Code
Рет қаралды 23 М.
Framework and a Level Editor! - Python/Pygame Devlog #1
17:20
DaFluffyPotato
Рет қаралды 47 М.
Pygame Particles Tutorial - Over 20K Particles At 60FPS
21:10
Big Whoop Games
Рет қаралды 3,1 М.
Running "Hello World!" in 10 FORBIDDEN Programming Languages
18:07
Particles - Pygame Tutorial
11:25
DaFluffyPotato
Рет қаралды 39 М.
Make a Game in 10 Minutes | Python Tutorial
12:05
Coding with Sphere
Рет қаралды 1,9 М.
Pygame Tutorial - Save/Load System
14:13
ScriptLine Studios
Рет қаралды 10 М.
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 25 МЛН