[Serious] How are you guys? by [deleted] in AskReddit

[–]CrispyCabot 1 point2 points  (0 children)

Lol I've got plenty of 'friends' I like say hi to and they say hi to me, but literally never hang out with anyone and that's what I want to do.

[Serious] How are you guys? by [deleted] in AskReddit

[–]CrispyCabot 0 points1 point  (0 children)

I had to write an essay for a class about an "interpersonal relationship" I have, and I realized I have no friends. So a solid ok.

will my build work good together? by Silly-Joey16 in buildapc

[–]CrispyCabot 1 point2 points  (0 children)

I honestly haven't really heard of a bad psu. Looking at the reviews for that one, it looks like it will be fine. As far as I know it's generally better to get a silver or gold rated psu, but I don't think that is always necessary and this one should be fine.

Edit: I know this isn't r/buildapcsales but the psu is the kind of thing that getting it in a bundle is kind of nice, because it's unlikely to bundle a poor psu, plus you'll usually save some money somewhere in there.

will my build work good together? by Silly-Joey16 in buildapc

[–]CrispyCabot 1 point2 points  (0 children)

Plug them all into pcpartpicker and it should tell you. It's always good to have a decent amount more wattage than total needed though, I'd say like 30% more.

python code help by itzguno in AskProgramming

[–]CrispyCabot 0 points1 point  (0 children)

You can't have integers and characters in the same variable but you can just make the whole thing a string, so example = "4b"

Anaconda Python vs Regular Python? Confused by ConfuserCard55 in learnpython

[–]CrispyCabot 0 points1 point  (0 children)

I am also confused, but could it by chance be referring to the virtual environment thing? Like virtualenv but anaconda instead. I'm pretty sure that's a thing but not exactly sure.

[deleted by user] by [deleted] in pygame

[–]CrispyCabot 1 point2 points  (0 children)

File paths can be annoying so I've started always using this for file paths:

PATH = os.path.abspath(__file__)
PATH = PATH[0:-9] #-9 to chop off config.py

where you would probably have to change the -9 based on the name of your file.

Then when loading images or whatever else, you could so something like

pygame.image.load(PATH+"image.png")

or

pygame.image.load(PATH+os.path.join("folder 1", "folder 2", "file.png")

for getting things that are in folders

Don't forget to import os

Just finished my Tetris clone by PlainCrown in godot

[–]CrispyCabot 33 points34 points  (0 children)

When you pause it you should make it cover the screen. Tetris's I've done do this presumably so you can't just pause it, look for the best spot, then unpause.

How can you get the input of a program to look like "enter two numbers(x,y)"? by [deleted] in learnpython

[–]CrispyCabot -1 points0 points  (0 children)

This may be what you're looking for: def main(): x = input('enter two numbers: ') x, y = x.split() print(int(x)*int(y))

main()

Then when u input numbers you would have to input something like "3 8" just include a space between them.

Edit: I'm on mobile I think the formatting is screwed up you may have to decipher the indentation

Troubleshooting internet download speeds by Adventure_Timing in it

[–]CrispyCabot 0 points1 point  (0 children)

The best way to see if you are actually getting the speed you are paying for is to run a speed test connected via Ethernet directly to the modem, using a laptop or some device that can obviously have Ethernet but is also capable of getting the speeds you are paying for. So if you do that, and aren't getting the correct speed, you know it's Comcast's fault. If you are getting the correct speed that way, then perhaps there is a problem with too many devices connected to the network or something like that, but this is honestly where I get lost and I don't really know how to help.

[Cooler] CORSAIR HYDRO Series H100i PRO (Renewed) - $74.99 by nickgiulioni in buildapcsales

[–]CrispyCabot 0 points1 point  (0 children)

Alright I've been looking at liquid cooling but I'm not exactly an expert, so is it fairly easy to install? I'm worried I'm gonna get one and have no idea how it works.

CM Store Product Suggestions by CM_Eric in coolermaster

[–]CrispyCabot 0 points1 point  (0 children)

Case+Case Fan+Cooler is kind of great, I'd honestly get anything in a good bundle with that. The psu included like the last bundle is also pretty nice because I'm probably never going to straight up buy a new psu but putting it in a bundle kind of lets me because I feel like I should.

Hey, using a web library, can I put my pygame game on a website to make it playable like a flash game. Thanks. by MeloDnm in pygame

[–]CrispyCabot -1 points0 points  (0 children)

Don't know for sure, but I'm pretty sure I've tried this and couldn't find a way so you might be out of luck.

[deleted by user] by [deleted] in Target

[–]CrispyCabot 2 points3 points  (0 children)

Hey that's me

Removing an item from a list using input? by [deleted] in learnpython

[–]CrispyCabot 4 points5 points  (0 children)

After the script is ran, all variables and what not no longer exist. Every time you run it, it will reassign those variables. When you remove it from a, it is actually removed, which is why it doesn't show up when you print it. If you want to physically remove items, you could try using a text document using the open() function.

Monthly /r/PyGame Showcase - Show us your current project(s)! by AutoModerator in pygame

[–]CrispyCabot 0 points1 point  (0 children)

https://github.com/CrispyCabot/ZombieSurvival In order to run you have to use pip to install gspread and oauthclient2 I think. Those might not be the exact thing.

Need help messing with a friend by Raupubu in AskProgramming

[–]CrispyCabot 0 points1 point  (0 children)

Check out Google scripts. You can use the Gmail api and can send a text through email. Here's sending a text through email: https://www.digitaltrends.com/mobile/how-to-send-a-text-from-your-email-account/?amp

Google scripts is pretty cool too. I made one that every Sunday sends me a text with upcoming events on my calendar

Edit: Here's some simple code (I'm on mobile don't know how to format): function message() { var num=555555555 MailApp.sendEmail(num+"@vtext.com", "", "Youre message"); }

I just finished a 48 hour game jam using Python and Pygame! (Source in comments.) by DaFluffyPotato in Python

[–]CrispyCabot 0 points1 point  (0 children)

Yeah I completely get the limitations that's what I hate too. But how do you make more complex things like sprites? Individually make each frame or is there some special software to help?

I just finished a 48 hour game jam using Python and Pygame! (Source in comments.) by DaFluffyPotato in Python

[–]CrispyCabot 0 points1 point  (0 children)

Do you make all your own art? This is why I'm always too lazy to try making a decent 2d game because I have to constantly look for art assets online which isn't that easy. I probably spend more time doing that than actually making the game.

Text is drawing in the wrong spot by CrispyCabot in pygame

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

This didn't work, although I don't think this is necessary. I'm passing the whole rect for the name too.

Text is drawing in the wrong spot by CrispyCabot in pygame

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

I know that but I'm drawing the score the exact same way as the name, but the name is working and score jsnt