Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
jjloraine
Novice


Joined: 10 Jul 2006
Posts: 30

PostPosted: Tue Jul 08, 2014 5:14 pm   

Image Mapping?
 
Is there a way to easily parcel up an image (like on a button or in a window) into coordinates that can be interacted with? Ie, the nw corner will do one thing when clicked on, and the se corner will do something else.

I know you can do this by physically dividing the image up and making buttons for each piece, but that is really tedious - just checking to see if there's a cleaner, quicker way before I dive in.
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Tue Jul 08, 2014 6:15 pm   
 
If it's in a button, not that I know of. In a window, you can use MXP links (<send> tags), though I'm not sure if they could be overlayed on an image.
Reply with quote
jjloraine
Novice


Joined: 10 Jul 2006
Posts: 30

PostPosted: Tue Jul 08, 2014 6:29 pm   
 
Hmm. With spacing that sounds feasible (and a lot less work than cutting the image up) - is there a way to set an image as a background to a window?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Tue Jul 08, 2014 11:24 pm   
 
Nope, CMud only does inline images. This basically means one image = one font character, with the line the image gets printed on being height-adjusted to allow the image to fit on that line. You might be able to work around this fact using the DEST tag to tell cmud where to place the text.
_________________
EDIT: I didn't like my old signature
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net