7
\$\begingroup\$

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.

\$\endgroup\$
2
  • \$\begingroup\$ This question would probably be better titled "Cross Platform .NET Game/Graphics Library". \$\endgroup\$ Commented Sep 9, 2010 at 5:49
  • 2
    \$\begingroup\$ I'm usually all for directness but I think a little bit of politeness wouldn't kill... anyway: I fully support using OpenTK. \$\endgroup\$
    – Rushyo
    Commented Sep 10, 2010 at 11:44

1 Answer 1

10
\$\begingroup\$

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

\$\endgroup\$
2
  • \$\begingroup\$ code example - laurent.le-brun.eu/fsharp/opengl.fs \$\endgroup\$
    – zmdat
    Commented Sep 9, 2010 at 11:19
  • \$\begingroup\$ You can use OpenTK alongside various windowing methods - such as Windows Form or GTK. WinForms is pretty mature on Mono. \$\endgroup\$
    – Rushyo
    Commented Sep 10, 2010 at 11:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .