I wonder if anyone here has released code for menu tree to be displayed on lcd where user can navigate through menus, submenues, choose settings and toggle selections...etc
If not, please let me know. I think this is something that I can do and I may invest a few hours to write it and release code here.
Menu tree programming?
- Basicboy
- Posts: 178
- Joined: Sat Jul 20, 2024 11:42 am
- Location: Australia
- Has thanked: 56 times
- Been thanked: 13 times
Re: Menu tree programming?
Further to this, is there a way to "store" basic commands as data and then execute them?
I understand my request is vague so I'll clarify:
Imagine we're building a menu for a game settings and a submenu is for "lives"
It will look like so:
Lives:
3
5
7
I want to store all these lines as data outside of the menu engine to offer maximum versatility, furthermore, I want to store the commands as data. Ie:
Choice$(1) = "3"
Choice$(2) = "5"
Choice$(3) = "7"
I also want to store the commands as data, but is that possible?
Ie
Todoif(1) = "lives = 3"
Then do something like
Execute(todoif(1))
Which will do exactly like
Lives = 3
I have used assembly and this can certainly be done in it, but I don't think you can do this in basic. Still, i thought I'd check with you because if possible it will make writing a menu engine very simple. Thanks
I understand my request is vague so I'll clarify:
Imagine we're building a menu for a game settings and a submenu is for "lives"
It will look like so:
Lives:
3
5
7
I want to store all these lines as data outside of the menu engine to offer maximum versatility, furthermore, I want to store the commands as data. Ie:
Choice$(1) = "3"
Choice$(2) = "5"
Choice$(3) = "7"
I also want to store the commands as data, but is that possible?
Ie
Todoif(1) = "lives = 3"
Then do something like
Execute(todoif(1))
Which will do exactly like
Lives = 3
I have used assembly and this can certainly be done in it, but I don't think you can do this in basic. Still, i thought I'd check with you because if possible it will make writing a menu engine very simple. Thanks
I love this community!
- PeterN
- Posts: 641
- Joined: Mon Feb 08, 2021 7:56 pm
- Location: Krefeld, Germany
- Has thanked: 296 times
- Been thanked: 357 times
- Contact:
Re: Menu tree programming?
Hi Basicboy
take a look at [Local Link Removed for Guests]
(didn‘t you look for an incubator? : [Local Link Removed for Guests] )
take a look at [Local Link Removed for Guests]
(didn‘t you look for an incubator? : [Local Link Removed for Guests] )
- Electroguard
- Posts: 1094
- Joined: Mon Feb 08, 2021 6:22 pm
- Has thanked: 373 times
- Been thanked: 392 times
Re: Menu tree programming?
Some demo FileMenu vids I posted on my wifes facebook account years ago to show CiccioCB:
https://www.youtube.com/watch?v=dwKjchoWgNo&t=205s
https://www.youtube.com/watch?v=oqbjm8rpYTE&t=21s
https://www.youtube.com/watch?v=Xhs_SIKzYpk
https://www.youtube.com/watch?v=9XvaGZU3MkY&t=11s
An OLED Menu Project I posted on the old website:
https://www.myrapidq.it/annex_mirror/el ... -menu.html
Edit: and a couple of accompanying vides...
https://www.youtube.com/watch?v=8jXunDKTT-Q
https://www.youtube.com/watch?v=hanpyxhFnSY&t=53s
https://www.youtube.com/watch?v=dwKjchoWgNo&t=205s
https://www.youtube.com/watch?v=oqbjm8rpYTE&t=21s
https://www.youtube.com/watch?v=Xhs_SIKzYpk
https://www.youtube.com/watch?v=9XvaGZU3MkY&t=11s
An OLED Menu Project I posted on the old website:
https://www.myrapidq.it/annex_mirror/el ... -menu.html
Edit: and a couple of accompanying vides...
https://www.youtube.com/watch?v=8jXunDKTT-Q
https://www.youtube.com/watch?v=hanpyxhFnSY&t=53s
- Starraker
- Posts: 29
- Joined: Tue Sep 03, 2024 1:53 am
- Location: Canberra Australia
- Been thanked: 7 times
- Contact:
Re: Menu tree programming?
Basic Boy,
I am currently in the process of doing this with a TFT on a ESP32-3248S035C with voice over pictorial backgrounds and icon presentation for the selections but have run into a few glitches but hopefully I am not far away. The hardware is also offering some challenges but I have just about solved all of those now - just a pull up resistor here and there and few more wires. When I finish I plan to publish the project.
How is yours going?
I also love this community and language
I am currently in the process of doing this with a TFT on a ESP32-3248S035C with voice over pictorial backgrounds and icon presentation for the selections but have run into a few glitches but hopefully I am not far away. The hardware is also offering some challenges but I have just about solved all of those now - just a pull up resistor here and there and few more wires. When I finish I plan to publish the project.
How is yours going?
I also love this community and language