Hey man.
my best advice to you is to stop putting the p.u.s.s.y. on the pedestal. Know that it is in the human nature to "want what we cannot have" (remember this forever). Do you know why your crush grew when she started dating someone else? its because she wasnt single, you couldnt have her, and it made you want to have her even more! (i'm a pysch major).
but the best way to get her is to approach her. you can never get her without making moves. and theres so much advice i can give but i'd end up writing a book..
edit: ahh eff it imma do my best to keep it short!
like i said dont put the p word on the pedestal. what does that mean? it means that dont treat her like royalty. biggest mistake most guys make is being TOO Nice and TOO Sweet and TOO Gentlemen like. i was one of those guys. actually i still kinda am but i had to switch my game up a lil cuz it doesnt work being Mr Nice Guy. Nice guys finish last man.
Be nice, sweet, gentleman and sensitive BUT also be mean, funny, and ask questions! be nice and sweet but mean and jokitive at the same time. example: guy-"Wow you have a great and beautiful smile" girl smiles and says cheesingly "aww thank youuuuu" guy- "yea ok its not that big of a deal. you can stop smiling now. lol" most important part is laughing after saying something a little mean cuz you want her to know that your joking. but i know it may sound wierd but being sweet and mean is the way to go. theres a whole pyschology thing to it and too much for me to even explain but it works if done right. i've used it not knowing and when looking into "picking up" tactics and stuff (lol your not the only one who looked for help) i learned alot. google "neg hit theory"
also you gotta be funny man. the majority of all women in the world wants a guy to be funny. somebody once said "if you can make a girl laugh and you can make her do anything".
and when talking to a girl me personally i found the best thing to do in a conversation is to justask questions. like in the 40 Year Old Virgin movie lol.. that ish works. ask her how is she? hows her day? whats her hobbies? etc etc. maybe here and there you'll need to contribute and talk about yourself so you can relate and create a common interest between ya but most of the times all you need to do is ask questions and females just talk away. and after they talk and talk and talk they thikn to themselves "wow i can tell this guy anything" or "wow he really understands me" or whatever.
but yea i hope i helped or whatever. i learned alot about talking to girls from trial and error though. you have to just eventually just man up and make efforts to talk to her. i'm assuming and hoping she even knows you exist and knows your name (since you crush for 3 years). but even not its whatever just first find something you guys have in common (class, hobby, homework, hate school food, hate a certain person, hate a teacher, like a teacher, tv, music, etc) and branch off from that..
i still feel like theres more i can say but trying to keep it short. hope i made sense but if you still having issues freaking google this thing man. "pick up artists"
and also Confidence is the most important factor. google that too i guess.