[TI-BASIC] Cool Menu

Got questions? Got answers? Go here for both.

Moderator: MaxCoderz Staff

Post Reply
pacotens
New Member
Posts: 11
Joined: Wed 06 Sep, 2006 4:05 pm
Location: Belgium-Ronse

[TI-BASIC] Cool Menu

Post by pacotens »

How can you make cool in game menu's in basic?
Could you help me with a code or some tips or tricks?
King Harold
Calc King
Posts: 1513
Joined: Sat 05 Aug, 2006 7:22 am

Post by King Harold »

Menu("Title","item1",label,"item2",label2....

better yet

Menu(sub(Str0,x,16),sub(Str0,x+16,14)....

but if you feel like doing it the hard way..
http://www.freewebs.com/lawcompany/KEYMAP.8xp

i wrote it when i was a bit bored, looks cool though, feel free to use it in any of your games

screeny :D

Image

as you can see it supports jumping to the end, inversing the part it is at, things like that..
sometimes it thinks up/graph is 7 (that's in xLIB tr1p..) but the keys are just to show what it could do
i could have done something similar with a variable menu, but doing it yourself is much cooler
User avatar
anykey
Extreme Poster
Posts: 420
Joined: Mon 31 Jan, 2005 3:36 am
Location: In the matrix
Contact:

Post by anykey »

That's a cool one.
I used to have a really cool menu on one of my games, but it got lost somehow.
Oh, and I'm too lazy to rewrite it.
I think, therefore iMac
Image
CompWiz
Calc King
Posts: 1950
Joined: Thu 13 Oct, 2005 1:54 pm
Location: UB

Post by CompWiz »

The one in acelgoyobis was amazing, but that was asm. What project are you working on that you need this for?
In Memory of the Maxcoderz Trophy Image
pacotens
New Member
Posts: 11
Joined: Wed 06 Sep, 2006 4:05 pm
Location: Belgium-Ronse

Post by pacotens »

i'm trying to make a stupid game
King Harold
Calc King
Posts: 1513
Joined: Sat 05 Aug, 2006 7:22 am

Post by King Harold »

a BASIC text based game? no RTS or RPG or anything?
then just Menu(args would be the best bet i think
chickendude
Extreme Poster
Posts: 340
Joined: Fri 07 Jul, 2006 2:39 pm

Post by chickendude »

...or you could leave out the menu entirely. And the rest of the program code. That was the first program I ever wrote for the calculator. I still make it from time to time just to make sure my coding skills having gotten rusty.
User avatar
anykey
Extreme Poster
Posts: 420
Joined: Mon 31 Jan, 2005 3:36 am
Location: In the matrix
Contact:

Post by anykey »

hahaha!
I'd say that it's worth it to make your own menu. When you make a screenshot of your program and put it on ticalc or whereever, using menu( looks bad.
I think, therefore iMac
Image
chickendude
Extreme Poster
Posts: 340
Joined: Fri 07 Jul, 2006 2:39 pm

Post by chickendude »

Although, unless the menu ist an integral part of the program, it may not be worth the extra memory to create your own menu.
gangsta
Sir Posts-A-Lot
Posts: 171
Joined: Wed 12 Oct, 2005 10:46 pm

Post by gangsta »

mod, edit topic name for [TI-BASIC] tag plz.

do u want graphical or not?
King Harold
Calc King
Posts: 1513
Joined: Sat 05 Aug, 2006 7:22 am

Post by King Harold »

did anyone notive that my nice looking menu is actually in BASIC with the help on xLIB's text-inverse? (although i have my own INVERSE program, im just lazy i guess)
Post Reply