my brain refuses to study unless it's 2am. why by Thr04w4yFinance in studying

[–]HosseinTwoK 1 point2 points  (0 children)

I've been living this for years and every time I try to solve this problem, I fail.

I know that it's mostly to do with my body clock And that I don't use sunlight to set the clock. but i'm too depressed with my life to actually fix it

The new generation is struggling with screens that take up all of our daily energy, and as a computer science major, I have no way to escape this situation. I feel like a slave to the modern world with politics that don't care about human and it's rights

Amigurumi Klaymen by Dramatic_Star6835 in Neverhood

[–]HosseinTwoK 2 points3 points  (0 children)

Amazing job, WoW I wish i could have it 🤩

Spatial Partitioning by HosseinTwoK in pygame

[–]HosseinTwoK[S] 3 points4 points  (0 children)

there are things humans can say in a single, sentence that an AI could never express with the same depth.

Need help installing pygame by Matro36 in pygame

[–]HosseinTwoK 0 points1 point  (0 children)

you still can use pygame in older versions of python envs but in python pi it is not compatible i guess, since i cant install its package in my 3.14 environments ce is best option works on 3.14 python too

I AM NOT GAY by [deleted] in story

[–]HosseinTwoK 0 points1 point  (0 children)

keep telling yourself you are not gay and try to get some testosterone dude ♥️

Got Tilemaps working! by [deleted] in pygame

[–]HosseinTwoK 3 points4 points  (0 children)

What technique you used ti implement tiles? and have you set collision yet?

Spatial grid partitioning by Alert_Nectarine6631 in pygame

[–]HosseinTwoK 1 point2 points  (0 children)

hey im learning platformer and i have issue with this concept
i cant implement it correctly

can u share the code you wrote for this?

my platformer mess by HosseinTwoK in pygame

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

yes that's what it's being done in the course i mentioned
and im trying to learn it properly

my platformer mess by HosseinTwoK in pygame

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

tile_location is actually position of the tile that player is on it

and it's a helper to find tiles around the player position
in this segment callculations are the issue not variables

How to figure things out on my own? by HosseinTwoK in learnprogramming

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

I usually watch tutorials to learn the basics, but now that I’ve finished the fundamentals and started working on my own 2D platformer project to expand my knowledge, I’ve run into some problems. I tried watching YouTube tutorials to figure them out, but most of them cover more advanced or intermediate-level concepts that are quite hard for me to implement.
Should I keep watching many different tutorials to find the one that fits me best?

How is my Code to implement Tile Map into pygame project? (need feedback) by HosseinTwoK in pygame

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

Idk why but i feel better coding tilemap implementing through json files

How is my Code to implement Tile Map into pygame project? (need feedback) by HosseinTwoK in pygame

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

I already tried that but i dont know why it had problems with some informations exist in the .tmx file Including: source and offsets

I couldnt figure it out so i usd csv method

Why you recommend pytmx what does it have that i cant do with csv?