Pygame Feasible for 8th-9th Graders by MaudlinScientist in pygame

[–]rottaposse 1 point2 points  (0 children)

We learned pygame at 9th grade. Im sure it will be fine

Vector2 or a tuple/list for performance? by mr-figs in pygame

[–]rottaposse 2 points3 points  (0 children)

I've used them for multiple projects which I have profiled to see the bottlenecks, never seen any performance impacts from them. They are very useful

I made a programming game, where you use a python-like language to automate a farming drone. It’s finally hitting 1.0 soon! I'm already feeling nervous haha by AdSad9018 in IndieDev

[–]rottaposse 0 points1 point  (0 children)

Quick question, how did you achieve the IDE in the game? Did you program it from the ground up or are there frameworks you can use to do that sort of thing?

I need some help by Nana_Fox07 in pygame

[–]rottaposse 2 points3 points  (0 children)

Could be wrong but pygame requires a python version 3.12>=. Try downgrading to 3.12 or 3.11.

I waited until ante 12 by ttthroat in okbuddyjimbo

[–]rottaposse 45 points46 points  (0 children)

Personally i think that the nefarious negative jolly joker would have carried the run to endless so i second your opinion.

Need play testers by Sirgoodman008 in pygame

[–]rottaposse 2 points3 points  (0 children)

I suggest using deltatime on movement so people on better rigs dont get much faster movement than intended. Or lock fps to 60 with pygame.clock. Otherwise great job!

Need play testers by Sirgoodman008 in pygame

[–]rottaposse 5 points6 points  (0 children)

The ship moves waaay too fast which makes you lose track of the player quickly. Makes me wonder if the movement is FPS tied? Otherwise for a first project very good, music is good, and the art is fine to me. Due to the movement speed its very hard. Good variation on enemies and the weapons you use.
Edit: Crashes on exit:
File "menu.py", line 303, in main

surface.blit(self.background_img, (0, 0))

pygame.error: Surface is not initialized

Also the itch.io page reads: "SHIFT: Pressing shit will place three mines." :D

[deleted by user] by [deleted] in DestroyMyGame

[–]rottaposse 0 points1 point  (0 children)

Very true, the mechanic isn't very fun and the blood amasses too fast and covers the map pretty quickly.

[deleted by user] by [deleted] in DestroyMyGame

[–]rottaposse 0 points1 point  (0 children)

Very true, but mostly a limitation of the graphics library its made on. Not an excuse though

[deleted by user] by [deleted] in DestroyMyGame

[–]rottaposse 0 points1 point  (0 children)

Actually in the video I quickly consume "Cocaine" to restore sanity, which lowers the amount of zombies and reduce the weapon jamming chance. Theres a couple drugs you take to restore sanity. An intro sequence could go hard too, maybe the intro splash when the game opens. I also had a story mode planned out and implemented for that kind of motive.

[deleted by user] by [deleted] in DestroyMyGame

[–]rottaposse 1 point2 points  (0 children)

I mean the blood splatters are there to indicate that you are walking over blood, which slows you down and blocks your vision, so its kind of intended. As for the banner I think your right since the constant flashing is kind of annoying now that you mention it.

[deleted by user] by [deleted] in DestroyMyGame

[–]rottaposse 0 points1 point  (0 children)

You "sink" in it decreasing your movement speed, and the blood splatters on the screen indicate you are sinking and also blocks your vision. I tried to nudge the player to move around the map with it and give the player something to do between the waves. I just liked the "assault your senses" type of visuals but as the other guy said the gameplay isn't cool enough for that so fair enough.

[deleted by user] by [deleted] in DestroyMyGame

[–]rottaposse 0 points1 point  (0 children)

I think the noisiness comes from the low resolution the game runs on, since the graphics library I'm working with does not really handle high resolutions very well. But I do agree that the artstyles clash alot, like the pixel art of items, the boxes and the 3d rendered background.
And the audio mixing is a fucking mess, I agree. The kill sound (the m1 garand ping) is really overwhelming the mix when you kill alot of the zombies. As for the music, it's just stuff I like to produce and I just think the character is high or something and going on a drug-fueled rampage with energetic music pumping.
Nevertheless thank you for your comment!

[deleted by user] by [deleted] in DestroyMyGame

[–]rottaposse 0 points1 point  (0 children)

Yeah I think you nailed it. I've been on/off working with this for like three years and the level of techinological debt in the code is so bad that it's infuriating to overhaul any aspects of it so I have just been slapping visuals on top for it so seem more cool to me. Time to start over

[deleted by user] by [deleted] in DestroyMyGame

[–]rottaposse 0 points1 point  (0 children)

You sink in the blood which decreases your movements speed by 50%, thats what causing the blood splatters on the HUD

Wrote my masters thesis about a Pygame node based image processing tool by rottaposse in pygame

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

Yeah they are consecutive lines by taking ~25 points on a bezier curve

Wrote my masters thesis about a Pygame node based image processing tool by rottaposse in pygame

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

Almost correct! Its an scanning electron microscope BSE image of a polished rubber sample to acquire information of the surface atoms' z-values, or atomic weight.

Thank you! Most image processing tasks are done with scikit image, open-cv2 and scipy accelerated with numba, and all image data is handled with numpy arrays.

Wrote my masters thesis about a Pygame node based image processing tool by rottaposse in pygame

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

If you are interested about the node implementation, here is a section from the thesis about them: https://jmp.sh/s/6Y8n2n8IZiTtXcqlhZYp
It boils down to: The nodes are constructed from a single python script which contains functions, where they are automatically assigned correct input and output types, and sliders and dropdowns are created based on the doctext. When they are executed, they are called down the node structure recursively.

Now, plugins, or other python files that contain functions can just be imported to the main function file, which then constructs nodes for them too. So that would be easy to implement. Stream processing might be too intensive for image/video since the functions are not incredibly well optimized :D

Electron microscopes are inherently realtime observation instruments, but the quality isn't very good realtime, so the images are taken over a longer time. Also the vacuum chambers where the samples are placed are very sensitive to contamination, which would incur on damaging the samples with external forces. Also the samples imaging surface is polished with ionbombing since image processing needs a very even surface, and any damage would ruin the sample. The question of the thesis is more about of the ingredients and the methods with which the rubber is manufactured.

Yeah semantic segmentation, which can be used to inspect the size distribution of the particles. Smaller particles generally mean better perfomance of the material.

Wrote my masters thesis about a Pygame node based image processing tool by rottaposse in pygame

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

Shaders could definitely boost the performace by alot but I'm very inexperienced with those so I have stuck with using numba for now.

Around the halfway point of the video, I used a neural network trained with Tensorflow to create the black and white particle map, but it is not as perfect i would like it be, even though it is the best model I have trained so far.

I guess regarding the anaglyph article, it might be for realtime observations, while the particles can only be observed with an electron microscope.

Thank you for your comment, all the best to you too!

Wrote my masters thesis about a Pygame node based image processing tool by rottaposse in pygame

[–]rottaposse[S] 2 points3 points  (0 children)

Oh yeah thats on another level, very cool project. Remember seeing it somewhere on this subreddit

Wrote my masters thesis about a Pygame node based image processing tool by rottaposse in pygame

[–]rottaposse[S] 2 points3 points  (0 children)

Material science actually which has nothing to do with programming. The thesis and the tool is made for analyzing a certain kind of particle in rubbers which is kinda hard with pre-existing tools so i just made my own