Page 1 of 1

String based menu 2.1!

PostPosted: Sat Jan 01, 2011 11:30 am
by lcl
Hello guys!

This is demo of making menu with one variable that holds all the text needed.
Demo loads the page of menu according to what menu option you have chosen.
The demo contains no any other data files than the font.

It's really quite hard to tell more about that, go and check it out!

--------\\CHANGES SINCE 1.0//--------
  • Cleared up the code
  • Gradient selectors added & other visual things
  • Edited selectors
  • Typewriting

Look at the codes and learn something! :)

Re: String based menu!

PostPosted: Sat Jan 01, 2011 11:54 am
by Camper1995
Wow! Great. This code is little bit hard for me to understand it but the menu looks great. ;) I still think its easier to do it without any canvas
and just make those graphics and put little code like:
Code: Select all
if(cloneindex==0) {blah blah blah }


Good job. 8)

Re: String based menu!

PostPosted: Sat Jan 01, 2011 12:29 pm
by lcl
Camper1995 wrote:Wow! Great. This code is little bit hard for me to understand it but the menu looks great. ;) I still think its easier to do it without any canvas
and just make those graphics and put little code like:
Code: Select all
if(cloneindex==0) {blah blah blah }


Good job. 8)

Thanks!
I've done those with canvas for making it look better, and I
think it was easier to make with canvas. If I had done it with animation, I
should have done one, quite big selector, and that isn't what I wanted.

When I draw it with canvas, I can adjust it to the size of the option. :D
And when I've once written that code, it's very easy to use because it just draws
around the chosen option. If I create new options, I don't have to do anything to the code.
But if it would have been done with animation, I should always search the position for the
new option. Did you understand what I meant? :D

Re: String based menu 2.0!

PostPosted: Sun Jan 02, 2011 9:08 am
by lcl
Demo updated!

Re: String based menu 2.1!

PostPosted: Sun Jan 02, 2011 11:22 am
by lcl
Demo updated again! :lol: