Showing only posts tagged cpp. Show all posts.

Rendering Text!

I some­how feel hap­py about fi­nal­ly be­ing able to ren­der Text ;)image0

I’m us­ing the Freetype Li­brary and OpenGL. I thought about us­ing SDL TTF, but some­how I end­ed up de­cid­ing on this :)

This post was im …

Mouselook and SDL - Code

Okay, here is some code for mouselook with SDL

struct {
              int x, y;
              //In this case: the position where the mouse is held at
              bool trap; //flag for holding mouse at one place
          } mouse;

          void MouseMotion(){
              /* Set x and y to the current mouse position */
              int x, y;
              SDL_GetMouseState(&x …

Photo post 7

image0

Con­tin­ued work on Mi­neshoot­er!

I just read a blog-ar­ti­cle from man­with­steel­nerves about z-fight­ing which re­al­ly mo­ti­vat­ed me to con­tin­ue 3D-pro­gram­ming with OpenGL. That’s why I de­cid­ed to con …

Photo post 9

image0

This is a screen­shot of Mi­neshoot­er a game sim­i­lar to Minecraft, but as a Shoot­er Game. I was mak­ing this while learn­ing OpenGL 3D-Pro­gram­ming. I al­ready in­clud­ed com­mon Shoot­er-Nav­i­ga­tion (w-a-s-d and mouselook …

Photo post 11

image0

I al­ready men­tioned Zom­biehunt be­ing a 2D-Acrade Game. This is what Zom­biehunt looks like at the mo­ment.

I am still work­ing on this game and hope to get it fin­ished this year. It’s been writ­ten in C++ with the Al …

« newer articles | page 8