Tag: c++
-
—
Solving Invisible Geometry with Correct Winding
While teaching myself Microsoft DirectX , I fell into an issue that is best described as "invisible geometry". This is the unfortunate situation when lines aren't appearing when and where you expect them to. You've told…
-
—
Tetris Update
I've been on a roll with my Tetris development the past few days. Of late, I've implemented "pause" and "fast fall" (or "fast drop"). I've also added the ability to build a "mound". While working on the code to make the…
-
—
Tetris Game Shaping Up
Tonight, I reached a good point with my coding of Tetris: I managed to get falling pieces that I could move horizontally. Some big things are missing: boundary detection, the creation of the "mound" (the pieces that…
-
—
An Approach for Tetris Shapes in C++
I've been noodling with a Win32 version of Tetris , the ubiquitous "shape placing" game. I'm working in C++ using the Simple Directmedia Layer for my graphics. One of the interesting things in working out the game is…