15 posts
Posted 21 July 2012 - 01:49 PM
[media]
http://www.youtube.com/watch?v=Zrzvh1K4zIg&feature=plcp[/media]
Skip to 4 minutes for the code tutorial, code used in description below the vid and also here
http://www.mediafire...fc0jqeec0gfk5kuThanks for watching!
109 posts
Posted 01 August 2012 - 06: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.
15 posts
Posted 02 August 2012 - 09: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:/>/>
109 posts
Posted 02 August 2012 - 09:37 PM
I'm glad that you added "imo" because I was gonna be like "wait what? I DISAGREE!". Fair enough though.
1 posts
Posted 16 August 2012 - 05: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.