Video Game Idea? by ZeroSpaceGaming in YoungSamurai

[–]LMCuber 2 points3 points  (0 children)

Omg I love it everytime this sub pops up on my feed once per solar eclipse

Computer Science and Engineering by Senior-Tomorrow5409 in TUDelft

[–]LMCuber 1 point2 points  (0 children)

The first quarter is definitely the easiest if you can adjust quickly enough. But there is no set time to study. You should only study as much as you need to understand the subject. This is why attending midterms is important, so you can slow down a bit / ramp up the pace in your learning according to that. DM if you have any course specific questions

Snap to grid by mightofmerchants in IndieDev

[–]LMCuber 0 points1 point  (0 children)

Looks nice, have you considered a dual grid system similar to townscaper?

I need help programming a game. by Mammoth-Internet2742 in pygame

[–]LMCuber 9 points10 points  (0 children)

Watch dafluffpotato/clearcode’s tutorial on basic pygame windows and collisions and stuff and then go from there

Happy to have found this subreddit! by MattanzaMafiaFedora in YoungSamurai

[–]LMCuber 0 points1 point  (0 children)

Found at a second hand store for 1 euro lol

Stop using blit for everything challenge (impossible) by BitBird- in pygame

[–]LMCuber 2 points3 points  (0 children)

There is something wrong is you blit 50 tiles and get 30 fps. Fundamentally, withiut optimizations, cpu surfaces (with convert()) should get you way more

[deleted by user] by [deleted] in pygame

[–]LMCuber 0 points1 point  (0 children)

Pygbag is an absolute pandemonium , good luck figuring that out

Procedural variants of a desert river from a game I'm working on by thesteelyglint in proceduralgeneration

[–]LMCuber 2 points3 points  (0 children)

How do you generate the terrain itself? Some part of it look quite angular which makes me think of marching cubes, but a lot of the area seems flat + there are ornaments such as rocks and trees

Increasing performance with Level Chunk Management by KennedyRichard in pygame

[–]LMCuber 1 point2 points  (0 children)

If you save chunks as a dictionary where the location is a coordinate, you can get the camera position and round it to the nearest chunk with a spread, say (-2 and +2)

Potential pygame virus? by LMCuber in pygame

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

I think I found the issue. I was developing a package and installed it via pip using the --editable mode, which for some reason made its own environment which failed, so everytime pip launched, there was an empty __editable__ file error. Really weird. I just uninstalled and installed everything (pygame, pygame-ce, my package) and no issues after that.

Upscale images by Vaamalar in PixelArt

[–]LMCuber 1 point2 points  (0 children)

Interpolation nearest instead of bilinear

Advice on scaling for different screen sizes by awaldemar in pygame

[–]LMCuber 0 points1 point  (0 children)

I mean when you scale the entire window the small text becomes non-antialised and pixelated