Just Finished My First Python Project - Need Some Feedback!

June 24, 2025 5 answers
Asked by soup78C
Hey everyone! I've recently dived into Python and created my first project โ€“ a custom crosshair overlay for FPS games. I was frustrated with the limited crosshair options in games and the pricey apps that offer custom ones, so I decided to make my own solution. The overlay uses a 100x100 PNG image with a transparent background, allowing you to use any custom crosshair you can whip up in paint. I'm still learning, so I'd really appreciate it if anyone could take a look at my code and provide a review. Also, if there are any concerns about this potentially causing a ban in-game, I'd love to hear about it!

Answers

crumb_tray_cleaner
What exactly does your code do? I'm a bit confused about its purpose.
Reply to this answer
terrain contour
Hey, nice work on your first project! Just a few tips: try using pathlib instead of os for file paths, and remember to keep your type hints consistent. These small changes can really make your code cleaner!

soup78C: Thanks for the tips! I've switched to pathlib.

Reply to this answer
+MatchPoint+
Your project's impressive for a first try! Here are a few pointers: 1. Consider switching to SVG for your images. 2. Think about enhancing your README with images, so users know what your app does. Adding clearer instructions and headers will help too. 3. For readability, separate classes into different files instead of one script. Also, adding comments in your code will really help when you revisit it later. And yes, you might want to implement better error handling for file operations. Overall, great job!
Reply to this answer
+practice the scales!
Looks like a cool project! Just a heads-up, it only works in windowed fullscreen mode, not full-screen exclusive, which could be a limitation. But keep it up!
Reply to this answer
z0.8_spectrum
You might want to consider using an SVG file instead of a PNG. SVGs scale better and wonโ€™t pixelate like PNGs do. Might help with the visual quality!
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions