Jump to content




Video, how to create a basic menu!


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

#1 JelaFish

  • New Members
  • 15 posts

Posted 21 July 2012 - 12:49 PM


Skip to 4 minutes for the code tutorial, code used in description below the vid and also here http://www.mediafire...fc0jqeec0gfk5ku

Thanks for watching!

#2 KingMachine

  • Members
  • 122 posts

Posted 01 August 2012 - 05:45 PM

When I think of menu I think of a controllable selector moving across the screen, personally. Your way is very inventive however if I were to write out commands for my functions I would be writing a different program for each function to save time.
Ie a program
lighthouse
takes 1 argument
<on/off>
then the code for that etc...

Same with the energy management. I would rather type
em on or em off
straight from my console.

Just expressing what I would do to make this functioning more efficient. I mean no offense by that by the way. I just think that there is a better way to accomplish what is being done with your menu system.

#3 JelaFish

  • New Members
  • 15 posts

Posted 02 August 2012 - 08:21 PM

Your way is more efficient, but this way is easier to understand and do (imo). In my tutorials I try to explain why each line of code does what it does :ph34r:/>

#4 KingMachine

  • Members
  • 122 posts

Posted 02 August 2012 - 08:37 PM

I'm glad that you added "imo" because I was gonna be like "wait what? I DISAGREE!". Fair enough though.

#5 jww

  • New Members
  • 1 posts

Posted 16 August 2012 - 04:06 PM

Not trying to be a nitpick, but I just noticed a small thing. Your notes on the last "end" in the code say "while z" where z should be x. Just pointing out to save any confusion. Otherwise, it was a pretty good tutorial, very thorough.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users