Page 1 of 1

Free Software Spaceship Shooter?

PostPosted: 18 Jul 2019, 21:32
by Jastiv
Can anyone recommend a free software spaceship shooter? Doesn't everyone make that in programming 101, where you have a spaceship and you shoot at other spaceships?

Re: Free Software Spaceship Shooter?

PostPosted: 18 Jul 2019, 21:41
by Julius

Re: Free Software Spaceship Shooter?

PostPosted: 19 Jul 2019, 00:02
by dulsi
There are several in the Fedora distribution and probably other distributions. I've updated Shippy 1984. But if you are looking for code to learn from that one would not be a good choice. Pygames and pyarcade have some examples.

Re: Free Software Spaceship Shooter?

PostPosted: 19 Jul 2019, 04:36
by smcameron
Word War vi might qualify. It's a side-scrolling shoot-em-up along the lines of Defender or Scramble.

Image

Re: Free Software Spaceship Shooter?

PostPosted: 19 Jul 2019, 05:04
by Jastiv
I tried Word War vi, I couldn't get it to compile.

Re: Free Software Spaceship Shooter?

PostPosted: 19 Jul 2019, 05:36
by smcameron
Jastiv {l Wrote}:I tried Word War vi, I couldn't get it to compile.


Works for me:
{l Code}: {l Select All Code}
scameron@wombat ~/github/wordwarvi $ make
./stamp > stamp.h
cc    -O3 -pedantic   -pthread -pedantic -W -Wall  -DWITHAUDIOSUPPORT `pkg-config --cflags portaudio-2.0` -DDATADIR=\"/usr/share/wordwarvi/\" \
   joystick.o \
   rumble.o \
   wwvi_font.o \
   ogg_to_pcm.o \
   wwviaudio.o \
   wordwarvi.c -o wordwarvi   -lm `pkg-config --libs portaudio-2.0 vorbisfile` \
   `pkg-config --cflags gtk+-2.0` `pkg-config --libs gtk+-2.0 gthread-2.0`
/bin/rm stamp.h


What went wrong? I'd guess missing packages, portaudio19-dev, libvorbis-dev maybe?

Edit: also, there may be native packages already pre-compiled:
{l Code}: {l Select All Code}
scameron@wombat ~/github/wordwarvi $ apt-cache search wordwarvi
wordwarvi - retro-styled side-scrolling shoot'em up arcade game
wordwarvi-sound - retro-styled side-scrolling shoot'em up arcade game [Sound Files]

You may be able to just "apt-get install wordwarvi wordwarvi-sound"

And I think there are rpms for fedora as well.

Re: Free Software Spaceship Shooter?

PostPosted: 19 Jul 2019, 18:13
by Ntech
Try "dogfight-multiplayer." The code is GPL, the art and sound is taken from endless sky and is licensed CC-BY-SA-4.0.

https://github.com/palrogg/dogfight-multiplayer (JavaScript/HTML)

Here's a screenshot:
Image

Re: Free Software Spaceship Shooter?

PostPosted: 20 Jul 2019, 13:26
by Wuzzy
- Endless Sky
- Naev
- Long Night (Naev fork, but it is very hard to find nowadays)
- Pioneer

Re: Free Software Spaceship Shooter?

PostPosted: 20 Jul 2019, 19:50
by fluffrabbit
"Programming 101" probably doesn't have you making games as complex as Endless Sky, Pioneer, or Oolite.

XSoldier is a humble Galaga/Galaxian clone that I played for hours in high school. I'm sure in the future the X11 drawing surface will be seen as a contemporary of text-mode games. It's pretty basic, but that's part of its charm.

Someone on this forum is maintaining Project: Starfighter, which is half-way between XSoldier and Endless Sky. It feels like one of those genre mashups that hit the indie DOS scene in the early '90s.