gregcman / sucle

Common Lisp Voxel Game Engine
MIT License
287 stars 24 forks source link

Black screen "Untitled Window" on Peppermint 10 (Ubuntu 18) #20

Closed ghost closed 4 years ago

ghost commented 5 years ago

I'm using SBCL, Emacs + SLIME and quicklisp and i unfortunately can't get it to work :disappointed: Here's the output of glxinfo: OpenGL vendor string: X.Org OpenGL renderer string: AMD PALM (DRM 2.50.0 / 4.18.0-18-generic, LLVM 7.0.0) OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.2.8 OpenGL core profile shading language version string: 3.30 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.1 Mesa 18.2.8 OpenGL shading language version string: 1.40 OpenGL context flags: (none) OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.2.8 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10 OpenGL ES profile extensions: And here's a screenshot of what i have achieved so far... Screenshot_2019-07-28_12:49:29

gregcman commented 4 years ago

Sorry for the long wait. I really need to add a splash screen and instructions/help menu on what to do.

If you focus on the window and press "E" the screen should turn blue and the test world[which doesn't exist now] will load, and you will be able to move with WASD, place blocks and move around.

Once you can see a blue screen and a white dot [the crosshair], Then if you press "E" your mouse will be free again.

Now if you evaluate this:

(dotimes (x 100)
   (flet ((foo () (- (random 20) 10)))
        (world::plain-setblock (foo) (foo) (foo)  2)))

Then if you click on the window and press "E" again, grass blocks should appear.

Its very painful and convoluted, I really need to simplify the process.

Currently I'm trying to write documentation, tests and a tutorial but if you really want to get started then (world::plain-setblock x y z value) will place a block. (world::plain-setblock 0 0 0 1) will place a stone block at 0,0,0.