bfops / Chess

Collaborative game-development effort in Haskell, OpenGL
MIT License
7 stars 0 forks source link

The first step #1

Open cgaebel opened 12 years ago

cgaebel commented 12 years ago

Our first step should be loading assets and displaying a simple chess board on the screen.

1) Load any image and draw in arbitrary position. 2) Draw text.

We'll talk about what to do once we're done these steps ;)

bfops commented 12 years ago

Any library ideas? I was thinking of getting acquainted with FieldTrip, but it seems a little overkill.

--Nevermind.

cgaebel commented 12 years ago

Fieldtrip was last updated in 2009. Let's just use opengl for now. On 2012-01-30 4:15 PM, "Ben Foppa" < reply@reply.github.com> wrote:

Any library ideas? I was thinking of getting acquainted with FieldTrip, but it seems a little overkill.


Reply to this email directly or view it on GitHub: https://github.com/RobotGymnast/Chess/issues/1#issuecomment-3727882

cgaebel commented 12 years ago

I'm working on basic text and texture renderers right now. It should be done by end of day tomorrow. You can get started on basic screen layout after that. By the way, check out the basic API in UI.Render. It's documented well. To view the documentation, do:

scripts/gendocs
firefox dist/doc/html/Chess/Chess/UI-Render-Core.html

Be sure to let me know if the documentation is incomplete in any way. I feel like I need more examples, so be sure to tell me if that's the case.

bfops commented 12 years ago

I can't run scripts/gendocs - it tells me there's a requirement of hscolour >= 1.8, which doesn't exist.

Edit: Oh not cabal hscolour, the program. Got it.

cgaebel commented 12 years ago

Finished textures awhile ago. Still need to do text rendering. I think the resource management system should be well-suited for it. I'll play with this eventually... Fucking Freetype.