Sunday, January 9, 2011

F# Game Development

I'm a F# user. What library should I use to develop games (2D and/or 3D) in F# and being cross-platform? Like how Processing is.

Don't answer DirectX or WPF or other things that are "too .NET" because they are not cross-platform.

Show me a library suggestion and a code example and a link to help me to get started in your answer.

  • OpenTK has OpenGL and OpenGL ES bindings and works well with F# on .NET and Mono

    mdat : code example - http://laurent.le-brun.eu/fsharp/opengl.fs
    Rushyo : You can use OpenTK alongside various windowing methods - such as Windows Form or GTK. WinForms is pretty mature on Mono.
    From mdat
  • As far as i know , Unity has the ability to use F#.

    Tetrad : Maybe you can use code written in F# as a .NET DLL, but you can't write Unity scripts in it. Only "JavaScript", C#, and Boo are supported.
    From siranen

0 comments:

Post a Comment