Community Status Updates
i don't know the best way to program things. it's so frustrating trying to decide how to code something. there's too many options.
Jan 08 2011 11:10 PM
the whole pointer thing...well...i wouldn't use a ds_list i would use a ds_grid as a table. x being the variable, y being the instance. there isn't much reason to point to anything in this case, just put lists inside the grid. gaah! it all sounds slow in my head =(
Jan 09 2011 05:59 AM
I'l tell you how Minecraft does it:
each cell stores a char (byte) - for most cells it is not used but for some cells it is used as flags for things like orientation. Minecraft doesn't do this (it uses 4 flags) - but you could just use 2 flags for orientation ex: 0,0 = north 0,1 = East 1,0 = west 1,1 = south ... for rotating sideways you could use an extra 2 flags. You now have 4 flags leftover and full rota...
Jan 09 2011 01:03 PM