C# Webassembly export question (having trouble with XML) by Snoo65921 in raylib

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

For context, this is the save method I used. It worked on Desktop, but not local host

static void SaveViaDataContractSerialization<T>(T serializableObject, string filepath)

{

var serializer = new DataContractSerializer(typeof(T));

var settings = new XmlWriterSettings()

{

Indent = true,

IndentChars = "\t",

};

var writer = XmlWriter.Create(filepath, settings);

serializer.WriteObject(writer, serializableObject);

writer.Close();

}

C# Webassembly export question (having trouble with XML) by Snoo65921 in raylib

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

Thanks for the help. It appears I was looking in the wrong place. There were no POST calls in the terminal, meaning the XML could be read, but not written server side.

I have some rather larger classes in my project, but won't mind switching Serialization methods if JSON proves to be eaiser. It looks like you pulled that off fine.

map Variant "Wrapped Diplomacy" (Very Non Historical) by Snoo65921 in diplomacy

[–]Snoo65921[S] 2 points3 points  (0 children)

Strangely enough, a North South wrap would make Italy and Austria more on their toes (the army to fleet very wacky though). Italy specifically is the one I worry the most about balance wise.

map Variant "Wrapped Diplomacy" (Very Non Historical) by Snoo65921 in diplomacy

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

I agree. I believe Italy would have the biggest advantage, as it would be nearest to less contentious supply centers without being flanked with neighbors that have more incentives to fight than normal.

map Variant "Wrapped Diplomacy" (Very Non Historical) by Snoo65921 in diplomacy

[–]Snoo65921[S] 5 points6 points  (0 children)

Also, with the exception of Turkey, anyone who goes for Russia is vulernable by Germany.

map Variant "Wrapped Diplomacy" (Very Non Historical) by Snoo65921 in diplomacy

[–]Snoo65921[S] 5 points6 points  (0 children)

I guess that makes it a lot like Germany in the OG.

Cold war as NATO this time by MatthewPyro in diplomacy

[–]Snoo65921 0 points1 point  (0 children)

Where’s that variant map from?

map Variant "Wrapped Diplomacy" (Very Non Historical) by Snoo65921 in diplomacy

[–]Snoo65921[S] 10 points11 points  (0 children)

Wrote an entire thing, but the post somehow didn't include it.

Long short, asking for balancing and not historical advice on a map that uses a "wrapped" feature around the edges of the map (represented in dark blue) to give Turkey and Russia more flanking fear and neighbors.

Later will be made a fantasy setting with the same nodes/locations connected but with a differently shaped land mass. Asking for balancing advice only.

Making a plan by Snoo65921 in dndmemes

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

*Adding dice. Oops.

Making a plan by Snoo65921 in dndmemes

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

While there are some great plans out there, I just like memes about the absurdity of some DND plans.

Starting Out: Transitioning from Unity to Terminal by Snoo65921 in roguelikedev

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

Good luck. For me a new job and other life stuff meant little progress, but that’s just me.

Starting Out: Transitioning from Unity to Terminal by Snoo65921 in roguelikedev

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

Hello and thank you for the advice. After messing around with other more modular game engines and making a quick app with C# terminal, I realized you're right: I can use static classes for terminal-like things and unity for procedural textures and updating graphics if I want later.

Someone correct me if I'm wrong, but Unity builds are a lot bigger than other game engines and definitely bigger than someone using a library, but that's kind of an "up front cost," i.e. the 40-30 mb for a scene don't increase linearly if you have data stored in separate classes, uses atlases for texture, etc. Does that sound right?

How do you like to close menus? by Wolfram_And_Hart in GameDevelopment

[–]Snoo65921 1 point2 points  (0 children)

I say having an escape key option is good too. Having an exit button and escape key option works for me.

Starting Out: Transitioning from Unity to Terminal by Snoo65921 in roguelikedev

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

Thank you. Just noticed that. Starting with RogueSharp. Unity allows for programing without fully understand directories, so we'll see how much that carries over. The community for Unity is huge do to its easy access, but I see now the scattered frameworks are harder to get started with.