Search Unity

Which one is better

Discussion in 'Scripting' started by atsd, Apr 6, 2010.

  1. atsd

    atsd

    Joined:
    Feb 23, 2010
    Posts:
    73
    Hi

    I am making new platformer game for backgrounds i have possible two solutions.I prepared two generic script. Both seems fine as graphical quality
    1- 512x512 PNG and UV tilemapper (Basically builds A plane which has custom UV coordinates decided in edit mode which has approximately 80 vertex)
    2- Generic Math to Plane Maker (I gave that name :)
    It generates two lines from math equations then builds mesh between them again in edit mode which gives approximately 400 vertex but no texture needed)

    Dillemma here : Which one is faster. math plane maker usage seems better also it has unlimited zoom capability.BTW my second question will be which one seems better but i will send SS's when i got home


    Thank you in advance...

    Side Note: when i finish project i will send both script. They will be very useful for 2d games.
     
  2. atsd

    atsd

    Joined:
    Feb 23, 2010
    Posts:
    73
    I am simplifying my question :
    Which one is more efficient in terms of speed :
    80 veritices with 512x512 texture
    400-500 veritices with no texture