Page 1 of 1

When object created in game can I make it go into a grid

PostPosted: Wed Dec 30, 2015 7:44 pm
by phantomunboxing
I am making a terraria like game and I want to make it so when blocks are "placed" they go into the grid not all over the place... is this possible to do easily?

Re: When object created in game can I make it go into a grid

PostPosted: Thu Dec 31, 2015 6:34 pm
by kathleen
You'd probably have to use an array, i'd help more but arrays are the most confusing thing in the world to me.

Re: When object created in game can I make it go into a grid

PostPosted: Thu Dec 31, 2015 6:39 pm
by LittleStain
How have you got your grid set up?
Are you using a tilemap or something else?