Hexgon cells - How to draw [Game Maker | Basics] @1upIndie
Hexgon cells - How to draw [Game Maker | Basics]  @1upIndie
Uploaded March 2023 | Updated September 2026, 7 hours ago
This basics video tutorial shows you how to setup hexagon cells in GameMaker.

Hexagon cells are pretty popular in strategy games and can make each cell look fancy. Drawing/placing these cells can be challenging because their shape is not as straight forwards as rectangles. So what you need to understand here is that you have to place them correctly near to each other. Each horizontal line of cells is a sum of the cell width or the sum of a cell width plus half. The height is bit wonky also, since you cannot take the full height nor the half.

Tldr: It is complicated, not too much but a bit


πŸ‘‘ Support me and get fresh game art and game maker projects every month:
patreon.com/1upindie

Follow me on:
πŸ“Έ Instangram: instagram.com/1upindie
🐦 Twitter: twitter.com/1upIndie
πŸ’¬ Discord: discord.gg/gvr98nb
πŸ“œ Udemy: udemy.com/course/become-a-video-game-developer-with-gms-23 (See youtube about page for discount)


CHAPTERS
-------------------------------------------------------------------------------------------------------
0:00 What we will do, hexagon cells/shapes
0:38 Subscribe
0:55 How hexagon shapes stick to each other
3:55 Quick setup, a spawner creates all hexagonal instances
4:50 Double repeat loop to add cells vertically and horizontally
5:30 Create each time a loop ends a hexagon instance
5:48 Set xx and yy to place the instances in their correct spot
7:16 Setting xx to with the width of a cell
7:52 Nullifying the iterated hor_ADD values to create a new row
8:17 Setting yy to with the height of a cell
8:37 Adapting the xx to snap correctly horizontally
9:10 Correcting the nullifyed xx values
Hexgon cells - How to draw [Game Maker | Basics]Bat Boy - Better then Shovel Knight? [Game Review]Patch V2.3.7 - New exciting features [GameMaker Studio 2]Placing Towers on click [#3 Tower Defence in GameMaker ]Pathfinding #3 - Best with grid [Game Maker Studio 2 | Advanced]Homing Rocket in 2 lines [Game Maker | Basics]Xp and popUp system [#11 Vampire Survivors Remake in GameMaker ]Bitmap/Sprite fonts - How to use [Game Maker | Basics]Wall bouncer -  [Game Maker Studio 2 | Enemy Ai]Steam capsule art, what is there to know? [Marketing for Indie developers]Access data structures + arrays [Game Maker | Basics]Dead Cells style fog - The easy way [GameMaker | Vfx]
1up Indie |

Hexgon cells - How to draw [Game Maker | Basics]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER