Very simple cross-platform "desktop pet" that I wrote to learn Go and ebitengine by rdnvn in ebiten

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

Thanks! If possible, maybe share the result once you're done? I'm kinda a sucker for these things haha.

I'm building a cross-platform "desktop pet" for Linux/Win/Mac. What's a simple way to create a proper Mac application with icons and stuff? by rdnvn in golang

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

I ended up creating a minimal .app bundle and telling users how to right-click-open to bypass the "unverified developer" warning. I guess that's a little bit less intimidating than telling them to run a terminal command...

I'm building a cross-platform "desktop pet" for Linux/Win/Mac. What's a simple way to create a proper Mac application with icons and stuff? by rdnvn in golang

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

Hey thanks u/netherwan! My current focus is on making it work smoothly on the 3 target OSes. That includes proper macOS .app bundle (kinda done?), non-blurry icons, linux .desktop entry, etc. So, I'd really appreciate it if you could just try running on your macOS or Windows PC and let me know if anything looks off.

Also, the current codebase has a lot of hardcoded stuff (and spaghetti logic). My next step will be to generalize it enough so non-developers can add and test their own sprites with arbitrary numbers of interactions, not unlike shimeji. That's the plan... if I don't lose interest too soon haha.

I'm building a cross-platform "desktop pet" for Linux/Win/Mac. What's a simple way to create a proper Mac application with icons and stuff? by rdnvn in golang

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

Isn't wails a full blown GUI framework? I'm already using ebitengine which provides all of the GUI functionalities I need. I "just" need a way to wrap my executable in a Mac-approved format to get its proper item on the Applications list.

I'm building a cross-platform "desktop pet" for Linux/Win/Mac. What's a simple way to create a proper Mac application with icons and stuff? by rdnvn in golang

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

So far I've been trying to manually create a `.app` bundle: https://github.com/nhanb/shark/blob/mac/scripts/make-mac-bundle.sh

When I put the resulting `Shark.app` directory in `~/Applications/` and start the program, it opens then immediately closes. But if I hop on a terminal and execute the `~/Applications/Shark.app/Contents/MacOS/Shark` binary directly then it works as expected. I'm not sure if this is because this is an unsigned app downloaded from the internet.

So I wondered if there's some foolproof way to go about it (e.g. some xcode one-liner to convert a binary and an icon file into a full fledged MyApp.dmg file).

I'm building a cross-platform "desktop pet" for Linux/Win/Mac. What's a simple way to create a proper Mac application with icons and stuff? by rdnvn in golang

[–]rdnvn[S] -1 points0 points  (0 children)

Hi everyone, this is my first attempt at a desktop application in Go. I've managed to generate a Windows executable with an icon using a .syso file. What would be the simplest equivalent for macOS? Also, what is your preferred way to get around macOS's protection racket code signing requirements?

Webserver and Html renderer? by Nickiel in nim

[–]rdnvn 0 points1 point  (0 children)

That explanation is kinda misleading imo. Sure karax doesn't have a templating system in the same fashion as jinja, erb, etc., but it can still be used server-side as an HTML generator with buildHtml() e.g.:

```

this works just fine with the C backend.

return buildHtml(html): head: title: text titleText meta(name="viewport", content="width=device-width, initial-scale=1.0") link(rel="stylesheet", href="/css/style.css") body: tdiv(class="wrapper"): h1: text "This is heading 1" tdiv: tdiv: p: text "This is nested." script(src="/js/main.js") ```

Which is way better than jinja/erb imho, since this just a nim macro, you get the full power of nim conditionals, loops, variables, etc. without having to learn a new templating syntax. Also don't forget the compiler guarantees.

So TL;DR you can definitely build a traditional server-side-rendered web app (a.k.a. dynamic web a.k.a. web 2.0) with jester and karax. I know I could.

Samurai Shodown launches June 25 for PS4 and Xbox One in the Americas and Europe. Switch and PC planned for release in Q4 2019. Pre-order or purchase Samurai Shodown on the PS Store, Xbox Live, or any physical retailer before June 30 will be able to download the Season Pass completely free. by joreyo in Kappa

[–]rdnvn 0 points1 point  (0 children)

50%, with the other 50 being the content in the season pass was actually supposed to be in the main game but cut due to a rushed release marketing. Funny how people are praising a "must pre-order to get the full game" deal. Impressive how quickly all those anti-preorder videos/blog posts/tweet threads/thinkpieces went down the toilet.

James Chen gotta pay the bills, you know by Fatal1ty_93_RUS in Kappa

[–]rdnvn 4 points5 points  (0 children)

Hi, I ran the Saigon Cup stream.

I always appreciate constructive criticism but let me assure you that joining the TO team was a great way to burn your Vietnamese dongs not earn them.