Quick Question about Mall banners

15 posts / 0 new
Last post
davymuncher
davymuncher's picture
Offline
Last seen: 9 months 4 days ago
Joined: 10/08/2009 - 10:41pm
Quick Question about Mall banners
I was looking though the graphics, and I noticed that on the coding in the mall banners the coords had 4 points, and I'm just curious, which ones are on the X axis and Y axis? In the "coords="19, 78, 196, 163" does it means that this button is 19 by 78 (Pixels?) wide and 196 by 163 High? or how does that work? Thanks!
heartlessness_
heartlessness_'s picture
Offline
Last seen: 13 years 4 months ago
Joined: 13/06/2009 - 10:10am
I do believe it means that the top left corner of the area you want clicked is 19 pixels from the left side of the image and 78 from the top. And the second pair of numbers is how far from the left/top the bottom right corner of the area you want clicked is. Correct me if I'm wrong.
davymuncher
davymuncher's picture
Offline
Last seen: 9 months 4 days ago
Joined: 10/08/2009 - 10:41pm
Ahhh, that would make sense. So the 2 corners of a box.
[color=Gray]Good Idea: Feeding stray kittens in the park. Bad Idea: Feeding stray kittens in the park... to a bear.[/color]
heartlessness_
heartlessness_'s picture
Offline
Last seen: 13 years 4 months ago
Joined: 13/06/2009 - 10:10am
Yep. Although I believe there is one mall that has round buttons in which it's coded so that the clickable area is round also (Unknown Utopia) and 1434sweet used to have a NB ad with triangular buttons. I'm not sure how this is done though.
raine_storme
raine_storme's picture
Offline
Last seen: 8 years 7 months ago
Joined: 27/03/2009 - 2:36pm
[center] You can code banners specifically with circles and another shape or two for the clickable part (I saw a petpage on how to do that once). However, Unknown Utopia actually has circular banners, with square coding... The first time I coded it, I had no clue circles were possible, and after I knew, I was far too lazy to fix something that wasn't broken. :O So if you click in a corner outside of a circle, you'll still get to the shop. :O ------------------------------------------------------------------- [url=http://www.neopets.com/browseshop.phtml?owner=raine_storme&misc]~~ Come visit my map shop ~~[/url] [/center]
[center] ------------------------------------------------------------------- [url=http://www.neopets.com/browseshop.phtml?owner=raine_storme&misc]~~ Come visit my map shop ~~[/url] [/center]
heartlessness_
heartlessness_'s picture
Offline
Last seen: 13 years 4 months ago
Joined: 13/06/2009 - 10:10am
Really? I could have sworn they clickable part was round on you all's banner lol.
raine_storme
raine_storme's picture
Offline
Last seen: 8 years 7 months ago
Joined: 27/03/2009 - 2:36pm
[center] Lol, nope. The squares are pretty tight, but squares nonetheless. :) ------------------------------------------------------------------- [url=http://www.neopets.com/browseshop.phtml?owner=raine_storme&misc]~~ Come visit my map shop ~~[/url] [/center]
[center] ------------------------------------------------------------------- [url=http://www.neopets.com/browseshop.phtml?owner=raine_storme&misc]~~ Come visit my map shop ~~[/url] [/center]
davymuncher
davymuncher's picture
Offline
Last seen: 9 months 4 days ago
Joined: 10/08/2009 - 10:41pm
[quote=raine_storme][center] You can code banners specifically with circles and another shape or two for the clickable part (I saw a petpage on how to do that once). However, Unknown Utopia actually has circular banners, with square coding... The first time I coded it, I had no clue circles were possible, and after I knew, I was far too lazy to fix something that wasn't broken. :O So if you click in a corner outside of a circle, you'll still get to the shop. :O ------------------------------------------------------------------- [url=http://www.neopets.com/browseshop.phtml?owner=raine_storme&misc]~~ Come visit my map shop ~~[/url] [/center][/quote] Lol when I read what she had wrote, I was thinking you had done something like this *lol* (It's what I would have done)
[color=Gray]Good Idea: Feeding stray kittens in the park. Bad Idea: Feeding stray kittens in the park... to a bear.[/color]
davymuncher
davymuncher's picture
Offline
Last seen: 9 months 4 days ago
Joined: 10/08/2009 - 10:41pm
Does the circle coding really make a circle (Or as close as pixles can get) or is it a simpler shape like Hexagon or Octagon? They're pretty circular and I would guess that they'd be easier to do than the infinite sided shape.
[color=Gray]Good Idea: Feeding stray kittens in the park. Bad Idea: Feeding stray kittens in the park... to a bear.[/color]
_jaspeh_
_jaspeh_'s picture
Offline
Last seen: 10 years 8 months ago
Joined: 21/09/2007 - 8:27pm
the circles are indeed circular :P
[hr][size=11]Training, Luck & Medicine! ^_^ www.neopets.com/browseshop.phtml?owner=_jaspeh_&misc#c [/size]
heartlessness_
heartlessness_'s picture
Offline
Last seen: 13 years 4 months ago
Joined: 13/06/2009 - 10:10am
I would imagine with the circles that you put a point in the very center of where you want clicked and then somehow figure up the radius. IDK but that seems like the way it would go. If you ever find that petpage again would you mind sharing it? I'd love to know how to do that!

Pages