Earlier quoted context omitted.
Don't get me wrong, it's not "bad" code (from a brief glance) but it's just clearly written as if it was Java code, and probably not in a usual IDE like Visual Studio, Rider or VSCode /w C# plugin (as that would typically scaffold a more C#-esque style). Here's what I've noticed so far: - Uses camelCase instead of PascalCase - Uses setter and getter methods instead of C# properties. - Uses reverse DNS namespace com.m…
Excessive use of arrays can be a sign of many things, but not of being a java developer. Perhaps a sign of having been a java developer at some point in time before 2004 but not having touched the language ever since.
Convert SimCity 2000 cities into Minecraft worlds
61–70 of 154 posts
Re: Convert SimCity 2000 cities into Minecraft worlds
#62Earlier quoted context omitted.
SimCopter wasn't the only game that allowed you to import from SC2k -- the city import is the only notable feature of the otherwise-unremarkable Streets of SimCity[0]. [0] https://en.wikipedia.org/wiki/Streets_of_SimCity
The music, the music was the other remarkable feature of streets of sim city.
Re: Convert SimCity 2000 cities into Minecraft worlds
#63https://github.com/jgosar/mine-city-2000/blob/master/SimCity...
Completely trivial, but as a long time C# developer, this was a big pet peeve.
For City name just do
public string CityName{ get; private set; }
Based on the fact that I see capital letters in String etc, this is either old code or this guy dove head first from Java.
Re: Convert SimCity 2000 cities into Minecraft worlds
#64Re: Convert SimCity 2000 cities into Minecraft worlds
#65It's C# though, so I have no idea how to build this under Linux. I also wish there was a Minetest backend.
Similar: OSM to Minecraft[0][1] (there should be another code drop soon-ish, I heard [2] they plan to move the dev effort to GitHub by the end of the year).
[0]: https://minecraft.ign.fr/
[1]: https://github.com/ignfab-minalac/minalac
[2]: video, in French: https://peertube.openstreetmap.fr/w/cLpfr5jWd9SipjJTDKDPmj?s...
Re: Convert SimCity 2000 cities into Minecraft worlds
#66Earlier quoted context omitted.
Clint Basinger's Lazy Game Reviews always has excellent reviews of Maxis games. LGR - SimCopter - PC Game Review https://www.youtube.com/watch?v=x4mh7Pc5MSI LGR - Streets of SimCity - PC Game Review https://www.youtube.com/watch?v=zi60A2-PcpM The SimCity 2000 Retail Demo Disk for DOS https://www.youtube.com/watch?v=G2b5HRRTH70 LGR - SimCity 2000 Network Edition - PC Game Review https://www.youtube.com/watch?v=W9e3WlJ…
Clint is great!
Re: Convert SimCity 2000 cities into Minecraft worlds
#67That looks great! It's C# though, so I have no idea how to build this under Linux. I also wish there was a Minetest backend. Similar: OSM to Minecraft[0][1] (there should be another code drop soon-ish, I heard [2] they plan to move the dev effort to GitHub by the end of the year). [0]: https://minecraft.ign.fr/ [1]: https://github.com/ignfab-minalac/minalac [2]: video, in French: https://peertube.openstreetmap.fr/w/c…
Re: Convert SimCity 2000 cities into Minecraft worlds
#68Earlier quoted context omitted.
Could you give examples of what you mean? I've had a look through and there are certainly stylistic things I'd do differently, such as using "var" and LINQ more, and capitalising method names. But it's easy enough to understand despite that.
Don't get me wrong, it's not "bad" code (from a brief glance) but it's just clearly written as if it was Java code, and probably not in a usual IDE like Visual Studio, Rider or VSCode /w C# plugin (as that would typically scaffold a more C#-esque style). Here's what I've noticed so far: - Uses camelCase instead of PascalCase - Uses setter and getter methods instead of C# properties. - Uses reverse DNS namespace com.m…
Re: Convert SimCity 2000 cities into Minecraft worlds
#69I thought it was interesting that not only does this guy choose C# over Java but he chooses to write getter methods instead of properties https://github.com/jgosar/mine-city-2000/blob/master/SimCity... Completely trivial, but as a long time C# developer, this was a big pet peeve. For City name just do public string CityName{ get; private set; } Based on the fact that I see capital letters in String etc, this is eithe…
Re: Convert SimCity 2000 cities into Minecraft worlds
#70That looks great! It's C# though, so I have no idea how to build this under Linux. I also wish there was a Minetest backend. Similar: OSM to Minecraft[0][1] (there should be another code drop soon-ish, I heard [2] they plan to move the dev effort to GitHub by the end of the year). [0]: https://minecraft.ign.fr/ [1]: https://github.com/ignfab-minalac/minalac [2]: video, in French: https://peertube.openstreetmap.fr/w/c…
Looks like the GUI uses WinForms, which means you won't be able to build it on linux, I would wager. You may, however, be able to run an already built version of it through Wine.