the_citizen

joined 1 week ago
[–] the_citizen@lemmy.world 2 points 2 days ago

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

[–] the_citizen@lemmy.world 1 points 2 days 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.

[–] the_citizen@lemmy.world 2 points 2 days ago

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

[–] the_citizen@lemmy.world 1 points 2 days ago

Thank you I will read it.

[–] the_citizen@lemmy.world 1 points 2 days ago (1 children)

I need to search formatters. Thank you for suggestion.

[–] the_citizen@lemmy.world 1 points 2 days ago (1 children)

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

[–] the_citizen@lemmy.world 2 points 2 days ago (1 children)

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

[–] the_citizen@lemmy.world 3 points 3 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 3 days ago* (last edited 3 days ago) by the_citizen@lemmy.world to c/python@programming.dev
 

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

[–] the_citizen@lemmy.world 4 points 6 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 6 days ago* (last edited 5 days ago) by the_citizen@lemmy.world to c/games@lemmy.world
 

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
[–] the_citizen@lemmy.world 1 points 1 week ago

Angry GPU noises.

[–] the_citizen@lemmy.world 0 points 1 week ago* (last edited 6 days ago)

Absolutely. World is progressing backwards in some ways.

[–] the_citizen@lemmy.world 3 points 1 week ago* (last edited 1 week ago) (2 children)

Sounds like you're explaining the difference between new Nvidia GPU's with previous ones.

81
submitted 1 week ago* (last edited 1 week ago) by the_citizen@lemmy.world to c/games@lemmy.world
 

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 ›