lua-Powered Menus, and a Real Name
999
0
Advertisement
I just got my lua-based menu system working. I'm so happy. It's super bare-bones right now--I've stripped out everything except 1UP and EXIT options. But they work. Now it's just a matter of fleshing out the submenus and writing the code to determine which menu item is selected when the player hits enter. And code to swap out menus when needed, since there are more submenus than sides of a cube.
Also, I think I'm going to call the game PAC-HEDRON. (All letters are capitals in the game. It's part of the retro thingy.) Unimaginative, I know, but it gets the point across. And it's better than YCKX.
Once I get the menu system fully rebuilt, I think I'll start reworking the maze to be lua-based. That will be more structured than the current hackish load function I have for a quick-n-dirty ascii art maze file format.
And since I mentioned it, here's the current maze definition file:
It's as funny as it is sad.
Also, I think I'm going to call the game PAC-HEDRON. (All letters are capitals in the game. It's part of the retro thingy.) Unimaginative, I know, but it gets the point across. And it's better than YCKX.
Once I get the menu system fully rebuilt, I think I'll start reworking the maze to be lua-based. That will be more structured than the current hackish load function I have for a quick-n-dirty ascii art maze file format.
And since I mentioned it, here's the current maze definition file:
mazewidth
31
mazedefinition
..............A.A..............
.F-----------7I.IF-----------7.
.IoooooooooooII.IIoooooooooooI.
.IOF--7oF--7oII.IIoF--7oF--7OI.
.IoI..IoI..IoII.IIoI..IoI..IoI.
.IoL--JoL--JoLJ.LJoL--JoL--JoI.
.IoooooooooooooooooooooooooooI.
.IoF--7oF-7oF-----7oF-7oF--7oI.
.IoI..IoI.IoL-7.F-JoI.IoI..IoI.
.IoI..IoI.IoooI.IoooI.IoI..IoI.
.IoL--JoI.L-7.I.I.F-J.IoL--JoI.
.IooooooI.F-J.L-J.L-7.IooooooI.
.L----7oI.I.........I.IoF----J.
......IoI.I.F--=--7.I.IoI......
<-----JoL-J.I.....I.L-JoL----->
.......o....L-----J....o.......
<-----7oF-7.........F-7oF----->
......IoI.I.F-----7.I.IoI......
.F----JoL-J.L-7.F-J.L-JoL----7.
.IooooooooooooI.IooooooooooooI.
.IoF--7oF---7oI.IoF---7oF--7oI.
.IoL-7IoL---JoL-JoL---JoIF-JoI.
.IOooIIooooooooCooooooooIIooOI.
.L-7oIIoF-7oF-----7oF-7oIIoF-J.
.F-JoLJoI.IoL-7.F-JoI.IoLJoL-7.
.IooooooI.IoooI.IoooI.IooooooI.
.IoF----J.L-7oI.IoF-J.L----7oI.
.IoL--------JoL-JoL--------JoI.
.IoooooooooooooooooooooooooooI.
.L------------7.F------------J.
..............V.V..............
It's as funny as it is sad.
Advertisement
Advertisement
Advertisement
Discussion