[Haskell-cafe] GLFW Textures (bloxorz)

jean legrand kkwweett at yahoo.fr
Fri Nov 27 10:35:41 EST 2009


Hi Haskellers,
I have two issues with the bloxorz game (current version bloxorz-0.1 on hackage). Perhaps they're mutually related. You tell me.

First, it seems that there is no refresh on the successive block positions. Look at 

http://img524.imageshack.us/img524/5945/bloxissue1.png

to see what I mean.

Second, any resize gives me a black window. Everything else is fine (levels, game rules, keys ...)

To produce the exe, I did :
ghc --make -O2 -o bloxorz Main.hs

and, as I think it deals with the textures, here is what I get with ghci :
Loading package syb ... linking ... done.                                
Loading package base-3.0.3.1 ... linking ... done.                       
Loading package ObjectName-1.0.0.0 ... linking ... done.
Loading package OpenGLRaw-1.1.0.1 ... linking ... done.
Loading package GLURaw-1.1.0.0 ... linking ... done.
Loading package StateVar-1.0.0.0 ... linking ... done.
Loading package Tensor-1.0.0.1 ... linking ... done.
Loading package OpenGL-2.4.0.1 ... linking ... done.
Loading package GLFW-0.4.1 ... linking ... done.

and I use GHC6.10.4 with Kubuntu 9.10.
Any ideas ?



      


More information about the Haskell-Cafe mailing list