Jump to content


Community Status Updates


Photo

slayer 64

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 07 2011 10:40 PM
  • Docopoper's Photo
    Docopoper
    also: I know you made your own 3d grid (haven't really looked at the scripts) - but if you are willing to use a dll then try this:
    http://tinyurl.com/33w2zw5
    Jan 08 2011 11:10 PM
  • slayer 64's Photo
    slayer 64
    nah. no dlls for me. i want to keep everything gm so it won't be impossible to run on mac.

    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
  • Docopoper's Photo
    Docopoper
    but with a list - you can have variable numbers of variables.

    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