Game Development Reference
In-Depth Information
[rt9,7
[ru9)-,7
++Oappda^qhhap#oop]nplkoepekjpk^apda
++o]ia]opdasa]lkj#o
t9Ikrea?hel$l]najp%*sa]lkj*t7
u9Ikrea?hel$l]najp%*sa]lkj*u7
]``ArajpHeopajan$Arajp*AJPAN[BN=IA(kjAjpanBn]ia%7
]``ArajpHeopajan$Arajp*NAIKRA@[BNKI[OP=CA(kjNaikra`BnkiOp]ca%7
y
lner]pabqj_pekjkjNaikra`BnkiOp]ca$arajp6Arajp%6rke`
w
naikraArajpHeopajan$Arajp*AJPAN[BN=IA(kjAjpanBn]ia%7
naikraArajpHeopajan$Arajp*=@@A@[PK[OP=CA(kj=``a`PkOp]ca%7
naikraArajpHeopajan$Arajp*NAIKRA@[BNKI[OP=CA( ±
kjNaikra`BnkiOp]ca%7
y
lner]pabqj_pekjkjAjpanBn]ia$arajp6Arajp%6rke`
w
nkp]pekj'9.,7
++Ikrapda^qhhap
t'9[rt7
u'9[ru7
++oaj`@qjcakjKja[I]j]can#o_da_g?khheoekjSepdAjaieao
++iapdk`]nabanaj_akbpdeok^fa_ppk_da_g
++bkn_khheoekjosepdpdaajaieao
Ikrea?hel$l]najp%*_da_g?khheoekjSepdAjaieao$pdeo%7
++Naikrapda^qhhapebepikrao
++^aukj`pdapklkbpdaop]ca
eb$u'daecdp+.8,%
w
l]najp*naikra?deh`$pdeo%7
y
y
y
y
When a new bullet is added to the stage, it is assigned a start position that is the same as the weapon's
position:
t9Ikrea?hel$l]najp%*sa]lkj*t7
u9Ikrea?hel$l]najp%*sa]lkj*u7
sa]lkj is in `qjcakjKja, which is the bullet's l]najp. You can refer to `qjcakjKja from the >qhhap
class like this:
Ikrea?hel$l]najp%
 
Search Nedrilad ::




Custom Search