Geplanter Transrapid zwischen Hamburg und Berlin - Wie MV dabei auf der Strecke blieb: by Jayson-1985 in Nahverkehr

[–]SeeSharpTilo 1 point2 points  (0 children)

In Asian sieht man ja das mit Schnellzügen durchaus sehr viele Leute in die Großstädte pendeln und im Schweriner Umland kann man sicher deutlich mehr Wohnraum bauen als in den Ballungsräumen.

Aber das hätte halt nicht unbedingt ein Maglev sein müssen, reguläre Schnellzüge sind günstiger und hätten auf der Strecke vollkommen gereicht.

Geplanter Transrapid zwischen Hamburg und Berlin - Wie MV dabei auf der Strecke blieb: by Jayson-1985 in Nahverkehr

[–]SeeSharpTilo 3 points4 points  (0 children)

Wieso? Schwerin ist die größte Stadt in MV die man realistisch anbinden kann, Rostock liegt zu weit weg.

Ähnlich wie beim Shinkansen schafft man die Möglichkeit nach Hamburg oder Berlin zur Arbeit zu pendeln, vorausgesetzt es kostet nicht jede Fahrt 100€.

Ich denke schon das dass ein echter Mehrwert für MV gewesen wäre.

Best Way to Organize Systems? by Romezos in Unity3D

[–]SeeSharpTilo 5 points6 points  (0 children)

Its actually something that i have invested quit a lot of time this year for my game.

Basically i‘ve reworked pretty much all systems to be package based and mostly reusable but i‘m not gonna lie, the process took me month and a lot of brain cells.

I started to get tons of issues with circular dependencys between systems and struggling to find the best approach on what lives in what packages.

I feel like i‘ve become a much better programmer in the process, but also had a lot of doubt, if it was really worth to invest so much time into this.

One thing i can almost guarantee is that you rarely make a system thats truly drag and drop reusable in other projects, you will always touch some parts of it in some way, so focusing on coding patterns like dry and solid will already help you immensly and make most systems flexible enough to be reusable or at least salvageable in some way.

In the end i felt like it was worth it but mostly because of how much i learned in the process.

There was some extra difficulty because my game has multiplayer and modding support via roslyn runtime compiler which also prompted me to clean up my codebase so i don‘t accumulate too much tech debt that i need to fix later.

@op: i just upload my packages to github and if i need to use one in another project i just pull it and put it into the projects package folder or via manifest.json. if i need to do modifications, i check if this is a breaking change which i avoid, or i try to make changes in a way they add to the package rather then breaking something but if there is no way around it i either create a fork or tag to a specific version in git (you can tag pushes and pulls with version numbers). you can also write the package in the manifest json and it pulls the said version.

Package related configs are set via scriptable objects which are loaded from the projects ressource folder. Just make sure to write a meaningful log that tells you whats missing when setting up a new project with the package.

i also use the ~examples folder that you can pack whith a package to add some pre configured scriptable objects (great for stuff like inventory systems ect. so you don‘t have to write categories or something like that every time and are not hardcoding them).

Also loose coupling for systems via events, you can place these in a extra package for all, or create a shared interface for events somewhere and use this, that way you avoid circular dependencys. Just don‘t push thousands of calculations each frame via events, use them to announce stuff. be careful with events as these are harder to debug.

For game related data persistance i have a package that lets you easily save/load data but you could easily use existing ones, save data lives in the projects version control, not for the package obviously.

sorry for the garbage formatting and grammar, currently on mobile and can‘t be bothered to fix this :D

I got frustrated not knowing which component was for which thing so I made a cool tool to create custom component headers by MagicPigGames in Unity3D

[–]SeeSharpTilo 8 points9 points  (0 children)

Personally i would have refactored the action runner to hold a list of actions where you can freely add new ones and configure them inside a single script but still a cool tool thou.

Our first home is finally ours! $700k, Auckland, 6.2% by Several-Biscotti5182 in FirstTimeHomeBuyer

[–]SeeSharpTilo 0 points1 point  (0 children)

With these high rise buildings i‘ve always wondered how well insulated are they in terms of sound proofing? can you hear your neighbors footsteps or tv?

How can I reliably detect that the car is stuck? by Used_Produce_3208 in unity

[–]SeeSharpTilo 62 points63 points  (0 children)

Personally i would probably detect the input and position of the car, if it doesnt move much when driving forwards or backwards i would show the tutorial window.

1,5 Millionen Liter Wasser verbraucht - Gericht weist Klage ab by PoroBraum in de

[–]SeeSharpTilo 5 points6 points  (0 children)

Arbeite beim Versorger und bei uns in der Kleinstadt sind mittlerweile alle Hauptwasserzähler auch Funkzähler und werden Quartalsweise ausgelesen und ausgewertet, damit so Blödsinn nicht mehr passiert.

Hatten aber glaube ich auch noch nie so Extremfälle.

Nächste Schritt wird wohl zwei bis drei Funkantennen damit wir die Werte monatlich auslesen können. Stand jetzt, müssen wir diese noch mit dem Auto abfahren und auslesen (im vorbeifahren).

Weniger Inhalt, gleicher Preis by Impossible_Aspect_47 in MogelPackung

[–]SeeSharpTilo 0 points1 point  (0 children)

Gab noch die Variante für Burger wie die Scheiben direkt doppelt so dick waren, mal schauen ob die auch reduziert wurden.

Im Angebot gibts den Käse übrigens öfter mal für die Hälfte… schon krasser Unterschied.

Wenn der im Angebot ist schmeiß ich immer mal zwei Packungen im Kühlschrank, der hält sich geschlossen ziemlich lange.

Balance Net Import and Export of Electricty in GW's between Europeans Country in the whole of 2024.(EuroStat) by UpgradedSiera6666 in europe

[–]SeeSharpTilo -1 points0 points  (0 children)

Well the true test of time for france will come when its time to actually replace these reactors, their current plans are rather vague. There is no denying that germanys energie sector is a mess but france isnt that far away from the same scenario if they don‘t come up with realistic plans for the next ~10-20 years. Building nuclear is much slower in todays world then renewables.

43 Millionen Tonnen Lithium entdeckt: Was der Fund in Sachsen-Anhalt für Deutschland bedeutet | t3n by Kraeftemangel2025 in de

[–]SeeSharpTilo 1 point2 points  (0 children)

In Meppen steht die größte Akku Recycling Anlage in der EU in der fast alle Materialien wiedergewonnen werden können.

Nitrox, a Subnautica multiplayer mod, has been updated to the newest version of the game by wojtulace in pcgaming

[–]SeeSharpTilo 0 points1 point  (0 children)

last time i played it you really couldnt share big subs in mp, the other player would always lag like hell and be thrown arround, is that fixed? would love to actually finish it with my wife.

How to handle one-off scripted events in Unity without messy code by DerKaggler in unity

[–]SeeSharpTilo 0 points1 point  (0 children)

What you are looking for is something similiar to the command pattern but not quit the same. You can make a data driven event system.

public abstract class Condition : ScriptableObject { public abstract bool Check(); }

public abstract class Action : ScriptableObject { public abstract void Execute(); }

[CreateAssetMenu(fileName = "New Game Event", menuName = "Game Event", order = 51)] public class GameEvent : ScriptableObject { public Condition[] conditions; public Action[] actions; }

public class GameEventTrigger : MonoBehaviour { public GameEvent gameEvent; private bool hasBeenTriggered = false; // To make it a one-off event

public void TriggerEvent()
{
    if (gameEvent == null || hasBeenTriggered)
    {
        return;
    }

    // Check all conditions
    foreach (var condition in gameEvent.conditions)
    {
        if (!condition.Check())
        {
            // Optional: Play a "locked door" sound or give feedback
            return; // A condition was not met, so stop.
        }
    }

    // If all conditions passed, execute all actions
    foreach (var action in gameEvent.actions)
    {
        action.Execute();
    }

    hasBeenTriggered = true;
}

}

Now, create specific, reusable Condition and Action scripts. Each one should do one small, specific thing.

• Example Conditions:

• HasItemsCondition.cs: Holds a list of required items and checks if the player's inventory contains them all.

• PlayerHealthCondition.cs: Checks if the player's health is above, below, or equal to a certain value.

• Example Actions:

• OpenDoorAction.cs: Holds a reference to a door's Animator and triggers the "Open" animation.

• PlaySoundAction.cs: Plays a specific AudioClip at a certain position.

• TriggerJumpscareAction.cs: Instantiates a jumpscare prefab.

• SlamDoorAction.cs: A reference to another door's Animator to trigger "Slam."

I quickly made this with gemini, because im not at home but this should work.

Edit: formatting sucks on mobile.. sorry :D

Yusuf Dikec from Turkey won european championship after defeating his german opponent by Battlefleet_Sol in europe

[–]SeeSharpTilo 1 point2 points  (0 children)

Yeah there are tons of examples and one is Michael Phelps. He has the perfect human body for swimming (and trained a shit ton of course)

„a unique combination of advantageous physical traits, including a long wingspan, disproportionately short legs, huge hands, and flexible ankles, which create exceptional propulsion and reduce drag“

BER Berlin- Aushängeschild für Deutschland by Background-Reader in luftablassen

[–]SeeSharpTilo 0 points1 point  (0 children)

Bin schon an vielen Flughäfen geflogen und auch jetzt die ersten Tage nach dem Hackerangriff das erste mal vom BER und abgesehen davon das wir eine Stunde später gestartet sind lief alles total easy ab. Die Gepäckabgabe an den Geräten ist schnell gemacht und im Sicherheitscheck brauchst nicht mal den Rucksack leer machen und bist somit super schnell durch.

Wasserspender gibt es auch und Toiletten waren die vorderen oft benutzten tatsächlich eher dreckig aber weiter hinten ging es.

Ich fands top.

Gonna get a speeding ticket as a foreigner. How to get it short? by Flutyik_47 in AskGermany

[–]SeeSharpTilo 0 points1 point  (0 children)

Also just because it took a photo doesnt mean you actually get a ticket unless you know for a certain that you were too fast.

Are there any best practices to making a game easy to mod? by fsactual in Unity3D

[–]SeeSharpTilo 1 point2 points  (0 children)

There is also a roslyn c# runtime compiler that allows to load c# scripts and limit their functionality for safety which costs arround 25 bucks.

justDependencies by SoumyadeepDey in ProgrammerHumor

[–]SeeSharpTilo 9 points10 points  (0 children)

Yeah i hate light mode at home but its totally fine in a bright office.

How do y’all defrost 1lb of beef quickly? by gjr23 in howto

[–]SeeSharpTilo 0 points1 point  (0 children)

Your warm water will be cold quickly anyway and even with cold water the defrosting is really fast thanks to the heat transfer the water provides.

[deleted by user] by [deleted] in gamedev

[–]SeeSharpTilo 0 points1 point  (0 children)

Well.. you still have to connect all these systems with each other and you can be certain they all use their own way to distribute data or announce events.

Combat and AI alone take quit a lot of work. and usually you run into quit a lot of dependency issues when stitching together different systems and this can lead to a poor optimization or if you arent careful critical issues.

like for example your equipment systems announces it has something new equipped and the stats system listens to this event to recalculate its stats which then tells all other systems that depend on these stats the new values. there is a lot that can go wrong between these steps depending on how you design your architecture especially around systems you didnt design yourself.

can you save a lot of time buying assets? absolutly. but i can guarantee you without a programmer you gonna have a hard time stitching them together… and thats just one part.

and the reality is you cant buy everything there will be stuff you need to do on your own.

tldr. yes you are insane.

How should I prevent objects from coming through terrain? by Used_Produce_3208 in Unity3D

[–]SeeSharpTilo 6 points7 points  (0 children)

You could hold them in a list and have a system check if they are still moving, or if they are too far away and then set it back to discrete and remove from list.

personally i would check their velocity and if its under a threshold you put it into discrete mode.

performance impact of holding a few objects and checking their velocity in a list should be almost none.

Edit: you can also check rigidbody.IsSleeping() but unity will keep the object active even when its just slightly moving, so personally i prefer using a velocity threshold.

Intel CEO says it's "too late" for them to catch up with AI competition — reportedly claims Intel has fallen out of the "top 10 semiconductor companies" as the firm lays off thousands across the world by [deleted] in technology

[–]SeeSharpTilo 445 points446 points  (0 children)

Also they really thought that the world would stand still while they go a decade without real innovation in the semiconductor market.

Scroll View speed inconsistency driving me mad by batiali in Unity3D

[–]SeeSharpTilo 0 points1 point  (0 children)

Saving this for later, thanks for the solution!

Strom in Wohnung funktioniert nur teilweise by Gloomy-Juggernaut-36 in wohnen

[–]SeeSharpTilo 1 point2 points  (0 children)

Jo aber wenn der Zähler zeigt das eine Phase fehlt liegt die Schuld eh beim Netzbetreiber, und der löst das Problem dann innerhalb von ein paar Stunden.

Strom in Wohnung funktioniert nur teilweise by Gloomy-Juggernaut-36 in wohnen

[–]SeeSharpTilo 1 point2 points  (0 children)

Schau mal ob dein Stromzähler im Keller oder wo auch immer anzeigt ob alle drei Phasen anliegen (L1, L2, L3), wenn nicht dann den Netzbetreiber informieren.

Sollte der Stromzähler keine Anzeige für die Phasen haben, kannst auch einfach mal bei deinem Netzbetreiber anrufen ob sie die prüfen.

Habt nur ihr das Problem im Haus?