-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you want, here's unicode braille invaders. #8
Comments
You could also do sub-character (1-pixel) horizontal shifts:
|
Thanks! They look great. I pushed an experimental change to use them, run with new non-advertised "--unicode" option. Seems like some more work is needed to space them out better, and maybe also do explosions and shelters with Braille. |
Graphics from clort81: #8 This isn't finished yet, they're a bit too close together and more work is needed on some other sprites. For now it's a secret option: ascii_invaders --unicode
Graphics from clort81: #8 This isn't finished yet, they're a bit too close together and more work is needed on some other sprites. For now it's a secret option: ascii_invaders --unicode
That's awesome. utf-8 in C can be a bit difficult. title screen :
Sometimes this is caused by not setting LC envvars correctly: I had I'm not familiar with ncurses and mvprintw. |
On my FreeBSD system it looks like this: `
` Some time soon I'll test on Linux and macOS and see if I can figure out what's wrong there... |
Oh yeah I see the same corruption on Gnome Terminal on a Debian system. Funnily enough if I log into FreeBSD remotely through the Gnome Terminal on the same Debian system, it shows correctly. In both environments my LANG and LC_CTYPE are set to en_NZ.UTF-8. Hrmph. |
program should link against the ncursesw library (-lncursesw) to use UTF-8, rather than just ncurses (-lncurses |
Oh yeah, that fixes it! Now, I think we need to sort out the bombs (they kind of zigzag on the real game), the shields, the explosions, and the spacing... |
✓Agree: For unicode mode, seperate invader columns horizontally by an additional character
I think the spinning diagonal ascii bombs you have look pretty good, but there are some options with unicode
|
Shield damage in the original is interesting. Would take some programming to emulate the pixel-based damage. |
Turns out there's only three alien bomb shapes. |
They're not exact copies of original, but they could fit.
Depending on the font, the gap can be pretty big between lines.
The ugly bit is utf8 in c.
The text was updated successfully, but these errors were encountered: