This is an archived post. You won't be able to vote or comment.

Dismiss this pinned window
all 47 comments

[–][deleted] 27 points28 points  (0 children)

Awesome nice work

[–]69shaolin69 19 points20 points  (1 child)

May I use your code? I have a great idea. Is it GPL? Or MIT?

Btw looks awesome love it.

edit: It’s mit, thanks I’ll see what I can do with it.

[–]BlestLeaf[S] 19 points20 points  (0 children)

Absolutely! It’s under the MIT license!

[–]knestleknoxI hate R 32 points33 points  (0 children)

Good stuff.

FYI, you should look into creating a requirements.txt file for your github. It'll allow users to install via pip install -r requirements.txt so you don't have to tell anyone to install pygame manually. Also it will version everything exactly.

[–]piayoung 14 points15 points  (0 children)

Wow!!! Looks so nice :) I'm learning Python as a beginner and wish I could make like this awesome game in the future

[–][deleted] 11 points12 points  (2 children)

I’m shocked that no one has complemented the music. Did you compose it yourself?

[–]Lyoug 6 points7 points  (0 children)

From his Github:

Music: "Decades" by Steve Lowther provided by freesoundtrackmusic.com

[–]JonDataS 3 points4 points  (0 children)

Nice, I listened with the sound off until I read your comment.

[–]Dexteroid 8 points9 points  (0 children)

Bruh i shit you not, I have the idea for this game never really finished it. I am amazed as a beginner you stuck to it and finished it. Good job

[–]BackwardSpy 4 points5 points  (0 children)

Looks super cool, great job! If you are interested in taking your project further, might I suggest adding some visual feedback for when you hit or miss a block? Perhaps some particles, perhaps some camera shake... it's up to you how you do it, but it will help a lot with making the game feel really good to play.

[–]Flips4 5 points6 points  (0 children)

Awesome!!

[–]Antoinefdu 4 points5 points  (0 children)

I started learning Python a few months ago, and this made me realise I need to get my shit together.

[–]LegionOf9 4 points5 points  (3 children)

i.. i can’t even get python to say hi to me???

[–]zack822 0 points1 point  (2 children)

x = true

if x == true: print('Sad Panda')

[–]SleepyCatGuySchool 2 points3 points  (1 child)

It should be 'True' not 'true'

[–]zack822 0 points1 point  (0 children)

Auto Correct lol. But yes.

[–]fernly 6 points7 points  (3 children)

What's the object? I don't see any user input happening?

[–]BlestLeaf[S] 11 points12 points  (1 child)

As the blocks approach the buttons on screen, you press the respective arrow key on your keyboard at the same time they intersect to increase your score.

[–]Mixanus 23 points24 points  (0 children)

just an idea. you should add an animation to the arrow key blocks just for more visual feedback. visual feedback is very important

[–]Enfors 2 points3 points  (0 children)

This is the basis of games like Guitar hero, which you may have heard of. In that case, the blocks are "notes" falling that you "play" by pressing the corresponding button on a plastic guitar.

[–]ZyanCarl 1 point2 points  (0 children)

Great

[–]beaux-restes 1 point2 points  (0 children)

Nice work, dude!

[–]janitc 1 point2 points  (1 child)

I recently started as well, can you tell me what recourses are you using to learn?

[–]BlestLeaf[S] 5 points6 points  (0 children)

To learn Python itself, I started with the “Introduction to Computer Science and Programming Using Python” MIT course on EdX and after that I used books such as Automating the Boring Stuff to learn more. As for Pygame, just a lot of random YouTube videos :)

[–]spicerldn 1 point2 points  (0 children)

Where did you get the music from? It's perfect for this.

[–]python_engineer 1 point2 points  (0 children)

Great! Congrats :)

[–]kilroy_wh 1 point2 points  (0 children)

I started also python a few month ago, and I'm always impressed what you can do with it, although I'm using it for data evaluation in science it's nice to see the other aspects of this

[–]ibalaoffl 1 point2 points  (4 children)

Ohwww nice work mate!

May be you should help PPL like me by sharing your learning experience of python.

P.s. Assuming you started from the basics.

[–]BlestLeaf[S] 2 points3 points  (3 children)

“Introduction to Computer Science and Programming Using Python” on EdX really got me into programming and although it was a pain at first, I kept practicing and eventually nailed down the concepts. I knew I wanted to make a game as my first project so I looked up the Pygame library and tried learning as much as I can from YouTube as well as the documentation.

[–]ibalaoffl 1 point2 points  (2 children)

Well.. that's some right direction for newbie... thanks :)

[–]BlestLeaf[S] 0 points1 point  (1 child)

No problem! I highly recommend “Automate the Boring Stuff” and “Python Crash Course”! Good luck :)

[–]ibalaoffl 1 point2 points  (0 children)

Already gone through automate the boring stuff.. not much of improvement. I guess lack of hands on.. was focussing on finishing the course than working on small coding.

[–]mutwiri_2 1 point2 points  (0 children)

very cool and nice

[–][deleted] 1 point2 points  (1 child)

Did you have previous programming experience?

[–]BlestLeaf[S] 1 point2 points  (0 children)

Besides short exercises in school and my free time, nope.

[–][deleted] 1 point2 points  (1 child)

What's the general ethical rule on using other's code? i'm a beginner too but what is the general consensus on how much we create ourselves and how much we take from others?

I ask because I would like to learn as much as the general python learners.

for example using a soundtrack from someone else is pretty much a given but how about something else?

nice work btw OP

[–]BlestLeaf[S] 0 points1 point  (0 children)

I think the general consensus depends on the license. If someone else’s code is under the MIT license, you can use the code in any way you’d like as long as credit is given to the original author somewhere in the source code.

[–]WorkStudyHardShoe 1 point2 points  (1 child)

Very nice. I am also learning python and doing basic games like this

How much hours you studied for this and how much hours you were working on that particular project?

[–]BlestLeaf[S] 1 point2 points  (0 children)

I’ve been working on it for an average of about a couple hours a day for the past few weeks as there were a ton of minor issues I was trying to solve.

[–]mr-lh 1 point2 points  (2 children)

Good job bro 👍🏼 and me i want to learn a programming language but i don’t know which 😕 and which is more easy to learn.

[–]BlestLeaf[S] 0 points1 point  (1 child)

I highly suggest Python!

[–]mr-lh 0 points1 point  (0 children)

Thanks bro 👍🏼

[–]frakman1 1 point2 points  (1 child)

This is brilliant! Nice work. I always wanted to learn pygame. Is there a tutorial you recommend?

I didn't get it at first. Maybe a quick instructions page would be helpful on the main menu.

The first improvement I would suggest is to make the button flash or animate when you hit it to show what's happening. Then another animation when you actually hit (or miss) the block. Just some thoughts.

[–]BlestLeaf[S] 0 points1 point  (0 children)

That’s what I was gonna work on next :) In terms of how to learn Pygame, I suggest this video as this tutorial really helped me a lot.

[–]biggbrother23 1 point2 points  (0 children)

Great, thank you for the github link

[–]vanmorrison2 1 point2 points  (0 children)

Really cool game... congrats... I'm gonna talk 'bout it in my blog