Sunrise

Overall★★★★★★★★★★2.75
Fun★★★★★★★★★★2.25
Innovation★★★★★★★★★★2.50
Theme★★★★★★★★★★2.25
Graphics★★★★★★★★★★2.50
Humor★★★★★★★★★★2.00
Mood★★★★★★★★★★2.25
Sunrise is a top-down hack and slash.

screenshot
Genres: action

Comments8

Ace17
Ace175 Apr 2022, 19:53
Hi! I tried to played but got an error related to glibc :

```
./ld50: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./ld50)
```

I'm using Debian Testing, which uses GLIBC_2.33.

So I tried to recompile your code, but some header files are missing from the cef framework :

```

In file included from ld50.c:4:
cef/cef.h:9:10: fatal error: ef_shader.h: No such file or directory
9 | #include "ef_shader.h"
```

Indeed, it seems lots of files are missing ! The README file in cef also talks about ef_audio.h, which isn't there on the repo ? If you add them, I can recompile the game and provide you with a more portable binary, with lesser requirements on the GLIBC version (so , for example, you can target LTS Ubuntu)

And also: I haven't played the game yet, but I'm really impressed by the archive size, 20kB !!!
gbgames
gbgames5 Apr 2022, 20:11
I'm having similar issues. I installed libglfw3 but apparently Ubuntu 20 LTS doesn't have libGLEW2.2, but it does have 2.1.
Starlight Glimmer is best poney5 Apr 2022, 22:31
The best practice for distributing Linux binaries is including the `lib` directory with *all* dependencies and a runner script like this:

```
#!/bin/sh
env LD_LIBRARY_PATH=lib ./command
```

Or you can just build for Windows if possible because you can bet on every Linux jammer having wine.
LDJam user 278045author9 Apr 2022, 22:58
Thank you for bring this to my attention. I have released a second version that should target GLIBC_2.3. I have also included all .so in a lib directory. As for ef_shader.h, it is a header file generated at compile time whose contents are just vertex.glsl and fragment.glsl made into global strings. I believe the file not being generated was an error with the Makefile which I have now addressed. As for ef_audio.h, it was a planned feature that was thrown out due to lack of time. Also thank you for your comments as to the .7z size, but sadly this was a consequence of not including the .so, and compatibility was more of a problem than I had anticipated.
gbgames
gbgames10 Apr 2022, 04:41
Ah, I'm using Ubuntu 20 LTS, and GLIBC_2.3 isn't available except in later versions of Ubuntu. B-(
TheHansinator
TheHansinator12 Apr 2022, 05:42
I'm using Pop_OS 21.10, and I got it to run. I'd say probably the best practice for absolutely foolproof Linux distribution (outside of getting published in a Linux distribution) is a containerized format such as AppImage (https://github.com/AppImage/AppImageKit), which is what the Linux build for my game uses.

Also, I'm not quite sure if I understood everything about the game. Are the controls just WASD to move and click to fire, or was there anything else?
Found a bug?
Tell us on Discord