News for hackers. Stuff that matters.
Re:Show HN: A friend and I spent 6 years making a simulation... by fnordpiglet on Wednesday June 01, 2022 @04:06PM (#31587291)
I’m a sad. No Mac. :-(

Looks really good. Congrats man. 84% overwhelmingly positive isn’t anything to sneeze at too. The experience must have been amazing. I learned more about computers in developing games that were 1% of what you’ve done. No matter the financial outcome you are winning at nerd life, which is the only life that matters (other than to your spouse your family and friends).

Re:Show HN: A friend and I spent 6 years making a simulation... by iliketrains on Wednesday June 01, 2022 @04:37PM (#31587732)
Thanks and sorry for no Mac support.

The hard truth is that Mac users represents less than 1% of our potential user base and it is hard to justify the time to support Mac. We are planning to revisit this decision soon and see how much effort would it be.

Re:Show HN: A friend and I spent 6 years making a simulation... by fnordpiglet on Wednesday June 01, 2022 @05:17PM (#31588253)
Yes, but we are the cool 1%.
Re:Show HN: A friend and I spent 6 years making a simulation... by stingrae on Wednesday June 01, 2022 @08:00PM (#31589695)
1st Quarter 2022, Apple shipped nearly 15% of all PCs sold in the US.
Re:Show HN: A friend and I spent 6 years making a simulation... by thejosh on Thursday June 02, 2022 @01:10AM (#31591571)
On Steam Mac accounts for 2.20% of hardware survey users.

https://store.steampowered.com/hwsurvey/Steam-Hardware-Softw...

Re:Show HN: A friend and I spent 6 years making a simulation... by culopatin on Thursday June 02, 2022 @08:04AM (#31593817)
But what would it be if games actually supported Mac? Chicken and the egg kind of thing
Re:Show HN: A friend and I spent 6 years making a simulation... by imdsm on Thursday June 02, 2022 @06:43AM (#31593355)
But we are the cool 2.20% right?

Right?

Re:Show HN: A friend and I spent 6 years making a simulation... by genewitch on Wednesday June 01, 2022 @09:07PM (#31590131)
Is this because they fab their own parts rather than off-the-shelf stuff that has been in supply side limbo for 2 years?

$1000 "arm board" with impressive power and performance envelopes will get you some market share, especially if the existing ecosystem bends to the manufacturer's will. As they do.

I fully expect the first company to really try and make an impressive risc-V workstation to clean up in that market, especially with people like myself that use higher end consumer parts as servers.

Re:Show HN: A friend and I spent 6 years making a simulation... by BatteryMountain on Thursday June 02, 2022 @05:27AM (#31592980)
No not that direcly. Even with mac + intel chips the situation is the same, the hardware not really the main barrier.

It's just a different software stack (OS, Drivers, Window management/UI, Sound, Networking, file access). It has similar barriers/differences in Linux. It requires extra build/compile pipelines at the minimum and most cases it means some refactoring of your code. In the worst case your gfx/audio/netcode is just plain incompatible (hard coded for a Windows/DirectX stack), meaning you have to rewrite quite a bit to abstract away the differences. This counts even in unity, it just helps here and there with making it cross platform and enforcing an opinion. These guys didn't use much of Unity and seems to use unity just as a rendering pipeline.

People who buy macs tend not to game on them much, they buy it for other reasons. I think people who owns macs and play games, tend to have consoles or even a gaming rig (since they can most likely also afford those to begin with).

Re:Show HN: A friend and I spent 6 years making a simulation... by 2muchcoffeeman on Wednesday June 01, 2022 @08:17PM (#31589806)
For playing games?
Re:Show HN: A friend and I spent 6 years making a simulation... by ChicagoDave on Thursday June 02, 2022 @12:42AM (#31591420)
Not for gamers though.
Re:Show HN: A friend and I spent 6 years making a simulation... by thomashop on Wednesday June 01, 2022 @05:52PM (#31588612)
is it 2005?
Re:Show HN: A friend and I spent 6 years making a simulation... by fnordpiglet on Wednesday June 01, 2022 @06:00PM (#31588707)
No. If you’re just waking up a lot has changed. There’s a pandemic. Donald Trump (seriously!) was president. There’s a new Cold War. Everyone works from home and drives an EV. Cars can drive themselves now. It’s a weird time to be alive. Good luck!
Re:Show HN: A friend and I spent 6 years making a simulation... by bilbyx on Wednesday June 01, 2022 @07:15PM (#31589359)
And Apple is no longer the cool company it used to be. Their decline in hardware and software quality was what made me stopped buying Macs after being a fan for the longest time.
Re:Show HN: A friend and I spent 6 years making a simulation... by stingrae on Wednesday June 01, 2022 @07:58PM (#31589676)
Is this a joke? Apple with M1 and iterations is changing the industry.
Re:Show HN: A friend and I spent 6 years making a simulation... by resonious on Wednesday June 01, 2022 @09:14PM (#31590185)
In the industry I'm in (just fintech SAAS), the only "change" I've been noticing is that all of our Mac user devs have even worse local development performance than before: inability to run some Docker containers, and very slow local server runtime.

I may be straying away from M1-related issues now, but I've also been seeing widespread Linux-style "why can't I share my screen?"-type problems. Not to mention fear of installing new updates and things breaking. It's like Mac is now the worst of both worlds of old Windows and Linux.

To be fair, I'm not actually a Mac user - this is just stuff I've been observing from the outside.

Re:Show HN: A friend and I spent 6 years making a simulation... by behnamoh on Wednesday June 01, 2022 @10:14PM (#31590509)
M1 has indeed introduced some positive and negative things.

(+) Impressive performance while staying literally quiet and cool all the time. My MBP's fans kicked in only once—when using ffmpeg. This in itself has pushed the industry forward. We shall see what Intel and AMD have to offer soon.

(-) Apple is obviously, well, Apple. They broke some things that used to work perfectly (or things for which there used to be a workaround). Apple is pushing a vision for user experience, which tbh, is not always ideal, but I get that. For this vision, they sacrifice so many things along the way (see this for example: https://medium.com/@parttimeben/mac-it-just-works-horribly-c...).

Docker has been working well for me. But I agree that some changes (esp. M1) have made macOS feel a bit like Linux.

Re:Show HN: A friend and I spent 6 years making a simulation... by tluyben2 on Thursday June 02, 2022 @02:54AM (#31592213)
I work in fintech saas and yes this has been an issue; my 11 year old x220 felt faster than the m1 when working on our monolith and services written in asp.net core and the docker services it needs. For everything native, it’s really fast. You really need to be careful to have everything native. With .net 6 which has an m1 target things are so much better. Same for the jvm, android dev and react native. Xcode is still buggy but we only use the tooling anyway.

In short; it started out rocky, but, if you are careful and use only native application so Rosetta doesn’t kick in, it is a phenomenal machine (I have the air); great keyboard, touchpad and screen, great battery life and it stays cool throughout a development day.

If you need x86/64 binaries, then these laptops are not a good choice; wait until there are m1 arm targets.

Re:Show HN: A friend and I spent 6 years making a simulation... by lukaszkups on Thursday June 02, 2022 @01:53AM (#31591821)
Like it was mentioned earlier, yes M1 kicked off for one year all the others in terms of performance - but hey, now we have 12th gen Intel Core H-series processors which have caught up (and overtook already from what I've seen in benchmarks) Apple's M-serie processors.
Re:Show HN: A friend and I spent 6 years making a simulation... by ztrww on Friday June 03, 2022 @03:23AM (#31605258)
They are far from catching up in power usage which is what matter for laptops. 5 hour battery life and loud fans does not seem like a very good price to pay for a hypothetically 10% faster cpu.
Re:Show HN: A friend and I spent 6 years making a simulation... by TruthWillHurt on Wednesday June 01, 2022 @08:22PM (#31589843)
Yes, by increasing how many lies people will believe.
Re:Show HN: A friend and I spent 6 years making a simulation... by fnordpiglet on Wednesday June 01, 2022 @07:25PM (#31589434)
I didn’t say Apple was cool. I said Mac users were. In fact, I’d posit anyone using a Unix based operating system is inherently cool.
Re:Show HN: A friend and I spent 6 years making a simulation... by selfhifive on Thursday June 02, 2022 @03:40AM (#31592437)
Mac users are the preppies of CS. They all think they're cool but come across as snobs living in a walled garden.
Re:Show HN: A friend and I spent 6 years making a simulation... by behnamoh on Wednesday June 01, 2022 @10:15PM (#31590513)
`man cool` please.
Re:Show HN: A friend and I spent 6 years making a simulation... by pipeline_peak on Wednesday June 01, 2022 @09:10PM (#31590157)
Also Steve Jobs is dead
Re:Show HN: A friend and I spent 6 years making a simulation... by 314 on Thursday June 02, 2022 @02:28AM (#31592037)
The dude's just woke up - this needs a spoiler tag.
Re:Show HN: A friend and I spent 6 years making a simulation... by BbzzbB on Wednesday June 01, 2022 @11:41PM (#31591056)
Without P2W and micro-transaction mechanics, I don't think Mac users are more valuable than other ones for OP (I assume that, in the context, you are referring the fact Apple users spend more [1, 2], tho it could just be a cheeky joke).

1: https://www.phonearena.com/news/app-store-users-spend-more-t...

2: https://timesofindia.indiatimes.com/gadgets-news/iphone-user...

Re:Show HN: A friend and I spent 6 years making a simulation... by jspaetzel on Thursday June 02, 2022 @03:49AM (#31592482)
This is exactly the kind of thinking that keeps mac-only or mac-first businesses from becoming successful more frequently.
Re:Show HN: A friend and I spent 6 years making a simulation... by peterpost2 on Thursday June 02, 2022 @04:13AM (#31592619)
Sure buddy
Re:Show HN: A friend and I spent 6 years making a simulation... by carabiner on Wednesday June 01, 2022 @07:34PM (#31589492)
> 1% of our potential user base

How did you determine this? Factorio is available for Mac. How did they, and other game developers, justify the work for a Mac port?

Re:Show HN: A friend and I spent 6 years making a simulation... by yellow_postit on Wednesday June 01, 2022 @08:25PM (#31589864)
Not speaking for OP but Steam has some interactive stats [1] Where as of May 22 shows Macs to be ~2% and Linux 1% of install base.

[1] https://store.steampowered.com/hwsurvey/Steam-Hardware-Softw...

Re:Show HN: A friend and I spent 6 years making a simulation... by genewitch on Wednesday June 01, 2022 @09:11PM (#31590161)
Author mentioned that they only use unity for the rendering and audio, cross-platform games will use unity for a lot more, and generally get cross-platform for a significantly reduced "cost".

This project is in C# so that's the first hurdle, I'd guess.

Re:Show HN: A friend and I spent 6 years making a simulation... by somenameforme on Thursday June 02, 2022 @02:30AM (#31592058)
C# has had cross platform support for 17 years. Without getting into the horror show of absolutely counter-intuitive acronyms that is modern .NET development (of which C# is a part), .NET now directly and natively supports cross platform targeting. I can build a Linux/Mac/etc binary from my Windows machine with the same compiler by changing a single flag. It's pretty cool stuff.

The Uno platform is a third party project that ties this, and more, together to enable building single code-base cross platform apps with native UIs simultaneously targeting Windows/iOS/Android/Web (WebAssembly)/Linux/macOS/Surface Duo.

Re:Show HN: A friend and I spent 6 years making a simulation... by oynqr on Thursday June 02, 2022 @01:15AM (#31591600)
Compiling modern C# is usually not a problem on Unix. Building the relevant tools yourself is a challenge, but the average macOS dev won't be doing that.
Re:Show HN: A friend and I spent 6 years making a simulation... by McBeige on Thursday June 02, 2022 @04:09AM (#31592585)
Perhaps using Steam's hardware survey:

https://store.steampowered.com/hwsurvey/

Re:Show HN: A friend and I spent 6 years making a simulation... by Mister_Snuggles on Wednesday June 01, 2022 @05:52PM (#31588618)
I've found that CrossOver[0] does a really good job at getting Windows games to run on Mac. It might be a good stopgap.

[0] https://www.codeweavers.com/crossover

Re:Show HN: A friend and I spent 6 years making a simulation... by 4m1rk on Thursday June 02, 2022 @01:34AM (#31591697)
I thought Unity is cross platform
Re:Show HN: A friend and I spent 6 years making a simulation... by thatwasunusual on Thursday June 02, 2022 @06:36AM (#31593312)
It is, but there are always some quirks that needs to be addressed on different platforms, and this takes up time when it comes to fixing and supporting those quirks.

I would definitely also just release for one platform, Windows that is, and then consider every platform added after that as a bonus.

Re:Show HN: A friend and I spent 6 years making a simulation... by alephnan on Wednesday June 01, 2022 @08:51PM (#31590030)
But Mac users are also more likely to spend extravagant amounts of money.

Have you tried sending out a survey asking “how much would you be willing to pay for this game?”

Re:Show HN: A friend and I spent 6 years making a simulation... by Fradow on Thursday June 02, 2022 @05:16AM (#31592920)
The game is a one-shot purchase though, and Steam doesn't offer a per-platform pricing.

It doesn't look like a game where micro-transactions would work either.

Re:Show HN: A friend and I spent 6 years making a simulation... by m_eiman on Thursday June 02, 2022 @07:20AM (#31593569)
Per-platform pricing is easy: just release the Mac version on Gog, the PC verson on Steam, the Linux version on … EA? Then you can set separate prices for each :)
Re:Show HN: A friend and I spent 6 years making a simulation... by BlueTemplar on Thursday June 02, 2022 @10:51AM (#31595596)
> Linux version on … EA ?

Nice trolling.

Linux would be of course on dev's own website, like for Factorio ? (Or Itch.io I guess ?)

Re:Show HN: A friend and I spent 6 years making a simulation... by aasasd on Wednesday June 01, 2022 @04:31PM (#31587651)
I thought that by now game engines just have two extra checkboxes to ’build for Mac’ and ‘build for Linux’. Perhaps the signing requirements changed that, though.

Notably also, plenty of games work fine under Wine, but Steam client itself doesn't—on Mac.

Re:Show HN: A friend and I spent 6 years making a simulation... by iliketrains on Wednesday June 01, 2022 @04:54PM (#31587948)
We do use Unity that does lots of heavy lifting for you regarding porting to other platforms.

However, it's not always that easy as checking a box. For example some shader optimizations may be specific to DirectX. File system works differently (no "User/Documents" on Mac). Or issues with native libraries.

Our game does work on Linux Proton though, that was a surprise to us.

Re:Show HN: A friend and I spent 6 years making a simulation... by danielheath on Wednesday June 01, 2022 @08:48PM (#31590015)
Proton with DV9K is - for a few games - faster than native windows. I don't fully understand it, but apparently the process of automatically rewriting shaders from DX to Vulcan can speed things up.
Re:Show HN: A friend and I spent 6 years making a simulation... by sph on Friday June 03, 2022 @04:37AM (#31605753)
I think you mean DXVK.
Re:Show HN: A friend and I spent 6 years making a simulation... by duped on Wednesday June 01, 2022 @05:55PM (#31588651)
It's pretty straightforward to have an abstraction for file systems with "special" file locations, it's been common in app sdks for at least a decade in a half. Unity doesn't have something like that?

Eg you would never use /tmp or %USER%/AppData, but call a function File::getPath(TempDirectory) or something like that.

Re:Show HN: A friend and I spent 6 years making a simulation... by kroltan on Wednesday June 01, 2022 @06:50PM (#31589150)
It does, but I'm guessing it's just one simply understandable example.

C# has the very Windows-centric https://docs.microsoft.com/en-us/dotnet/api/system.environme...

Unity itself has the Application.*Path properties for some more general cross-platform-aware paths. https://docs.unity3d.com/ScriptReference/Application.html

Re:Show HN: A friend and I spent 6 years making a simulation... by BlueTemplar on Wednesday June 01, 2022 @08:41PM (#31589973)
Curious, why targeting DirectX, rather than Vulkan... it's not like you think about releasing on Xbox, do you ?
Re:Show HN: A friend and I spent 6 years making a simulation... by iliketrains on Wednesday June 01, 2022 @09:25PM (#31590244)
I remember writing some GPU instancing optimization that had #ifdef for DirectX 11+, but that code is old. Now I've learned how to go without it.

It's just all those small things that has to be right to make it work cross platform.

Re:Show HN: A friend and I spent 6 years making a simulation... by Operyl on Wednesday June 01, 2022 @04:51PM (#31587922)
It’s not a matter of just having a build, it’s also about being able to support the users who use that build.
Re:Show HN: A friend and I spent 6 years making a simulation... by Sohcahtoa82 on Wednesday June 01, 2022 @05:21PM (#31588312)
Cross-platform languages (and by extension -- engines and frameworks) rarely work exactly as advertised. The "just check a box" rarely holds true except for the simplest of programs.

In the old days, Java would advertise itself as being cross-platform (Write once, run anywhere!), but in practice, rarely worked that way.

Re:Show HN: A friend and I spent 6 years making a simulation... by mst on Thursday June 02, 2022 @04:20AM (#31592636)
The joke of that era was "Write once, debug everywhere!"
Re:Show HN: A friend and I spent 6 years making a simulation... by pvg on Wednesday June 01, 2022 @05:38PM (#31588482)
There are some hugely successful Java games, oddly enough.
Re:Show HN: A friend and I spent 6 years making a simulation... by Operyl on Thursday June 02, 2022 @12:21AM (#31591313)
Even Minecraft, which is written in Java I’ll give you that, uses LWJGL which does have natives that behave in odd ways across platforms.
Re:Show HN: A friend and I spent 6 years making a simulation... by reidjs on Wednesday June 01, 2022 @05:45PM (#31588560)
Minecraft being the obvious example
Re:Show HN: A friend and I spent 6 years making a simulation... by branon on Wednesday June 01, 2022 @07:22PM (#31589407)
RuneScape <3
Re:Show HN: A friend and I spent 6 years making a simulation... by YSK_TECH on Wednesday June 01, 2022 @04:20PM (#31587510)
+1 would defenitely pick up a copy with Mac support. It looks awesome!
Re:Show HN: A friend and I spent 6 years making a simulation... by taejavu on Wednesday June 01, 2022 @06:32PM (#31588998)
Just adding another vote here, if there was mac support I'd buy it today. Without it I'm gonna add it to my wish list and wait for it to be 75% off.
Re:Show HN: A friend and I spent 6 years making a simulation... by j_leboulanger on Wednesday June 01, 2022 @05:02PM (#31588060)
Looking for a Mac version too :)
Re:Show HN: A friend and I spent 6 years making a simulation... by thelastinuit on Wednesday June 01, 2022 @04:47PM (#31587866)
Crossover probably can run it :)

https://www.codeweavers.com/crossover

Re:Show HN: A friend and I spent 6 years making a simulation... by karmicthreat on Wednesday June 01, 2022 @07:12PM (#31589345)
I'm in this boat also. Geforce Now https://www.nvidia.com/en-us/geforce-now/ has worked pretty well for me with these sorts of games. It's not perfect, but it's been relatively responsive.
Re:Show HN: A friend and I spent 6 years making a simulation... by sitharus on Wednesday June 01, 2022 @09:44PM (#31590356)
Same, I prefer games like this on my laptop so I can play casually. Still just install it on my gaming PC and use Parsec.