Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Simple RPG Menu

Author
Message
Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 19th Oct 2003 23:50
After talking with smokie mcpot I decided to make the outline of a working rpg menu. It uses just the text, line and box commands, no sprites, although you could if you wanted. It allows you to switch menus and see different items. If you press on an item it disappears. Obviously it would need to be developed far more for an actual RPG, but this demonstrates how to start it.

Its made for DBC, but should work in pro.



Brains are for idiots.

Athelon XP 1400 Plus - Nvidia Geforce MX400 - 256mb RAM
Codger
21
Years of Service
User Offline
Joined: 23rd Nov 2002
Location:
Posted: 22nd Oct 2003 08:07
Nice Clean approach for static menu items

System
PIII 650 MZ H.P. Pavillion
394 Mem GeForce 4 400MX
Squirrel
20
Years of Service
User Offline
Joined: 9th Nov 2003
Location: Jacksonville, Florida
Posted: 10th Nov 2003 05:12
I like it.

Suggestion for a v2: Toggle support. With this system (which is indeed very clean), you have a weapons list (although it's just another array with different names) that uses the same click & decrease function. Why not have a toggle feature?

I understand that's pointless (it's only an invintory without a statistical output) and could (in fact) be made to create a new array item when a quantity is altered (Blade of Destruction is removed and Equipped Blade of Destruction is added to the array when unequipped version is clicked and vise versa) and whatnot, but for now, I do in fact like this system for a specific area of a game I'm currently putting down in paper.

Good work.

And were it not for the newbie, all you veterans would seem as new as they do.
JNC
20
Years of Service
User Offline
Joined: 29th Nov 2003
Location:
Posted: 30th Nov 2003 10:28
Yes! Very Good!

-- do not seek the footsetps of the wiseman
-- seek what he sought
Jaze
20
Years of Service
User Offline
Joined: 20th Nov 2003
Location: Connecticut, USA
Posted: 5th Dec 2003 22:10
Nice

-=/Jaze/=-
zao420
20
Years of Service
User Offline
Joined: 5th Aug 2003
Location: Canada
Posted: 10th Dec 2003 09:34
yea this is a nice menu i am doing my Item menu kinda like this one. but it keybaord controld and doesn't use those data statements. and there is only menu

John H
Retired Moderator
21
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 27th Dec 2003 00:09
This is just code, people can add their own eye candy


Dont forget to Join the Forums!
Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 31st Dec 2003 01:56
Yeah, this is just the basis for a menu, you have to make version 2 .

Do you bite your thumb at me sir?

Athelon XP 1600 Plus - Nvidia Geforce MX400 - 256mb RAM

Login to post a reply

Server time is: 2024-05-03 20:36:31
Your offset time is: 2024-05-03 20:36:31