Just Finished My First Python Project – Need Some Feedback!

0
7
Asked By CraftyNinja42 On

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!

5 Answers

Answered By TechieTommy85 On

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!

Answered By CrosshairCritique On

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!

Answered By HelpfulHarriet On

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!

Answered By CodeWizard99 On

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!

CraftyNinja42 -

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

Answered By NewbieNerd On

What exactly does your code do? I'm a bit confused about its purpose.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.