Skip to content

2d space game written in Haskell and with gtk3/glade/cairo

Notifications You must be signed in to change notification settings

NathanC/OpenSkies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This was my first real haskell project. It's a 2d space game, using GTK3.

Long term goals is for this to be a polished game that's enjoyable to play, and possibly to migrate the game over to use FRP.

Here are some screenshots:

Space launches missiles, "x" changes missile type

Explosive missiles have larger explosion radiuses

Seeking missiles seek the ship targeted with TAB

To build/install this game, just download a branch and then type: cabal configure cabal build cabal install

Then just run the OpenSkies executable located in your .cabal folder. (it was compiled with the -threaded flag, so feel free to run it with +RST -N to run with multiple processesors)

The player located at the center of the screen. Left and right turn the ship, and foward moves the ship forward. The ship stays centered in the screen, but the world moves around it.

"x" changes the weapon selected, and space fires it. For the "SeekingMissle" weapon, pressing tab cycles through the visible enemies, and firing a seeking missile when an enemy is selected will cause it to seek out the enemy and destroy it.

Currently a game-condition (or pausing or something when the player health reaches zero) is not implemented.

About

2d space game written in Haskell and with gtk3/glade/cairo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published