String based menu 2.1!

Talk about making games.

String based menu 2.1!

Postby lcl » Sat Jan 01, 2011 11:30 am

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! :)
Attachments
NewMenu.png
StringBasedMenuNew.zip
(10.66 KiB) Downloaded 85 times
Last edited by lcl on Sun Jan 02, 2011 11:21 am, edited 5 times in total.
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: String based menu!

Postby Camper1995 » Sat Jan 01, 2011 11:54 am

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)
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score

Re: String based menu!

Postby lcl » Sat Jan 01, 2011 12:29 pm

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
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: String based menu 2.0!

Postby lcl » Sun Jan 02, 2011 9:08 am

Demo updated!
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: String based menu 2.1!

Postby lcl » Sun Jan 02, 2011 11:22 am

Demo updated again! :lol:
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest