could i get an example of how to use that?
where would i begin to set that up
ID:165890
![]() Oct 19 2006, 7:40 am
|
|
![]() Oct 19 2006, 7:43 am
|
|
uhh... what do you wana use it for...?
|
I believe you can set up pixel y or pixel x in any atom.Sorry, but I cant give you an example.
|
ok, then you can just make objects before hand for each extension on the mob
obj/BL and then edit the icon and add it to overlays mob/MultiMob that will make the mob double wide, however! the left side of the mob will not be dense |
ah ok.
you couldnt make it so that all mob/X types have that attribute? im mostly interested in height as opposed to width for instance something like mob/x and possibly having to do with the world command to set the pixel size. my other alternative is using multiple tiles but im not sure yet which i'd like to do. I know i'm going to use multiple tiles for some of the "boss" monsters in my game. |
Dsb520 wrote:
you couldnt make it so that all mob/X sure you could? youd just have to define some other variables to setup icons and such im mostly interested in height as opposed to width so then just change the pixel_x to pixel_y and it will do height... and! i didnt understand your example idea thing o.O |
lol sorry.
basically what i meant was there anyway to initialize all mobs of X type to have a y pixel of 32 for instance. no code needed i was just curious if it could be done. also i was wondering why did you make an OBJ and make the pixels wider? could you interchange that for a mob |
Dsb520 wrote:
lol sorry. with NO code at all? no, but with minimal code yes also i was wondering why did you make an OBJ and make the pixels wider? you could if you wanted |
ok thanks for the help much appreciated.
also by this no code needed i was just curious if it could be done. i just meant you didnt need to show me in code. words would be fine for an explanation |
mob Although its good to know that you dont HAVE to create an atom to add an overlay, even if you'd like it to have pixel offsets. Using the image command you can set all of the overlays properties, eg; mob/monster -Conj' |
The Conjuror: for one, that snippet won't work because you never created the top of the monster. Second, I'd recommend using images for this. (I think it's possible.)
mob That way, you won't have to create a whole new object just for a single overlay. |
The monster top is created in that code, what're talking about? And I had already suggested, directly below that snippet, a method for using image.
|
The Conjuror wrote:
The monster top is created in that code, what're talking about? And I had already suggested, directly below that snippet, a method for using image. ... Oh. :| Nevertheless, your code wouldn't work because <code>image()</code> doesn't take <code>pixel_y</code> as an argument like that. Methinks. :\ |