3x3x3 Y – Increase dimensions. i.e. 4x4x4 -> 5x5x5 (not that if solid mode is true, then it will render slower Arrows – Translate the cubes across the screen If you’re only interested in the Transformation algorithms, check the below link: Graph4D – demonstrates methods and actual source code for rotating a 4D vector. Graph3D [...]
Posts Tagged ‘Development’
C++ Dynamic Memory Allocation (2D and 3D)
Posted by kenny on January 8th, 2009
This snipped of code is for allocating memory when using a multidimensional array. The following examples are for 2D ([][]) and 3D ([][][]) structures. First: to allocate memory for a two dimensional structure: (i.e. int[][] array) 1 2 3 4 5 6 7 8 9 int** array; // 2D array definition; // begin memory allocation [...]
Magus Map Maker – 2D Multilayer Map
Posted by kenny on December 25th, 2008
Note: for a more fully featured map maker, I would reccomend using Mappy This is just something I made a few years back to ease personal game development. Magus Map Maker is a 2D multilayer game map maker written in Purebasic. Magus Map Maker Features: Multiple Layers – make maps up to 3 layers plus [...]

Posted in
Tags:

