Lesbian, gay, bisexual, and transgender (LGBT) characters have been depicted in video games since the 1980s. In the history of video games, LGBT characters have been almost inexistent for a long time, reflecting the overall heteronormativity of the medium. While there has been a trend towards greater representation of LGBT people in video games, they are frequently identified as LGBT in secondary material, such as comics, rather than in the games themselves.
A number of recurring tropes, themes and archetypes have developed in the gaming industry in regard to LGBTQ+ identity. These are similar to how other forms of popular culture, such as Hollywood films and TV shows, dealt with LGBTQ+ sexuality.
A common method of introducing LGBT characters is to reveal their sexual orientation through gender inversion. A male character's homosexuality is often indicated by making him a sissy character with effeminate or flamboyant mannerisms, dress, and speech. The underlying assumption is that homosexuals are also frequently transgender and, therefore, possess mannerisms stereotypical of the opposite sex. This technique has been widely used in Hollywood movies (to circumvent the Production Code's ban on "sexual perversion"), as well as in Vaudeville. Although mainly used in video games for its comedic value, gender confusion has also been used as a tool to offer social commentary about sexism or homophobia. The censorship codes of Nintendo and Sega limited the usage of gender inversion to exclusion of cross-dressing until 1994.