A downloadable tool

Effortlessly craft custom shapes, extrude them into 3D, and breathe life into them with dynamic rotation and animation. Your shapes, your vision—transformed into stunning pseudo-3D with intuitive control.

Download

Download
PixelChipCode_Extrude_Custom_Shapes.zip 26 kB

Install instructions

Creating and Extruding Custom Shapes in GameMaker

  1. Open the Sprite Editor Start by creating a simple shape. This will be the base for your 3D extrusion.
  2. Draw Your Shape Design the shape you want to extrude, such as a square, triangle, or any custom creation.
  3. Get the Coordinates Record the x, y coordinates of the shape’s key points. For example, a square would need the four corner coordinates. The order matters! Make sure the points follow the shape’s path, with the first and last points being the same to close the loop.
  4. Copy Coordinates Insert the coordinates into pixel_positions_array in your code, like this:
    pixel_positions_array = [[x1, y1], [x2, y2], [x3, y3], [x4, y4], [x1, y1] ]; 
    
  5. Run Your Project Watch as your 2D shape becomes a fully extruded 3D object, which can rotate, animate, and even respond to mouse inputs for dynamic control. Tweak extrusion depth and rotation angles for endless customization!

Leave a comment

Log in with itch.io to leave a comment.