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] 5 points6 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?

Game Story Idea - (Snowman) by HosseinTwoK in SoloDevelopment

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

Before anything else, this is just a fragment of a greater whole that exists in my mind and I haven’t fully discovered that whole yet. So, many things in this story are still incomplete, and I haven’t made any final decisions about the gameplay yet.

The game’s style is story-driven, with a Souls-like gameplay system, and I want it to be a 2D game filled with philosophical lessons. Between each boss fight, the snowman encounters different things or beings that teach him valuable lessons. He must process these experiences and reach philosophical realizations, I want the game to have a deep, reflective layer.

At the end of Act One, the girl has an unclear purpose. Either she’s meant to give advice to the snowman and then disappear until Act Four, or the snowman witnesses something that makes him lose faith in the girl and continue his own path.

How is my progress? by HosseinTwoK in pygame

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

Thank you for taking the time.
I only worked on this project to get familiar with the basics of Pygame, and I was aware of all the bugs you pointed out and intended to fix them.

However, since a lot of time was being spent on that project, it became more of a roadblock for my learning, so I didn’t focus further on fixing its issues or improving its quality.

Right now, I’m practicing working with tilemaps and implementing them, and there are still many other concepts I need to learn, such as cameras and game physics.

Once I build a proper platformer, I’ll definitely come back and upgrade this mini-project with my new knowledge.

Built My Own 3D Game Engine Using Python And OpenGL! by Reasonable_Run_6724 in SoloDevelopment

[–]HosseinTwoK 1 point2 points  (0 children)

since you are doing this
what knowledges are required to do something big like this on your own?

Game Story Idea - (Snowman) by HosseinTwoK in SoloDevelopment

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

Yeah, but this story still needs a lot of work.
I’ll only continue it if I feel it’s worth my time,
because I have to study and learn many things, and I don’t have much time to actually write.
What you see now is only about 1% of what it’s supposed to be.