Rybadour / Spider-Fish

A simple Bullet Hell Shooter.
socr.uwindsor.ca/~giga
8 stars 4 forks source link

Going forward, SDL Pixel or OpenGL #15

Closed madebyjeffrey closed 13 years ago

madebyjeffrey commented 13 years ago

Just uploaded is a partially done code for OpenGL that tries to draw, and once that works would not take much more to have events handled.

OpenGL does have certain possibilities for effects that are not as easy in some cases or possible in others in a pixel buffer.

I have learned a lot of OpenGL in the last week, and feel that the code I have uploaded has potential, and could be a very good learning experience for everyone involved.

That said, there are some things that are easier to do in an pixel buffer. I have not run a very up to date version of the source code and look forward to taking a look at it tomorrow.

The source code I added is in the glfw-src directory. You might have to fiddle with it, and it requires GLFW 2.7.2, Boost, and a reasonably new compiler (I am using some c++11 stuff). I do not have a visual studio project or a cmakefile for it, nor has it been tested on windows — although I don't see too much that can go wrong with it at this point - except that it doesn't draw the triangle that it is supposed to :P.