  Transverse momentum spectra of direct (prompt) photons from two-body
processes in high-energy proton-proton (p+p) collisions are analyzed in this
paper. We collected the experimental invariant cross-sections at mid-rapidity
in p+p collisions measured by the UA6, CCOR, R806, R110, PHENIX, NA24, CMS,
ALICE, and ATLAS Collaborations over a center-of-mass energy range from 24.3
GeV to 13 TeV. In fitting the data, we used different kinds of functions which
include the revised Tsallis--Pareto-type function (the TP-like function) at the
particle level, the convolution of two TP-like functions at the quark level,
and the root-sum-of-squares of two revised Tsallis-like functions in which the
quark chemical potentials $\mu _i=\mu_B/3$ or $\mu_i=0$, where $\mu_B$ is the
baryon chemical potential. We have extracted the values of three main free
parameters: the effective temperature $T$, power index $n_0$ (or entropy index
$q$), and correction index $a_0$. After analyzing the changing trends of the
parameters, we found that $T$, $q$, and $a_0$ increase and $n_0$ decreases with
the increase of collision energy. Based on the analyses of transverse momentum
spectra, an energy independent scaling, i.e. the $x_T$ scaling, is obtained.
