Posted 23 April 2014 - 05:27 PM
IMPORTANT NOTE:
This is now closed, since i dont think this will come to an end…
This is being more like a discussion of "coding skills" instead of actually solving the problem.
However, i know i'm not a good coder at all, but i would still like some respect, instead of someone. pointing me down and
directly saying im bad. We're all the same, but with different skills and knowledge. Why point down the ones who doesnt give the best solution?
Im not going to discuss this any further.
Thanks for reading
While i was making the Nexus portal code for Cranium's server, i decided to check if there is a "best"
way to define positions for buttons created on a monitor ( to resize to monitor )
Currently i use some variables as follows:
But is this the most effiecent way to do so?
Thanks in Advance
( Btw: im going to watch this thread again in 4 hours )
This is now closed, since i dont think this will come to an end…
This is being more like a discussion of "coding skills" instead of actually solving the problem.
However, i know i'm not a good coder at all, but i would still like some respect, instead of someone. pointing me down and
directly saying im bad. We're all the same, but with different skills and knowledge. Why point down the ones who doesnt give the best solution?
Im not going to discuss this any further.
Thanks for reading
Spoiler
Hello Everyone.While i was making the Nexus portal code for Cranium's server, i decided to check if there is a "best"
way to define positions for buttons created on a monitor ( to resize to monitor )
Currently i use some variables as follows:
local colonsPerPage = 3 -- It should explain itself
local rowsPerColon = 12 -- Still should explain itself
local currentColon = 1 -- used to go through all colons and combine pages
local currentRow = 1 -- used to count which position to use in X
local destinationsPerPage = colonsPerPage * rowsPerColon
Then i just add 3 ( the height of a button ) to the currentRow…But is this the most effiecent way to do so?
Thanks in Advance
( Btw: im going to watch this thread again in 4 hours )
Edited on 24 April 2014 - 07:14 PM