Detective_Smith, on 02 July 2014 - 10:55 PM, said:
I would assume this is due to the use of global variables. All in all tho, this looms like a cool idea, especially the mods and such.
Posted 03 July 2014 - 04:06 PM
Csstform, on 03 July 2014 - 02:28 PM, said:
Posted 03 July 2014 - 07:51 PM
Detective_Smith, on 03 July 2014 - 04:06 PM, said:
local function exit() term.clear() term.setCursorPos( 1, 1 ) print("Thanks for playing!") error() endThis is just a simple example, but it should work
Posted 03 July 2014 - 08:02 PM
TheOddByte, on 03 July 2014 - 07:51 PM, said:
Detective_Smith, on 03 July 2014 - 04:06 PM, said:
local function exit() term.clear() term.setCursorPos( 1, 1 ) print("Thanks for playing!") error() endThis is just a simple example, but it should work
Posted 18 July 2014 - 12:53 AM
Posted 18 July 2014 - 01:18 AM
Posted 23 July 2014 - 04:11 PM
Posted 23 July 2014 - 08:34 PM
Posted 24 July 2014 - 12:31 AM
Edited by Detective_Smith, 24 July 2014 - 12:32 AM.
Posted 24 July 2014 - 09:51 PM
Detective_Smith, on 24 July 2014 - 12:31 AM, said:
Posted 25 July 2014 - 12:05 AM
TheOddByte, on 24 July 2014 - 09:51 PM, said:
Posted 11 October 2014 - 08:03 PM
for x=1,w do for y=1,h do term.setCursorPos(x,y) term.setBackgroundColor(map[x][y].bc) term.setTextColor(map[x][y].tc) term.write(map[x][y].char) end end
Posted 16 October 2014 - 10:32 PM
TheOddByte, on 12 October 2014 - 04:16 PM, said:
for n=0,15 do term.setBackgroundColor(2^n) term.clear() term.redraw() -- Flicker the screen with all the different colors end for n=0,15 do term.setBackgroundColor(2^n) term.clear() end term.redraw() -- Make the screen black (No flickering)
Edited by YoYoYonnY, 16 October 2014 - 10:35 PM.
Posted 17 October 2014 - 05:52 PM
Posted 17 October 2014 - 06:12 PM
Posted 17 October 2014 - 07:10 PM
Posted 17 October 2014 - 07:39 PM
0 members, 1 guests, 0 anonymous users