This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Lewisk3's profile picture

Simple Menu System

Started by Lewisk3, 08 November 2013 - 01:50 AM
Lewisk3 #1
Posted 08 November 2013 - 02:50 AM
Menu System By Redxone
Menu1.2:http://pastebin.com/XgjQS7HT
GamePak: http://korbincraft.c...Pak/GamePak.zip
Can i Add My Own Games? - Yes!
Just Select LoadGame And Enter The Name Of Your Game!
Screenshot Animated!

ChangeLog - Old Versions
SpoilerMenu1.0: http://pastebin.com/r0tPvyN2
Edited on 08 November 2013 - 06:30 PM
Zudo #2
Posted 08 November 2013 - 03:33 PM
Good job.
Lewisk3 #3
Posted 08 November 2013 - 05:04 PM
Thanks
jay5476 #4
Posted 08 November 2013 - 11:37 PM
to save you time do this

cp = term.setCursorPos
--# instead of this
function cp(...)
term.setCursorPos(...)
end
theoriginalbit #5
Posted 08 November 2013 - 11:51 PM
Very good for a first program? Can't wait to see what you do once you get more experience with Lua.

to save you time do this

cp = term.setCursorPos
--# instead of this
function cp(...)
term.setCursorPos(...)
end
That has to be the weirdest thing to pick on… There's other things you could have got OP to fix that would have actually benefited the program, rather than just loosing two lines.
Edited on 08 November 2013 - 10:52 PM
Lewisk3 #6
Posted 09 November 2013 - 02:16 PM
Very good for a first program? Can't wait to see what you do once you get more experience with Lua.

Not my first program
did u see my beams game
or portalsim
or laserbox or laserbox2
or my fastturtle API
or my Hot Potato Game
Lewisk3 #7
Posted 04 July 2015 - 05:59 AM
to save you time do this

cp = term.setCursorPos
--# instead of this
function cp(...)
term.setCursorPos(...)
end

hmmm, interesting, never thought of doing it that way!
thanks for the information.

only how would u pass a arg through that?
nvm i just remember you could do cp(x,y)
because cp holds the same information as term.setCursorPos
Edited on 04 July 2015 - 04:01 AM