Live data from Hacker News

Open Golf: A cross-platform minigolf game written in C

github.com

81–90 of 99 posts

Re: Open Golf: A cross-platform minigolf game written in C

#81
post #72

Kind of looks like neverball/neverputt ( https://neverball.org/ ).

Neverball also has a browser version that's compiled directly from the C code. (Shameless plug, I'm one of the developers.) https://neverball.github.io/

This is great.

Re: Open Golf: A cross-platform minigolf game written in C

#84
This is wonderful. Thanks for making it.

-- Wanted to share a memory. Growing up there was this put-put course that was called Magic Mountain that my family and I used to go to. It was sort of a big hill that they made into a mountain so that when you were walking on it you felt like you were a giant. Anyway they had this small stream that came down the side of the mountain and wound in-between all of the courses. There was this one hole where the stream intersected at the top of this really obnoxious little course with lots of switchbacks and weird angles. You were "supposed to" (quote on quote) jump the stream and continue on with the hole, but if you managed to knock your ball into the stream there was a ball catch at the bottom that would push the ball back onto the course near the hole so it didn't get washed out to the bottom of the entire mountain. It was possible to make a hole in one if you knocked the ball into the stream - the little river would carry the ball down to the bottom and then gently push it into the hole. Your game reminded me of that memory. Thanks.

Re: Open Golf: A cross-platform minigolf game written in C

#86
post #72

Kind of looks like neverball/neverputt ( https://neverball.org/ ).

Neverball also has a browser version that's compiled directly from the C code. (Shameless plug, I'm one of the developers.) https://neverball.github.io/

It is remarkable to me that, once I’m in full screen mode and into a level, I can’t tell that this isn’t the desktop version. All the same crispness and responsiveness is there. I probably knew in my mind that this is possible these days, but every bit of muscle memory I apply here is telling me that Wasm, Emscripten, etc have become quite good, in a way that an unfamiliar game couldn’t tell me.

Thanks for giving me an easier way to share this good old game with friends!

Re: Open Golf: A cross-platform minigolf game written in C

#87
post #72

Kind of looks like neverball/neverputt ( https://neverball.org/ ).

Neverball also has a browser version that's compiled directly from the C code. (Shameless plug, I'm one of the developers.) https://neverball.github.io/

How many changes to the C code are required for this sort of thing?

Re: Open Golf: A cross-platform minigolf game written in C

#88
post #87
post #72

Earlier quoted context omitted.

Neverball also has a browser version that's compiled directly from the C code. (Shameless plug, I'm one of the developers.) https://neverball.github.io/

How many changes to the C code are required for this sort of thing?

That depends on the code. Neverball has acquired a high level of portability thanks in large part to SDL2 and OpenGL (ES). So compiling to Emscripten was mostly about rearranging the pieces that were already there. My original patch was surprisingly small. (https://github.com/Neverball/neverball/commit/517c93b7bcf63f...) I would say I spent more time on integration with browser APIs, so it would behave and feel more like a web app.

Re: Open Golf: A cross-platform minigolf game written in C

#89
post #72

Earlier quoted context omitted.

Neverball also has a browser version that's compiled directly from the C code. (Shameless plug, I'm one of the developers.) https://neverball.github.io/

It is remarkable to me that, once I’m in full screen mode and into a level, I can’t tell that this isn’t the desktop version. All the same crispness and responsiveness is there. I probably knew in my mind that this is possible these days, but every bit of muscle memory I apply here is telling me that Wasm, Emscripten, etc have become quite good, in a way that an unfamiliar game couldn’t tell me. Thanks for giving me…

Are you the same Penwielder who made Penwielders Scrapbook (a Neverball level)? I seem to have an uncanny memory of usernames from the old Neverball forum. Anyway, your name inspired me to find that level and add it to the in-game downloads.
Post reply on HN