r/Python • • Jan 20 '19

Asteroids pyxel game! timbledum/asteroids on github

481 Upvotes

30 comments sorted by

View all comments

Show parent comments

6

u/Please_Not__Again Jan 20 '19

Oh I see thanks for the answer. Don't plan on making games but was always curious on how hard it is to make one.

6

u/TheIncorrigible1 `__import__('rich').get_console().log(':100:')` Jan 20 '19

It's mostly collision detection and rendering that are the hard bits

4

u/Please_Not__Again Jan 20 '19

If you don't mind answering would you do an if else statement for it? Like if it comes too close then game over?

4

u/[deleted] Jan 20 '19

Yes you would! There are if else statements all over the place.

3

u/Please_Not__Again Jan 20 '19

Yeah will probably look at some videos of someone making a simple game and seeing how it is done.

5

u/timbledum Jan 20 '19

u/DaFluffyPotato, creator of Super Potato Bruh made a cool video explaining some collision detection stuff. Worth checking out. https://www.youtube.com/watch?v=a_YTklVVNoQ

2

u/Please_Not__Again Jan 22 '19

Damn thanks for the video. That guy is really good and never knew you could make games with python untill recently. It really is a jack of all trades.

Thanks for the video and will check it out for sure.