Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to make a grid on your baseplate?

This is just a general question that I have had for a while, how would you make a grid in your game?

I have no clue how to go about doing this, so any help would be greatly appreciated!

1 answer

✓ Accepted answer

So first, you could either go a few ways,

  1. Get a decal, Paste it on a tile and use that as a grid or,
  2. create parts and align them to make a grid or...
  3. create beams from one end to another to create grids!
  4. There are many ways to go actually, if you post code I will get into more depth!

A grid system is pretty good for placement games btw

here is a rough example that I randomly just created:

local rows = 5 -- set to X length
local columns = 5 -- set to Z length
local counter = 10 -- set to the grid size
local start = Vector3.new(0,0,0)
repeat wait()
	local new = Instance.new("Part")
	new.Parent = workspace
	new.Position = start
	new.Size = Vector3.new(5,5,5)
	new.Position = start + Vector3.new(rows,0,columns)
	new.Name = "Position_Grid"
	counter = counter - 1
until counter < 1

Hopefully this helped you, goodbye!

1 comment

1

Thank you this really helped!

This discussion is preserved as it was. New answers, comments, and votes are closed.