the_citizen

joined 1 week ago
[–] [email protected] 2 points 1 day ago

Yes I need to use enums. I realized it now.

[–] [email protected] 1 points 1 day ago (1 children)

Yes I realized that I put everything to two classes. It's too much. I'll make more classes for more attributes.

I didn't know enums until now and it's awesome. I will do some exercises about it.

Last thing is interesting. I need to read that. Thank you for suggestions.

[–] [email protected] 2 points 1 day ago

That's very informative, I will rewrite the code with your suggestions. Thank you!

[–] [email protected] 1 points 1 day ago

Thank you I will read it.

[–] [email protected] 1 points 1 day ago (1 children)

I need to search formatters. Thank you for suggestion.

[–] [email protected] 1 points 1 day ago (1 children)

I revised the code. Added some spaces and comments for better readability. Hope it's better now.

[–] [email protected] 2 points 1 day ago (1 children)

These are looking awesome. Thank you for sharing this <3

[–] [email protected] 3 points 2 days ago (5 children)

Oops, sorry. I will revise the code and place spaces. Thanks for suggestion <3

24
How is my Python code? (raw.githubusercontent.com)
submitted 2 days ago* (last edited 2 days ago) by [email protected] to c/python
 

I don't know if it's the true place to ask, apologizing if not. I started to python one and half week ago. So I'm still beginner.

I made a terminal based weather application with python. What do you think about the code, is it good enough? I mean is it professional enough and how can I make the same functions with more less code?

Here's the main file (I also added it as url to post): https://raw.githubusercontent.com/TheCitizenOne/openweather/refs/heads/main/openweather.py
Here's the config.json file: https://raw.githubusercontent.com/TheCitizenOne/openweather/refs/heads/main/config.json

[–] [email protected] 1 points 2 days ago

Oh I understand it now. Thank you for information.

[–] [email protected] 1 points 2 days ago* (last edited 2 days ago)
[–] [email protected] 2 points 2 days ago

So probably it's about my network. Thanks for reply.

 

It's often being tremendously slow when I load the pages. Does this happen on just my pc or anybody has this too?

[–] [email protected] 4 points 5 days ago

Absolutely, DMM is really interesting too. I have some ideas to make a detailed explanation of physics engines like Euphoria, DMM etc.

24
submitted 5 days ago* (last edited 4 days ago) by [email protected] to c/[email protected]
 

Euphoria engine was a powerful physics engine which we generally know from Rockstar's games. It's one of the most detailed physics engines but wasn't used commonly. Because it was expensive and too complicated to integrate to game engines (generally big companies doesn't even use common game engines).

Unfortunately NaturalMotion ended licensing Euphoria engine with other tools in 2017.

Here's another demo video: https://www.youtube.com/watch?v=RYoMLC7BS0E

Example for games which used Euphoria engine:

  • Grand Theft Auto IV and DLCs (Rockstar integrated Euphoria to their own game engine (RAGE) and GTA4 was their first game with it.)
  • Grand Theft Auto V
  • Red Dead Redemption
  • Red Dead Redemption 2 (So generally all Rockstar games after Euphoria. )
  • Star Wars The Force Unleashed (Not completely uses Euphoria. There are three engine in SWFU.
  • Havok engine for controlling the movement of objects, DMM engine for regulating what objects are made from what substances, and the Euphoria engine for deciding how enemies react to their environment used in the game. You can look here for detailed explanation.). Here's a Euphoria demo video for The Force Unleashed.
  • Star Wars The Force Unleashed II
24
submitted 6 days ago* (last edited 6 days ago) by [email protected] to c/[email protected]
 

It's one of the trance musics which kept a place in my heart.

Rest in peace dear Robert Miles, you will continue to live in our dreams (1969-2017).

81
submitted 6 days ago* (last edited 6 days ago) by [email protected] to c/[email protected]
 

Half life was supposed to release in November 1997 but coding team decided to overhaul the game completely and released it in 19 November 1998. Everything is changed about it and became one of the most important game of gaming world.

 

cross-posted from: https://lemmy.world/post/28504288

It's mainly developing by Afritz1 for several years to bring TES Arena to today's standards as open-source implementation of the original game with C++. Still in development but doesn't have a gameplay yet. The game is supporting Linux, MacOS and Windows.

Here's the YouTube page: https://www.youtube.com/@afritz1265
Also here is the Github page if you're interested to play development version: https://github.com/afritz1/OpenTESArena

 

It's mainly developing by Afritz1 for several years to bring TES Arena to today's standards as open-source implementation of the original game with C++. Still in development but doesn't have a gameplay yet. The game is supporting Linux, MacOS and Windows.

Here's the YouTube page: https://www.youtube.com/@afritz1265
Also here is the Github page if you're interested to play development version: https://github.com/afritz1/OpenTESArena

 

In this end, we're surrendering to the mutants and telling the location of Vault 13. They're reverting The Choosen One to a mutant FEV and invading the Vault 13.

view more: next ›