How to detect a clickable area (coloured grey in this instance) inside an image sprite (back color is black)
on mouseleave me
cursor 0
end
on mouseenter me
thename= sprite(me.spritenum).member.name
theimage=member(thename).image
end
on mousewithin me
thename=sprite(me.spritenum).member.name
pointinmember= sprite(me.spritenum).mapstagetomember(_mouse.mouseloc)
theimage=member(thename).image
thepix=theimage.getpixel(pointinmember)
if thepix=color( 128, 128, 128 ) then
cursor 3
else
cursor 0
end if
end
—-get window rect
—extract size
—set sprite size
—set sprite position
end
on zoomwindow
thewin=_movie.name
sprite(1).rect=window(thewin).rect
hideicons
sprite(1).top=0
updatestage
sprite(1).left=0
updatestage
end
Phew glad that’s over and done with.
Now to figure out why i hae to multiply by two to get the proper result when values are fine as they are … :/
Edit:
Ok i was stupid… You have to multiply by 2 IF and ONLY IF the regpoint of the video sprite is in the middle instead of 0,0 (sometimes things make too much sense to be able to understand them :p)
“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.”
This is a repost of a guide I wrote a while ago on a private forum on how to troll n stuff
This one was written for a specific forum about the best mmorpg out there Anarchy online, but the general rules and methods of trolling are the same in any forum.
Read and learn
1.1 Introduction
Well i ve looked here and there and i still cant find a guide for one of the most fun and rewarding activities that this game presents us with:
Trolling the AO forums. Its fora you life noob itz latin omg go back 2 [insert random 3rd world country] you [insert random number from 3 to 12] year old [insert random drug] addict.<— oldskool trolling
Notice the complete lack of punctuation. This is a sign of some1 who is knows that his audience will understand the point he is trying to make regardless of any speelllliiinng mistakes or errors. A group of well educated adults who decide to discuss serious matters on game related website. 1.2 Tools of the trade 1.2.1 Your brain
The most important tool you have to use is of course you superrior intelect. Dont be discouraged by others who try to stop you or dissagree with you:
a) its a sign of weakness
b) they re just doing it to get some of the attention they crave.
c) they are trying to sound important to hide the fact that indeed they are a 12 year old crack addict. 1.2.2 The translator
It is a well documented fact that you will have to “Sink to their level” in order to make your point heard.
Dont allienate yourself from your readers by using any words that can be complex and try to insert random spelling mistakes every now and then in order to make them feel you are one of them.
A very usefull tool can be found HERE!!!!
It looks like an easy tool to get started with but it can be really hard to MASTER
This previous fine example … might seem like some1 who does not have basic knowledge of the english language right ? Or DOES HE 0.o ? 1.2.3 The Moderators
Moderators are naturally your worst enemy. They delete posts because they cant realise the greatness of your work in its entirety. They are narrow minded 97 year old ladies who are pissed off because their favourite soap opera was cancelled and are taking it out on you by messing with your lifes work.
But … they can also be your friends
Learn their schedule. Learn what ticks them off and what they might just let go. If you know their schedule then the rest is easy Write whatever you like as if they were never gonna look at it. Go back and edit when they are doing their runs and change your post to something harmless, after they are done deleting / banning ppl for flaming your initial post go back and restore it to its original greatness. The mods wont go back to look at it again, you ve got a few ppl a warning or even better a ban and your post is back in its original state and ready for the history books for future generations. 1.2.4 Less is more
You dont need to write very long wall of text posts to please your fanbase. That is for the ones who arent even close to your level of intelectual accomplishment. Sometimes a single word is more than ENOUGH
(No offense to poor digi who has been trolled soooo much for posting 1 suggestion every 13.6 minutes)
words that can be used :
QFT, LOL, ROFL, L2P, L2R, N00B, ZOMG, WTF etc etc (First!, Ibtl and IBD are also usefull in some cases)
it is important to learn how to use these abbreviations and even more important when to use them.
Also helps if you make your own ABRVs2hlpPplzUndstndwtfUonAbt.
Mad props to deniska who managed to get a ban simply by using the words “I object!”.
Ah yes and remember be proud of your bans and infractions.
It means that there is someone out there who can appreciate your work. Think of them as rewards for your efforts.
1.2.5 Other trolls
Sometimes you dont even have to do your own trolling. Start a thread and your fellow trolls will jump to your assistance. When visiting the forums you can easilly spot your fellow trolls. Learn their names. Take a look and evaluate their work. Find which trolls fit your style and congratulate them for their skills by helping them when they start a flame war or smth.
How to comunicate with your fellow trolls ?
Only way trolls communicate with each other is by using thread titles as a pm service!!!
Dont send in game tells, dont send forum pms dont send emails or anything else because that would make you look like a lesser troll and your pms would be ignored.
An easy way to recognise your fellow trolls if you lack patience is to start a thread named
“Lets discuss moderation”
and in the body of the message write :
“I like it.”
This will get the attention of your fellow trolls who will jump in and state their opinnions
this section looks complete so i will continue with the techniques and mechanics of advanced trolling.
Will continue this guide when i am bored at work again and aorc wont let me log
Have fun and use the source wisely