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\$
  • \$\begingroup\$ This question would probably be better titled "Cross Platform .NET Game/Graphics Library". \$\endgroup\$ – Andrew Russell Sep 9 '10 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 Sep 10 '10 at 11:44
10
\$\begingroup\$

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

\$\endgroup\$
  • \$\begingroup\$ code example - laurent.le-brun.eu/fsharp/opengl.fs \$\endgroup\$ – zmdat Sep 9 '10 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 Sep 10 '10 at 11:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.