I can't get the arrow in my game menu to work. Can anyone tell me how to go about this? I'd rather not post my code here, but can anyone tell me how to do it correctly? And if anyone doesn't understand this, I'm talking about an arrow like in the FF series, when you open up the menu, you got the arrow next to the category you want to go into, etc.
ID:262704
Oct 25 2005, 2:26 pm
|
|
Oct 25 2005, 3:05 pm
|
|
im not sure if you can do that in byond code or not thats what statpanels are for
|
In response to National Guardsmen
|
|
You can but sorry I'm not so sure how you can do it.
|
You need to tell us how you are currently trying to do arrows. Otherwise, we don't know how you could do it, since we can't adapt a concept to your current one. Either post your programming, or tell us your concept on how you currently do the game menus.
A way to do it is to create a datum which controls the arrow, and keeps track of the item selections, and what they do. ~~> Dragon Lord |
In response to Mecha Destroyer JD
|
|
Okay, I'm following Rakwon's example in his "Raekwon Random Combat" demo.
|
In response to Game Sage
|
|
Game Sage wrote:
Okay, I'm following Rakwon's example in his "Raekwon Random Combat" demo. My god, don't use that demo. It has terrible programming practices, and will only end up being a pain in the ass to create new screen objects. Sure it might work, but when you start to learn what it does, you will realise there are way better ways to do it, and the way which that specific demo shows it is terrible. As I said before, one good way to display input boxes on the screen which can be used over again in different situations is by creating a datum specific to it. The inputbox datum could hold a list of what boxes would be drawn on the screen. The datum would have the drawing functions, and would draw as many tiles to how many elements to the list it is told to do. Here is a small basic empty example you could build off of: proc And to create the input box, we do something like this.. mob/verb This snippet just serves as an example on how you can expand an input box on the screen to your use. This will hopefully point you to the right direction. If you are unfamiliar with datums, then you need to learn them! ~~> Dragon Lord |