Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

rainbyte/frag

Repository files navigation

GIF Preview

Author: Mun Hon Cheong (mhch295@cse.unsw.edu.au)

Program: Frag - a FPS i put together using Haskell and with Yampa

Year: 2005, 2007-8

License: GPL

Requirements

  • A graphics card with support for multitexturing and vertex arrays
  • Debian/Ubuntu Linux: $ sudo apt-get install freeglut3-dev

Building

Stack

$ stack install
$ stack build

GHC

ghc --make -O2 -fglasgow-exts main.hs

runhaskell

runhaskell Setup configure --user --prefix=/home/foo
runhaskell Setup build
runhaskell Setup install

Usage

$ frag leveleg

leveleg can be an arbitrary Quake III Arena level; a default level is provided in this package, and is installed at the project root. For example, if installed into ~/bin, and frag occupies ~/bin/frag, a successful invocation might be frag ../share/frag-1.1/leveleg.

Controls

  • w forward

  • s back

  • a strafe left

  • d strafe right

  • e jump

  • z/x lock / unlock mouse

  • Mouse0 (left click) fire


cheers, Mun

About

Frag is a 3D first person shooting game written in Haskell, by Mun Hon Cheong

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6

AltStyle によって変換されたページ (->オリジナル) /