Isometric Grid

  • MasterMind555
    5th Nov 2011 Member 0 Permalink
    @GreekGuy (View Post)


    function draw()

    for i=0,200,1 do
    tpt.drawline(5 * i * size, 0, 5 * i* size, 500);
    tpt.drawline(0, i * 10* size, i * 10* size, 0);
    tpt.drawline(i * 10 * size - 500, 0, i * 10 * size, 500);
    end
    end
    function key(key_char)
    if key_char == "v" then
    tpt.register_step(draw)
    end
    if key_char == "n" then
    tpt.unregister_step(draw)
    end
    if key_char == "u" then
    size = size + 1;
    end
    if key_char == "j" then
    size = size - 1;
    end

    end

    size = 2;

    tpt.register_keypress(key)


    Save as autorun.lua
    The zoom will unaligne the rows 1 time on 2 but it works..

    Note: I Duct-Tape programmed that, I would usually code better then that but I am lazy today...
  • Atrayin
    5th Nov 2011 Member 0 Permalink
    @GreekGuy (View Post)
    yea really...
  • Videogamer555
    5th Nov 2011 Member 0 Permalink
    Isometric grid would be great for 3d drawings. Yes I know that there are no 3d motions in TPT, but if it's going to be used for drawing 3d art, just as a drawing program, then it would make sense for those who WILL use it like that to want to have this feature. Please include it for those who will use it, even though I myself probably won't use it. I am thoughtful of what others want.
  • BudCharles
    5th Nov 2011 Member 0 Permalink
  • GreekGuy
    5th Nov 2011 Member 0 Permalink
    I think it would be great to add in the next version an option to have an Isometric Grid under the "g" action button.