Adding a button bank?

  • RahjIII
  • RahjIII's Avatar Topic Author
  • Offline
  • New Member
More
08 Feb 2016 17:35 #1 by RahjIII
Adding a button bank? was created by RahjIII
Plamzi-

I want to add a movement widget in the app, but I'm having trouble figuring out how to start. Functionally, I want a little window with N S E W U D buttons in it where the buttons send the commands "north\n" "south\n" etc. through the client when they are hit. Does that code already exist?

Think you could maybe do a tutorial that shows how to add just a single button into an instance of the portal app that sends an arbitrary command through the client?

The Last Outpost
last-outpost.com:23

Please Log in or Create an account to join the conversation.

More
11 Feb 2016 01:37 #2 by plamzi
Replied by plamzi on topic Adding a button bank?
I know this can be done fairly easily using server-side MXP frames, but it shouldn't take much code to do it in JS on top of the "Window" module. Maybe I can roll out a pretty module for this that has two possible layouts, one with six directions and one with ten. Most MUDs fall into one of these two categories.

I'll keep you posted.

Please Log in or Create an account to join the conversation.