Jump to content




Simple Menu System

game computer lua

  • You cannot reply to this topic
6 replies to this topic

#1 Lewisk3

  • Members
  • 150 posts

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!
Posted Image
ChangeLog - Old Versions
Spoiler

Edited by Redxone, 08 November 2013 - 07:30 PM.


#2 Zudo

  • Members
  • 800 posts
  • LocationUK

Posted 08 November 2013 - 03:33 PM

Good job.

#3 Lewisk3

  • Members
  • 150 posts

Posted 08 November 2013 - 05:04 PM

Thanks

#4 jay5476

  • Members
  • 289 posts

Posted 08 November 2013 - 11:37 PM

to save you time do this
cp = term.setCursorPos
--# instead of this
function cp(...)
term.setCursorPos(...)
end


#5 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

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.

View Postjay5476, on 08 November 2013 - 11:37 PM, said:

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 by theoriginalbit, 08 November 2013 - 11:52 PM.


#6 Lewisk3

  • Members
  • 150 posts

Posted 09 November 2013 - 02:16 PM

View Posttheoriginalbit, on 08 November 2013 - 11:51 PM, said:

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

#7 Lewisk3

  • Members
  • 150 posts

Posted 04 July 2015 - 04:59 AM

View Postjay5476, on 08 November 2013 - 11:37 PM, said:

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 by Redxone, 04 July 2015 - 05:01 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users